Skip to content

Config schema reference

Full reference for talond.yaml. All top-level sections are optional — defaults apply when omitted. Validated at startup using Zod; the daemon refuses to start with an invalid config.


FieldTypeDefaultDescription
logLeveltrace | debug | info | warn | error | fatalinfoPino log level
dataDirstringdataRoot directory for runtime data (IPC sockets, MCP OAuth tokens, artifacts)

FieldTypeDefaultDescription
typesqlitesqliteDatabase backend
pathstringdata/talond.sqliteSQLite file path (relative to cwd)

FieldTypeDefaultDescription
namestringrequiredUnique persona identifier
modelstringclaude-sonnet-4-6Model ID passed to the provider
providerstring—Override the default agent runner provider
reasoningEffortnone | minimal | low | medium | high | xhigh | max | ultra—Reasoning effort passed to the provider. Allowed values depend on the provider type (see below)
backgroundProviderstring—Provider for background agents spawned by this persona. Must be enabled under backgroundAgent.providers
backgroundModelstring—Model for background agents spawned by this persona. Requires backgroundProvider
systemPromptFilestring—Path to system prompt Markdown file
skillsstring[][]Skill names to attach
subagentsstring[][]Sub-agent names the persona can invoke. Add vision to allow image Inspections
capabilities.allowstring[][]Granted capability labels
capabilities.requireApprovalstring[][]Capability labels requiring user confirmation
mountsmount[][]Filesystem mounts for sandboxed execution
queryTimeoutMinutesinteger 1–48010Max minutes the agent runner waits for a single query to complete. Increase for personas running long Codex tasks or deep research
maxConcurrentinteger ≥ 1—Max parallel agent runs for this persona
executionEnvobject—Sprite sandbox defaults for this persona’s background agents (see below)

The daemon validates reasoningEffort against the type of the persona’s provider. The type is providers.<name>.type, or the provider name when type is not set. The same check applies to backgroundProvider.

Provider typeAllowed values
codex-climinimal, low, medium, high, xhigh, max, ultra
openai-compatiblenone, minimal, low, medium, high, xhigh, max, ultra

Other provider types, including claude-code and gemini-cli, reject reasoningEffort. An openai-compatible provider also needs options.apiMode: responses. Use the base model name in model. Do not encode the effort as a model-name suffix.

personas:
- name: deep-researcher
model: gpt-5.4
provider: codex-cli
reasoningEffort: high

Two capability labels control features added after the first release of this page:

  • persona.send:<persona-name> limits A2A delegation to that persona. List several labels to allow several targets. persona.send:* allows any persona.
  • image.read:thread exposes the image_lookup host tool.

Run talonctl list-capabilities for the full list.

FieldTypeDefaultDescription
sourcestringrequiredHost path
targetstringrequiredMount target path
modero | rwroMount mode
FieldTypeDefaultDescription
sandboxDefaultbooleanfalseWhen true, background_agent spawns default to a Sprite sandbox
baseSnapshotstring—Reserved for snapshot-based creation. The runtime does not support it yet
workingDirectorystring/workspaceWorking directory inside the VM
resourceLimits.cpusnumber ≥ 0.25—CPU override
resourceLimits.memoryMbinteger ≥ 256—Memory override in MB
resourceLimits.diskGbinteger ≥ 1—Disk override in GB

FieldTypeDefaultDescription
namestringrequiredUnique channel identifier
typeenumrequiredtelegram, slack, discord, whatsappBaileys, whatsappBusiness, whatsapp, email, terminal
enabledbooleantrueEnable/disable at startup
showToolCallsboolean—Send tool-call status messages to the channel. Off when omitted
tokenRefstring—Optional token reference
configobject{}Connector-specific config (see Channels guide)

When voice.enabled is true, the channel name browser-voice is reserved and the daemon rejects a channel with that name.

The email connector polls IMAP and sends over SMTP. These keys go under channels[].config.

