canInterruptInferenceWithEsc
canInterruptInferenceWithEsc: boolean
Optional
commands
commands?: { ask?: { builtInTools?: string[]; filesystem?: string[] | "read" | "all" | "none"; }; chat?: { builtInTools?: string[]; filesystem?: string[] | "read" | "all" | "none"; }; code?: { builtInTools?: string[]; devTools?: GthDevToolsConfig; filesystem?: string[] | "read" | "all" | "none"; }; pr?: { builtInTools?: string[]; contentProvider?: string; filesystem?: string[] | "read" | "all" | "none"; logWorkForReviewInSeconds?: number; requirementsProvider?: string; }; review?: { builtInTools?: string[]; contentProvider?: string; filesystem?: string[] | "read" | "all" | "none"; requirementsProvider?: string; };} contentProvider
contentProvider: string
Optional
contentProviderConfig
contentProviderConfig?: Record<string, unknown>
Optional
debugLog
debugLog?: boolean
filesystem
filesystem: string[] | "read" | "all" | "none"
Optional
hooks
hooks?: { afterAgentInit?: RunnerHook | RunnerHook[]; beforeAgentInit?: RunnerHook | RunnerHook[]; beforeProcessMessages?: BeforeMessageHook | BeforeMessageHook[]; createAgent?: (config: GthConfig) => Promise<GthAgentInterface>; createRunnableConfig?: ( config: GthConfig, ) => Promise<RunnableConfig<Record<string, any>>>; postModelHook?: LangChainHook; preModelHook?: LangChainHook;} Type declaration
Optional
afterAgentInit?: RunnerHook | RunnerHook[]
Optional
beforeAgentInit?: RunnerHook | RunnerHook[]
Optional
beforeProcessMessages?: BeforeMessageHook | BeforeMessageHook[]
Optional
createRunnableConfig?: (config: GthConfig) => Promise<RunnableConfig<Record<string, any>>>
Optional
postModelHook?: LangChainHook
Optional
preModelHook?: LangChainHook
Optional
mcpServers
mcpServers?: Record<
string,
| {
args: string[];
command: string;
cwd?: string;
encoding?: string;
env?: Record<string, string>;
restart?: { delayMs?: number; enabled?: boolean; maxAttempts?: number };
stderr?: "pipe" | "overlapped" | "inherit" | "ignore";
transport?: "stdio";
type?: "stdio";
} & {
defaultToolTimeout?: number;
outputHandling?: | "content"
| "artifact"
| {
audio?: "content"
| "artifact";
image?: "content" | "artifact";
resource?: "content" | "artifact";
text?: "content" | "artifact";
};
}
| {
authProvider?: OAuthClientProvider;
automaticSSEFallback?: boolean;
headers?: Record<string, string>;
reconnect?: { delayMs?: number; enabled?: boolean; maxAttempts?: number };
transport?: "http" | "sse";
type?: "http" | "sse";
url: string;
} & {
defaultToolTimeout?: number;
outputHandling?: | "content"
| "artifact"
| {
audio?: "content"
| "artifact";
image?: "content" | "artifact";
resource?: "content" | "artifact";
text?: "content" | "artifact";
};
},
>
Optional
postModelHook
postModelHook?: LangChainHook | "skip"
Optional
preModelHook
preModelHook?: LangChainHook | "skip"
projectGuidelines
projectGuidelines: string
projectReviewInstructions
projectReviewInstructions: string
requirementsProvider
requirementsProvider: string
Optional
requirementsProviderConfig
requirementsProviderConfig?: Record<string, unknown>
streamOutput
streamOutput: boolean
streamSessionInferenceLog
streamSessionInferenceLog: boolean
tools?: | StructuredToolInterface<ToolInputSchemaBase, any, any>[] | BaseToolkit[] | ServerTool[] useColour
useColour: boolean
writeOutputToFile
writeOutputToFile: boolean
Raw, unprocessed Gaunt Sloth config.