OptionalbuiltOptionalbuiltAllow inference to be interrupted with esc. Only has an effect in TTY mode.
OptionalcommandsContent Provider. Provider used to fetch content (usually diff) for review or pr command.
OptionalcontentOptionalcustomOptionaldebugLog messages and events to gaunt-sloth.log,
use llm.verbose or gth --verbose as more intrusive option, setting verbose to LangChain / LangGraph
OptionalhooksHooks are only available on JS config
OptionalafterAgentInit?: RunnerHook | RunnerHook[]After agent init.
OptionalbeforeAgentInit?: RunnerHook | RunnerHook[]OptionalbeforeProcessMessages?: BeforeMessageHook | BeforeMessageHook[]OptionalcreateAgent?: (config: GthConfig) => Promise<GthAgentInterface>OptionalcreateRunnableConfig?: (config: GthConfig) => Promise<RunnableConfig<Record<string, any>>>OptionalpostModelHook?: LangChainHookLangGraph postModelHook Provide 'skip' if you don't need default hook.
OptionalpreModelHook?: LangChainHookLangGraph preModelHook Provide 'skip' if you don't need default hook.
LangChain v1 replaces hooks with middleware. Hooks will be removed in Gaunt Sloth v1.0.0.
preModelHook → Will be replaced with middleware pattern with beforeModel method in v1.0.0postModelHook → Will be replaced with middleware pattern with afterModel method in v1.0.0
See LangChain migration guide: https://docs.langchain.com/oss/javascript/migrate/langchain-v1
The 0.9.x release line will continue to support hooks for backward compatibility.OptionalidentitySeparate identity profile.
May include separate identity, guidelines and command protocol,
making gsloth behave as an agent different from default profile behaviour.
for example, devops profile to detect changes such as properties and environment variables.
Custom config can still win over this one.
This setting requires .gsloth/.gsloth-settings directory to exist.
Whether to include the current date in the project review instructions or not.
OptionalmcpOptionalmodelOptionalorganizationOrganisation name, locale and timezone. Only used with includeCurrentDateAfterGuidelines. timeZone and locale should be in format supported by Intl.DateTimeFormat
Path to project-specific guidelines.
The default is .gsloth.guidelines.md; this config may be used to point Gaunt Sloth to a different file,
for example, to AGENTS.md
OptionalrequirementsStream output. Some models do not support streaming. Set value to false for them.
Stream session log instead of writing it when inference streaming is complete. (only works when streamOutput is true)
OptionaltoolsUse colour in output
Should the output be written to md file.
(e.g. gth_2025-07-26_22-59-06_REVIEW.md).
Can be set to false with -wn or -w0
Can be set to a specific filename or path by passing a string (e.g. -w review.md)
Please note the string does not accept absolute path, but allows to exit project with .. if necessary.
This is a processed Gaunt Sloth config ready to be passed down into components.
Default values can be found in DEFAULT_CONFIG