FieldTypeDefaultDescription
imapHoststringrequiredIMAP server host
imapPortintegerrequiredIMAP server port
imapUserstringrequiredIMAP user
imapPassstringrequiredIMAP password. Use ${ENV_VAR}
imapSecurebooleanrequiredUse TLS for IMAP
smtpHoststringrequiredSMTP server host
smtpPortintegerrequiredSMTP server port
smtpUserstringrequiredSMTP user
smtpPassstringrequiredSMTP password. Use ${ENV_VAR}
smtpSecurebooleanrequiredUse TLS for SMTP
fromAddressstringrequiredSender address for outbound mail
allowedSendersstring[]—Accept mail only from these addresses. Matched against the From header, which can be forged
requireDmarcPassbooleanfalseAccept mail only when the provider reports dmarc=pass for the sender’s domain. Needs trustedAuthServId
trustedAuthServIdstring—The authserv-id your mail provider writes in its Authentication-Results header
pollingIntervalMsinteger30000Delay between IMAP polls
mailboxstringINBOXIMAP folder to poll
channels:
- name: my-email
type: email
config:
imapHost: imap.gmail.com
imapPort: 993
imapUser: agent@example.com
imapPass: ${EMAIL_PASSWORD}
imapSecure: true
smtpHost: smtp.gmail.com
smtpPort: 587
smtpUser: agent@example.com
smtpPass: ${EMAIL_PASSWORD}
smtpSecure: false
fromAddress: 'Talon <agent@example.com>'
allowedSenders:
- 'alice@example.com'
requireDmarcPass: true
trustedAuthServId: 'mx.example.com'

With requireDmarcPass: true and no trustedAuthServId, the connector drops every message.


FieldTypeDefaultDescription
personastringrequiredPersona name
channelstringrequiredChannel name
isDefaultbooleanfalseMark as default binding for this channel
threadstringnoneBinds the persona to one conversation on the channel instead of the whole channel: the channel-specific thread ID, for example a Telegram chat ('-1001234567890') or forum topic ('-1001234567890:42'). Always quote it. Wins over the default binding
bindings:
- persona: assistant
channel: my-telegram
isDefault: true
- persona: groceries
channel: my-telegram
thread: '-1001234567890:42'

Thread-scoped bindings are applied at startup. The thread is created if the conversation has not sent a message yet. Removing an entry removes the binding at the next start, and the conversation falls back to the channel default. See the Telegram topic workspaces guide.


FieldTypeDefaultDescription
maxAttemptsinteger ≥ 13Max delivery attempts before dead-letter
backoffBaseMsinteger1000Initial retry delay in ms
backoffMaxMsinteger60000Maximum retry delay in ms
concurrencyLimitinteger ≥ 15Max simultaneous message processing

FieldTypeDefaultDescription
defaultProviderstringclaude-codeDefault provider name
providersrecordsee belowProvider configurations
FieldTypeDefaultDescription
enabledbooleanfalseEnable this provider
typestring—Provider implementation when the name is an alias, for example openai-compatible. Defaults to the provider name
commandstringrequiredCLI command (e.g. claude)
contextWindowTokensinteger ≥ 1000200000Context window size
optionsobject—Provider-specific options
contextManagement.enabledbooleanfalseEnable session rotation
contextManagement.triggerMetricstring—Required when enabled. input_tokens, cache_read_input_tokens, cache_creation_input_tokens, or cache_total_input_tokens
contextManagement.thresholdRatiofloat 0–1—Required when enabled. Fraction of contextWindowTokens that triggers rotation
contextManagement.recentMessageCountinteger ≥ 010Verbatim messages to include after rotation
contextManagement.summarizerstring—Required when enabled. Sub-agent name for history compression (session-summarizer or session-observer)
contextManagement.reflectionThresholdCharsinteger ≥ 100040000Size of the observation log, in characters, that triggers the reflector. Only applies when summarizer is session-observer

The options object is not validated by the schema. The openai-compatible provider reads these keys from it:

OptionDescription
baseUrlBase URL of the endpoint, including /v1
defaultModelModel used when the persona sets none
providerIdName of the auth.providers slot used for credentials
apiModechat-completions or responses
sessionModenone or previous_response_id. Use the latter only with stateful /v1/responses endpoints
toolOutputCapCap in characters on one MCP tool result before it enters the message history. Defaults to 4000. 0 disables this provider-level fallback
providerOptionsFlat record of vendor-specific request body fields

Default provider config:

agentRunner:
defaultProvider: claude-code
providers:
claude-code:
enabled: true
command: claude
contextWindowTokens: 200000
contextManagement:
enabled: true
triggerMetric: cache_read_input_tokens
thresholdRatio: 0.5
recentMessageCount: 10
summarizer: session-summarizer

Example with an OpenAI-compatible endpoint under its own name:

agentRunner:
providers:
ollama-mac:
enabled: true
type: openai-compatible
command: node
contextWindowTokens: 128000
contextManagement:
enabled: true
triggerMetric: input_tokens
thresholdRatio: 0.75
recentMessageCount: 10
summarizer: session-summarizer
options:
baseUrl: http://mac.local:11434/v1
defaultModel: qwen3-coder:30b
providerId: ollama-mac
toolOutputCap: 4000

