Optional
builtOptional
builtAllow inference to be interrupted with esc. Only has an effect in TTY mode.
Optional
commandsContent Provider. Provider used to fetch content (usually diff) for review
or pr
command.
Optional
contentOptional
customOptional
debugLog messages and events to gaunt-sloth.log,
use llm.verbose or gth --verbose
as more intrusive option, setting verbose to LangChain / LangGraph
Optional
hooksHooks are only available on JS config
Optional
afterAgentInit?: RunnerHook | RunnerHook[]After agent init.
Optional
beforeAgentInit?: RunnerHook | RunnerHook[]Optional
beforeProcessMessages?: BeforeMessageHook | BeforeMessageHook[]Optional
createAgent?: (config: GthConfig) => Promise<GthAgentInterface>Optional
createRunnableConfig?: (config: GthConfig) => Promise<RunnableConfig<Record<string, any>>>Optional
postModelHook?: LangChainHookLangGraph postModelHook Provide 'skip' if you don't need default hook.
Optional
preModelHook?: LangChainHookLangGraph preModelHook Provide 'skip' if you don't need default hook.
Optional
identitySeparate 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.
Optional
mcpOptional
modelOptional
organizationOrganisation name, locale and timezone. Only used with includeCurrentDateAfterGuidelines. timeZone and locale should be in format supported by Intl.DateTimeFormat
Optional
postOptional
prePath 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
Optional
requirementsStream 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)
Optional
toolsUse 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.
Raw, unprocessed Gaunt Sloth config.