Skip to content
Gaunt Sloth Documentation
Search
Ctrl
K
Cancel
GitHub
Select theme
Dark
Light
Auto
Getting Started
Overview
Quickstart
Guides & Recipes
Review code & PRs
Code with your rules
Work interactively
Local & free models
Choose & switch models
Work in a monorepo
Scripting & CI
Batch over inputs & models
Evaluate your agent
Evals for MCP servers
Workflows
Shell tool & approvals
What approvals protect you from
Custom tools
Configuration
Overview
Providers
Tools
MCP servers
Content sources
Prompts
Output & files
Profiles & runtime
Reference
Commands
Debug dump
Migrating to 2.0
Contributing
API
@gaunt-sloth/agent
builtInToolsConfig.js
core/debugCapture.js
core/resolveAgentFactory.js
GthDevToolkit
index.js
References
A2AClientConfig
A2AClientWrapper
A2AMessageResult
A2ASendContext
AVAILABLE_BUILT_IN_TOOLS
convertMessage
convertMessages
createA2AAgentTool
createAcpAgentApp
createAcpAgentRouter
createAcpV1AgentApp
createAuthProviderAndAuthenticate
createInteractiveSession
createOAuthRedirectServer
createResolvers
getDefaultTools
OAuthClientProviderImpl
prepareMcpTools
resolveAgentFactory
resolveMiddleware
SessionConfig
startAcpServer
startAgUiServer
mcp/OAuthClientProviderImpl.js
mcp/tlsTrust.js
middleware/binaryContentInjectionMiddleware.js
middleware/frontendImageInjectionMiddleware.js
middleware/registry.js
middleware/types.js
modules/a2a/A2AClientWrapper.js
modules/acp/acpAgentApp.js
References
ACP_AGENT_NAME
ACP_AGENT_TITLE
AcpAgentAppOptions
announceAcpStart
isSameWorkspace
modules/acp/acpAgentAppV1.js
modules/acp/acpCommon.js
modules/acp/acpPermissions.js
modules/acp/acpPermissionsV1.js
modules/acp/acpRouter.js
modules/acp/acpStdio.js
modules/acp/acpToolCalls.js
modules/acp/acpUpdates.js
modules/acp/acpUpdatesV1.js
modules/apiAgUiModule.js
modules/interactiveSessionModule.js
modules/slashCommands.js
resolvers.js
tools/A2AAgentTool.js
tools/binaryUtils.js
tools/gthChecklistTool.js
tools/GthCustomToolkit.js
tools/GthFileSystemToolkit.js
tools/gthGrepTool.js
tools/gthStatusUpdateTool.js
tools/gthWebFetchTool.js
tools/McpResourceTool.js
tools/shell/env.js
tools/shell/outputBuffer.js
tools/shell/workDir.js
tools/showA2UISurfaceTool.js
utils/mcpAuthError.js
utils/mcpUtils.js
@gaunt-sloth/core
config
References
AllowlistCounts
applyRungAwareToolDescriptions
APPROVAL_POSTURES
APPROVAL_PROTECTION_DOCS_LINES
APPROVAL_PROTECTION_DOCS_URL
APPROVAL_RUNG_DESCRIPTIONS
APPROVAL_RUNG_LABELS
APPROVAL_RUNGS
APPROVAL_WRITE_MODIFIER_HINT
ApprovalEntry
ApprovalEntryType
ApprovalHintPattern
ApprovalMatcher
ApprovalRefusal
ApprovalRefusalLift
ApprovalRefusalOrigin
ApprovalRung
ApprovalsConfig
ApprovalsObjectConfig
availableDefaultConfigs
BinaryFormatConfig
BinaryFormatType
buildProfileScaffold
BUILT_IN_TOOL_ACCESS
BUILT_IN_TOOL_SUMMARIES
BuiltInToolAccess
BuiltInToolConfig
BuiltInToolsConfig
BuiltInToolsSetting
commandAnswersApprovals
commandCarriesUserProvenance
CommandLineConfigOverrides
CommandToolingConfig
ConfigDiscoveryDetails
ConfigDiscoveryError
ConfigLayerValidationReport
ConfigType
ConfigValidationReport
CONFLICTING_CONFIG_SOURCES_MESSAGE
ConsoleLevelInput
createNamedProfile
CreateProfileResult
CustomCommandConfig
CustomCommandParameter
CustomToolsConfig
DEFAULT_APPROVAL_RUNG
DEFAULT_CONFIG
DEFAULT_SCAFFOLD_MODEL
DEFAULT_SCAFFOLD_PROVIDER
DescribableTool
describeGrantedBuiltInTools
DEV_COMMAND_TOOL_NAMES
DEV_TOOL_NAMES
EXTERNALLY_EMITTED_BUILT_IN_TOOL_NAMES
FilesystemToolsConfig
findProjectConfigPath
getEffectiveDevToolsConfig
getGhReadFileMaxBytes
getRungToolDescriptionSuffix
getShellMaxOutputBytes
getShellTimeoutMs
GH_READ_FILE_DEFAULT_MAX_BYTES
GH_READ_FILE_TOOL_NAME
GhReadFileCommand
GrantedToolSummary
GthAcpSessionMode
GthConfig
GthDevToolsConfig
GthOutputHeaderRung
hasAnyConfig
hasProjectConfig
initConfig
isAccessClassGrantedAtRung
isApprovalRung
isBuiltInToolEntryEnabled
isConfigDiscoveryError
isDeterministicRung
isFilesystemToolRegistered
isGhReadFileToolEnabled
isGrantedAtRung
isMissingProviderKeyError
isNegotiatingRung
isRatedRung
isShellToolEnabled
isToolGatedAtRung
isUserProvenanceRung
isWriteFileToolRegistered
LLMConfig
loadConfiguredTui
loadGlobalRawConfig
McpAnnotationTrustChange
McpAnnotationTrustView
McpApprovalsConfig
McpServerAnnotationTrust
McpServerApprovalsConfig
McpToolApprovalEntry
MissingProviderKeyDetails
MissingProviderKeyError
normalizeBuiltInTools
PrCommandConfig
PROFILE_NAME_RE
ProfileScaffoldSeed
PromptsConfig
PromptSegmentConfig
PromptSegmentName
PromptSegmentSetting
RatingConfig
RawConfigValidationResult
RawGthConfig
resolveApprovals
resolveConfig
resolveConfigExtends
ResolvedApprovals
resolveGatedToolNames
resolveIdentityProfileConfigPath
resolveInterruptToolNames
resolveProfileConfigPath
resolveShellApprovalGate
RUNG_TOOL_DESCRIPTION_SUFFIXES
ServerTool
SHELL_DEFAULT_MAX_OUTPUT_BYTES
SHELL_DEFAULT_TIMEOUT_MS
SHELL_TOOL_NAME
ShellApprovalEntry
ShellApprovalGateDecision
ShellApprovalGateNotice
stripRungToolDescriptionSuffix
SubagentProfileSpec
TOOL_ANNOTATION_HINTS
ToolAnnotationHint
ToolApprovalEntry
tryJsonConfig
validateConfig
validateProfileName
ValidationCheck
WRITE_FILE_TOOL_NAME
config/colour
config/configDiscovery
config/defaults
config/filesystem-tools
config/jsonc
config/loader
config/mouse
config/profiles
config/providerKeys
config/schema
config/shell-policy
config/tool-descriptions
config/types
constants
core/approvals/annotations
core/approvals/approvalRequest
core/approvals/grants
core/approvals/matcher
core/approvals/mcpSubjects
core/approvals/promptHeader
core/approvals/toolAnnotationSources
core/approvals/toolHost
core/debugCapture
core/GthAbstractAgent
core/GthAgentRunner
core/GthLangChainAgent
References
AgentStreamEvent
core/gthLeanAgentFactory
core/launchBanner
References
modelProviderLabel
core/modelLabel
core/plainToolIndication
core/reasoningBlocks
core/refusal
core/runHeader
core/runStats
core/shell/abstention
core/shell/alignment
core/shell/approvalCapture
core/shell/approvalStop
core/shell/arity
core/shell/denylist
core/shell/escalationSeverity
core/shell/framing
core/shell/hardline
core/shell/negotiation
core/shell/normalize
core/shell/openWorld
core/shell/provenance
core/shell/rater
References
PREFLIGHT_FLOOR_KINDS
PreflightFloorKind
RATER_ACTIONS
RATER_OUTCOMES
RaterAction
RaterOutcome
core/shell/raterHealth
core/shell/raterModel
core/shell/raterVocabulary
core/shell/rejection
core/shell/ShellCommandFailedError
core/toolCallRepair
References
MAX_TEXT_EMITTED_TOOL_CALL_PAYLOAD_BYTES
parseStandalonePlainTextToolCallBlocks
PlainTextToolCallBlock
PlainTextToolCallParseOptions
promoteTextEmittedToolCallMessage
textToNativeToolCalls
TextToolCallRepairOptions
core/toolCallRepair/grammar
core/toolCallRepair/payload
core/toolCallRepair/promote
References
MAX_TEXT_EMITTED_TOOL_CALL_PAYLOAD_BYTES
core/toolDisplay
core/toolOutputChannel
core/types
References
AlignmentDecision
AlignmentDecisionKind
ApprovalSubject
DeclaredToolAnnotations
McpToolApprovalSubject
RaterNegotiationRound
RaterOutcome
ShellApprovalSubject
ShellSafetyVerdict
ToolApprovalSubject
history/historyFormat
history/historyStore
history/recordSession
index
References
AgentResolvers
AgentStreamEvent
AIIGNORE_FILE
AlignmentDecision
AlignmentDecisionKind
AllowlistCounts
applyRungAwareToolDescriptions
APPROVAL_POSTURES
APPROVAL_PROTECTION_DOCS_LINES
APPROVAL_PROTECTION_DOCS_URL
APPROVAL_RUNG_DESCRIPTIONS
APPROVAL_RUNG_LABELS
APPROVAL_RUNGS
APPROVAL_WRITE_MODIFIER_HINT
ApprovalEntry
ApprovalEntryType
ApprovalHintPattern
ApprovalLifetime
ApprovalMatcher
ApprovalOutcome
ApprovalOutcomeCallback
ApprovalRefusal
ApprovalRefusalLift
ApprovalRefusalOrigin
ApprovalRung
ApprovalsConfig
ApprovalsObjectConfig
ApprovalSubject
AttackHaltAnswer
AttackHaltCallback
availableDefaultConfigs
BinaryFormatConfig
BinaryFormatType
buildInitConfigContent
buildModelList
buildProfileScaffold
BUILT_IN_TOOL_ACCESS
BUILT_IN_TOOL_SUMMARIES
BuiltInToolAccess
BuiltInToolConfig
BuiltInToolsConfig
BuiltInToolsSetting
commandAnswersApprovals
commandCarriesUserProvenance
CommandLineConfigOverrides
CommandToolingConfig
CONFIG_SCHEMA_POINTER
ConfigDiscoveryDetails
ConfigDiscoveryError
ConfigLayerValidationReport
ConfigType
ConfigValidationReport
CONFLICTING_CONFIG_SOURCES_MESSAGE
ConsoleLevelInput
ConversationMeta
ConversationSummary
createNamedProfile
CreateProfileResult
CustomCommandConfig
CustomCommandParameter
CustomToolsConfig
DeclaredToolAnnotations
DEFAULT_APPROVAL_RUNG
DEFAULT_COMMIT_CO_AUTHOR_EMAIL
DEFAULT_COMMIT_CO_AUTHOR_NAME
DEFAULT_CONFIG
DEFAULT_OLLAMA_HOST
DEFAULT_SCAFFOLD_MODEL
DEFAULT_SCAFFOLD_PROVIDER
DescribableTool
describeGrantedBuiltInTools
DetectedProvider
detectProviders
DEV_COMMAND_TOOL_NAMES
DEV_TOOL_NAMES
discoverModels
discoverModelsWithProvenance
DiscoveryConfig
DiscoveryKind
EXTERNALLY_EMITTED_BUILT_IN_TOOL_NAMES
FilesystemToolsConfig
findApiKeyEnvVar
findMissingProviderKey
findProjectConfigPath
formatConversationList
formatConversationThread
formatInsightsSummary
formatSearchResults
getCuratedFallbackModel
getEffectiveDevToolsConfig
getGhReadFileMaxBytes
getRungToolDescriptionSuffix
getShellMaxOutputBytes
getShellTimeoutMs
GH_READ_FILE_DEFAULT_MAX_BYTES
GH_READ_FILE_TOOL_NAME
GhReadFileCommand
GrantedToolSummary
GSLOTH_AUTH
GSLOTH_BACKSTORY
GSLOTH_CHAT_PROMPT
GSLOTH_CODE_PROMPT
GSLOTH_DIR
GSLOTH_EXEC_PROMPT
GSLOTH_SETTINGS_DIR
GSLOTH_SYSTEM_PROMPT
GthAcpSessionMode
GthAgentFactory
GthAgentInitOptions
GthAgentInterface
GthCommand
GthCompiledGraph
GthConfig
GthDevToolsConfig
gthLeanAgentFactory
GthOutputHeaderRung
GthRunStats
GthToolResult
hasAnyConfig
hasProjectConfig
HISTORY_DB_FILENAME
HistoryConfigView
HistoryInsights
HistoryStore
initConfig
INTERACTIVE_MODEL_FETCH_TIMEOUT_MS
isAccessClassGrantedAtRung
isApprovalRung
isBuiltInToolEntryEnabled
isConfigDiscoveryError
isDeterministicRung
isFilesystemToolRegistered
isGhReadFileToolEnabled
isGrantedAtRung
isMissingProviderKeyError
isNegotiatingRung
isRatedRung
isShellToolEnabled
isToolGatedAtRung
isUserProvenanceRung
isWriteFileToolRegistered
listModels
LLMConfig
loadConfiguredTui
loadGlobalRawConfig
MCP_TOOL_NAME_PREFIX
McpAnnotationTrustChange
McpAnnotationTrustView
McpApprovalsConfig
McpConnectionFailure
McpServerAnnotationTrust
McpServerApprovalsConfig
McpServerInstruction
McpToolApprovalEntry
McpToolApprovalSubject
Message
MiddlewareCleanup
MiddlewareResolver
MissingProviderKeyDetails
MissingProviderKeyError
ModelDiscoveryOptions
ModelDiscoveryResult
ModelDiscoveryStatus
ModelInfo
normalizeBuiltInTools
openConversationSafe
openHistoryStore
OpenHistoryStoreOptions
PendingAttackHalt
PendingToolInterrupt
PrCommandConfig
PROFILE_NAME_RE
ProfileScaffoldSeed
PROJECT_GUIDELINES
PROJECT_REVIEW_INSTRUCTIONS
PromptsConfig
PromptSegmentConfig
PromptSegmentName
PromptSegmentSetting
PROVIDER_DESCRIPTORS
ProviderDescriptor
ProviderId
RaterNegotiationRound
RaterOutcome
RatingConfig
RawConfigValidationResult
RawGthConfig
recordSessionSafe
resolveApprovals
resolveConfig
resolveConfigExtends
ResolvedApprovals
resolveGatedToolNames
resolveHistoryDbPath
resolveIdentityProfileConfigPath
resolveInitModel
resolveInterruptToolNames
resolveProfileConfigPath
resolveShellApprovalGate
RUNG_TOOL_DESCRIPTION_SUFFIXES
ServerTool
SessionRecord
SessionSearchResult
SHELL_ALLOWLIST_FILE
SHELL_DEFAULT_MAX_OUTPUT_BYTES
SHELL_DEFAULT_TIMEOUT_MS
SHELL_DENYLIST_FILE
SHELL_TOOL_NAME
ShellApprovalEntry
ShellApprovalGateDecision
ShellApprovalGateNotice
ShellApprovalSubject
ShellSafetyVerdict
StatusLevel
StatusUpdateCallback
stripRungToolDescriptionSuffix
SubagentProfileSpec
toFtsMatchQuery
TOOL_ANNOTATION_HINTS
ToolAnnotationHint
ToolApprovalCallback
ToolApprovalDecision
ToolApprovalEntry
ToolApprovalScope
ToolApprovalSubject
ToolRejectScope
ToolsCleanup
ToolsResolver
tryJsonConfig
USER_PROJECT_CONFIG_JS
USER_PROJECT_CONFIG_JSON
USER_PROJECT_CONFIG_JSONC
USER_PROJECT_CONFIG_MJS
USER_PROJECT_CONFIG_TS
validateConfig
validateProfileName
ValidationCheck
WRITE_FILE_TOOL_NAME
providers/anthropic
providers/configurationPassthrough
providers/deepseek
providers/fake
providers/geminiSchemaSanitizer
providers/geminiThinking
providers/google-genai
providers/groq
providers/huggingface
providers/modelCatalog
providers/modelDiscovery
providers/ollama
providers/openai
providers/openrouter
providers/vertexai
providers/xai
runtime/askStructured
runtime/conversation
runtime/singleShot
runtime/structuredOutput
state/artifactStore
utils/aiignoreUtils
utils/binaryOutputUtils
utils/consoleUtils
utils/crashHandler
utils/debugDump
utils/debugUtils
utils/displayWidth
utils/fileUtils
utils/globalConfigUtils
utils/llmUtils
utils/ProgressIndicator
utils/redactSecrets
utils/stringUtils
utils/systemPromptNotes
utils/systemUtils
utils/toolMatching
utils/untrustedText
utils/vertexaiUtils
@gaunt-sloth/review
commands/commandUtils
helpers/jira/jiraClient
index
References
CONTENT_SOURCES
ContentSourceType
get
getContentFromSource
getRequirementsFromSource
getReviewPreamble
ghReadFileImpl
GTH_GH_READ_FILE_TOOL_NAME
PrRepoContext
REQUIREMENTS_SOURCES
RequirementSourceType
resolvePrIdFromArg
resolvePrRepoContext
review
ReviewContext
middleware/reviewRateMiddleware
modules/reviewHeading
modules/reviewModule
modules/types
sources/fileSource
sources/ghIssueSource
sources/ghPrDiffSource
sources/ghPrViewSource
sources/gitDiffSource
sources/jiraIssueLegacySource
sources/jiraIssueSource
sources/textSource
sources/types
tools/ghReadFileTool
utils/fileUtils
v1.x docs (legacy)
GitHub
Select theme
Dark
Light
Auto
Gaunt Sloth Assistant
Packages
Section titled “Packages”
@gaunt-sloth/agent
@gaunt-sloth/core
@gaunt-sloth/review