FieldTypeDefaultDescription
enabledbooleantrueEnable background workers globally
maxConcurrentinteger 1–103Max simultaneous workers
defaultTimeoutMinutesinteger 15–48030Default wall-clock timeout
defaultProviderstringclaude-codeProvider for workers
providersrecordbuilt-in claude-code entryProvider configs (same structure as agentRunner, no contextManagement)
claudePathstring—Explicit path to Claude Code binary

A record keyed by sub-agent name. Each entry overrides which model that sub-agent uses, without editing its subagent.yaml manifest. The model array is an ordered failover chain. Talon tries each entry in order and then falls back to the manifest default.

FieldTypeDefaultDescription
<name>.modelarray, at least 1 entryrequiredOrdered model failover chain
model[].provideranthropic | openai | google | ollama | claude-code | codex-sandboxrequiredModel provider. claude-code needs subagentCli.claudeCode.enabled. codex-sandbox needs subagentSandbox.codex.enabled
model[].namestringrequiredModel name for that provider
model[].maxTokensinteger > 0manifest valueMax output tokens
model[].timeoutMsinteger ≥ 1000manifest valuePer-model timeout. On timeout Talon moves to the next entry
model[].providerOptionsobject—Vendor-specific request fields. Only effective on the ollama provider
subagents:
memory-groomer:
model:
- provider: ollama
name: qwen3-30b
- provider: anthropic
name: claude-haiku-4-5-20251001

model[].provider is not an agent runner provider. codex-cli, gemini-cli, and openai-compatible are invalid here. Use ollama for OpenAI-compatible sub-agent endpoints and set its URL in auth.providers.ollama.baseURL.

The built-in vision sub-agent answers questions about images. Its default model is claude-haiku-4-5-20251001 on the anthropic provider. Every entry under subagents.vision.model must use anthropic, openai, google, or ollama. The daemon rejects claude-code and codex-sandbox there at config load, because those providers are text-only.

subagents:
vision:
model:
- provider: anthropic
name: claude-sonnet-4-6
timeoutMs: 60000
- provider: openai
name: gpt-5.4
timeoutMs: 60000

A persona needs vision in its subagents list and the subagent.invoke capability to run an Inspection. See the vision guide.


Opt-in Claude Code adapter for sub-agent generations. It uses the daemon user’s Claude Code subscription login, not auth.providers API keys.

FieldTypeDefaultDescription
claudeCode.enabledbooleanfalseAllow provider: claude-code in sub-agent model chains
claudeCode.commandstringclaudeCommand name or path of the Claude Code binary

Opt-in Codex subscription runner for sub-agent generations. The Codex process runs in a separate runner container, not in the daemon.

FieldTypeDefaultDescription
codex.enabledbooleanfalseAllow provider: codex-sandbox in sub-agent model chains
codex.endpointURLhttp://codex-runner:9700Runner endpoint
codex.startupTimeoutMsinteger 1000–12000030000Time the daemon waits for the runner at boot
codex.tokenstring, at least 32 characters—Shared bearer token for daemon-to-runner traffic. Required when enabled

FieldTypeDefaultDescription
modesubscription | api_keysubscriptionAuthentication mode
apiKeystring—API key for api_key mode
providers.<name>.apiKeystring—Per-provider API key
providers.<name>.baseURLstring—Per-provider base URL (for Ollama, proxies)

For openai-compatible, Talon resolves credentials from auth.providers.<options.providerId> first and falls back to auth.providers.openai-compatible.


Browser voice. Disabled by default. When enabled, the daemon starts an HTTP listener for the browser voice UI. See the voice guide.

FieldTypeDefaultDescription
enabledbooleanfalseStart the browser voice runtime
hoststring127.0.0.1Listener host or address
portinteger 0–655350Listener port. 0 selects an available port
publicHoststring—Public HTTPS host. Adds https://<publicHost> to the allowed origins
accessTokenstring—Access token for browser login. Prefer accessTokenRef
accessTokenRefstringvoiceName of the auth.providers.<name>.apiKey slot that holds the access token
liveApiKeyRefstringopenaiName of the auth.providers slot used by the live voice provider
providerstring—Deprecated. The selected persona’s provider is used
modelstring—Live voice model. The daemon uses gpt-live-1 when omitted. The persona’s model stays the backend model
personastring—Persona used for backend work. Defaults to the first configured persona
voicestringmarinOutput voice
usdPerMinutenumber ≥ 0—Rate used for a duration-based cost estimate. No estimate when omitted
instructionsstringYou are Talon, a helpful voice assistant.Instructions for the live voice provider
allowedTransportTypesstring[], at least 1 entry['webrtc']Transport allowlist. The runtime accepts only webrtc
allowedOriginsURL[][]Explicit browser origins
allowedToolNamesstring[][]Deprecated and ignored. Voice uses the persona’s capabilities
allowedMcpServerNamesstring[][]Deprecated and ignored. Voice uses the persona’s skills and MCP servers
maxSessionLifetimeMsinteger ≥ 1000900000Maximum voice session lifetime (15 min)
maxContextCharsinteger 256–25600032000Limit on the voice context passed to the live provider
maxConcurrentSessionsinteger ≥ 11Active browser session limit
maxSessionCreationsinteger ≥ 15Session creations allowed per window
sessionCreationWindowMsinteger ≥ 100060000Session creation rate-limit window
heartbeatIntervalMsinteger ≥ 100015000Heartbeat interval
auth:
providers:
voice:
apiKey: ${VOICE_ACCESS_TOKEN}
openai:
apiKey: ${OPENAI_API_KEY}
voice:
enabled: true
host: 127.0.0.1
port: 0
# publicHost: voice.example.com
accessTokenRef: voice
liveApiKeyRef: openai
# persona: assistant
voice: marin

The access token is resolved from voice.accessToken, then auth.providers.<accessTokenRef>.apiKey, then auth.apiKey. The daemon refuses to start with voice enabled and no token.


FieldTypeDefaultDescription
tickIntervalMsinteger ≥ 10005000Scheduler tick interval in ms

FieldTypeDefaultDescription
pollIntervalMsinteger ≥ 100500IPC poll interval in ms
daemonSocketDirstringdata/ipc/daemonUnix socket directory

Limits for agent-to-agent delegation.

FieldTypeDefaultDescription
maxHopsinteger 1–324Maximum delegation chain depth. A task is rejected when its hop count reaches this value
maxConcurrentPerTargetinteger 1–1001Maximum A2A tasks that run at once for one target persona. More submissions wait in order
maxQueuedPerTargetinteger 0–100010Maximum A2A tasks that wait for one target persona. Further submissions are rejected
maxAttemptsinteger 1–201Queue attempts for an A2A task before it moves to the dead-letter queue. With 1, a failed run is not re-run
taskTtlMinutesinteger 1–144060Unfinished tasks older than this are canceled
a2a:
maxHops: 4
maxConcurrentPerTarget: 1
maxQueuedPerTarget: 10
maxAttempts: 1
taskTtlMinutes: 60

Which personas a persona may delegate to is set with capability labels, not here. Grant persona.send:<persona-name> for specific targets or persona.send:* for any.


Limits and retention for inbound images. See the vision guide.

FieldTypeDefaultDescription
maxInputBytesinteger ≥ 110485760Maximum input bytes per image (10 MiB). Talon checks the actual bytes
maxPerMessageinteger ≥ 15Images accepted per message. Extra images are rejected
maxPerInspectioninteger ≥ 15Maximum image IDs per vision Inspection
maxEdgeinteger ≥ 14096Longest edge of a normalized image in pixels. Aspect ratio is kept
jpegQualityinteger 1–10085JPEG quality of normalized images
maxInputPixelsinteger 1–268402689100000000Maximum decoded source pixels (width × height). Larger sources are rejected before decoding
maxNormalizedBytesinteger ≥ 13750000Maximum bytes of a normalized image. Talon re-encodes smaller until it fits
retentionHoursnumber > 024How long normalized image files are kept. Fractions such as 0.5 are valid
images:
maxInputBytes: 10485760
maxPerMessage: 5
maxPerInspection: 5
maxEdge: 4096
jpegQuality: 85
maxInputPixels: 100000000
maxNormalizedBytes: 3750000
retentionHours: 24

retentionHours deletes only the normalized file. Image records, metadata, and Findings stay in the database. Changes to this block need a daemon restart. talonctl reload keeps the running values and logs a warning.


Controls agent execution sandboxing (Docker or Apple Container).

FieldTypeDefaultDescription
runtimedocker | apple-containerdockerContainer runtime
imagestringtalon-sandbox:latestSandbox container image
maxConcurrentinteger ≥ 13Max concurrent sandboxed agent processes
networkDefaultoff | onoffDefault network access for sandboxed agents
idleTimeoutMsinteger ≥ 01800000Idle container timeout (30 min)
hardTimeoutMsinteger ≥ 03600000Hard container timeout (60 min)
resourceLimits.memoryMbinteger1024Memory limit per container in MB
resourceLimits.cpusfloat1CPU limit per container
resourceLimits.pidsLimitinteger256PID limit per container

Sprites.dev execution environments for sandboxed background agents.

FieldTypeDefaultDescription
enabledbooleanfalseEnable Sprite execution environments
tokenstring""Sprites.dev API token. Required when enabled
apiBaseUrlURLhttps://api.sprites.devAPI endpoint
defaultBaseSnapshotstring—Reserved for snapshot-based creation. The runtime does not support it yet
workingDirectorystring/workspaceDefault working directory inside the VM
createTimeoutMsinteger ≥ 100060000Timeout for VM creation
execTimeoutMsinteger ≥ 10001200000Default command timeout (20 min)
autoDestroyOnCompletionbooleantrueDestroy VMs when the owning task finishes
resourceLimits.cpusnumber ≥ 0.252CPU cores per VM
resourceLimits.memoryMbinteger ≥ 2564096Memory per VM in MB
resourceLimits.diskGbinteger ≥ 120Disk per VM in GB
sprites:
enabled: true
token: ${SPRITES_TOKEN}
workingDirectory: /workspace
autoDestroyOnCompletion: true
resourceLimits:
cpus: 2
memoryMb: 4096
diskGb: 20

Per-persona sandbox defaults live under personas[].executionEnv.


FieldTypeDefaultDescription
enabledbooleanfalseEnable Langfuse tracing
publicKeystring""Required when enabled
secretKeystring""Required when enabled
baseUrlURLhttps://cloud.langfuse.comLangfuse instance URL
environmentstringproductionEnvironment tag
releasestring—Optional release tag
ownerstring—Optional owner tag
exportModebatched | immediatebatchedExport strategy
flushAtinteger ≥ 120Batch size before flush
flushIntervalSecondsinteger ≥ 15Max seconds between flushes

MCP servers are not configured in talond.yaml. Each server is a JSON file at skills/<skill>/mcp/<server>.json, created by talonctl add-mcp. The file has a name and a config object.

FieldTypeDefaultDescription
config.transportstdio | sse | httprequiredTransport type
config.commandstring—Command for stdio servers
config.argsstring[]—Command arguments for stdio servers
config.urlstring—Server URL for sse and http servers
config.headersrecord of strings—HTTP headers. Use ${ENV_VAR} for secrets
config.envrecord of strings—Environment for stdio servers. Use ${ENV_VAR} for secrets
config.allowedToolsstring[]—Tool allowlist for this server
config.timeoutMsinteger ≥ 1000—Timeout per MCP request in ms. The runtime default of 60000 applies when omitted
config.toolOutputCapinteger ≥ 0—Cap in characters on one tool result from this server. 0 disables the cap for this server. The provider-level toolOutputCap applies when omitted
config.auth.kindoauth2—Enables OAuth for an sse or http server. The URL must use HTTPS
config.auth.tokenStorestring<skill>/<server>Token bundle name under <dataDir>/mcp-auth/
config.auth.clientIdEnvstring—Environment variable that holds a pre-registered client ID. Without it Talon uses Dynamic Client Registration
config.auth.clientSecretEnvstring—Environment variable that holds the client secret. Requires clientIdEnv
config.auth.authorizationServerIssuerHTTPS URL—Pinned issuer. Required with clientIdEnv
config.auth.scopesstring[]—OAuth scopes to request. Talon requests none by default
config.auth.tokenEndpointAuthMethodnone | client_secret_post | client_secret_basic—Token endpoint auth method. The secret-based methods require clientSecretEnv
{
"name": "glean",
"config": {
"name": "glean",
"transport": "http",
"url": "https://search.example.com/mcp",
"timeoutMs": 180000,
"toolOutputCap": 12000,
"auth": {
"kind": "oauth2"
}
}
}

timeoutMs and toolOutputCap only take effect on the OpenAI-compatible provider path. Claude Code, Gemini CLI, and Codex CLI runs ignore them. The persona’s queryTimeoutMinutes still bounds the whole query.

After adding a server with auth.kind: oauth2, run talonctl auth-mcp <skill>:<server> once. See the talonctl reference.