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.
Root fields
Section titled “Root fields”| Field | Type | Default | Description |
|---|---|---|---|
logLevel | trace | debug | info | warn | error | fatal | info | Pino log level |
dataDir | string | data | Root directory for runtime data (IPC sockets, MCP OAuth tokens, artifacts) |
storage
Section titled “storage”| Field | Type | Default | Description |
|---|---|---|---|
type | sqlite | sqlite | Database backend |
path | string | data/talond.sqlite | SQLite file path (relative to cwd) |
personas[]
Section titled “personas[]”| Field | Type | Default | Description |
|---|---|---|---|
name | string | required | Unique persona identifier |
model | string | claude-sonnet-4-6 | Model ID passed to the provider |
provider | string | — | Override the default agent runner provider |
reasoningEffort | none | minimal | low | medium | high | xhigh | max | ultra | — | Reasoning effort passed to the provider. Allowed values depend on the provider type (see below) |
backgroundProvider | string | — | Provider for background agents spawned by this persona. Must be enabled under backgroundAgent.providers |
backgroundModel | string | — | Model for background agents spawned by this persona. Requires backgroundProvider |
systemPromptFile | string | — | Path to system prompt Markdown file |
skills | string[] | [] | Skill names to attach |
subagents | string[] | [] | Sub-agent names the persona can invoke. Add vision to allow image Inspections |
capabilities.allow | string[] | [] | Granted capability labels |
capabilities.requireApproval | string[] | [] | Capability labels requiring user confirmation |
mounts | mount[] | [] | Filesystem mounts for sandboxed execution |
queryTimeoutMinutes | integer 1–480 | 10 | Max minutes the agent runner waits for a single query to complete. Increase for personas running long Codex tasks or deep research |
maxConcurrent | integer ≥ 1 | — | Max parallel agent runs for this persona |
executionEnv | object | — | Sprite sandbox defaults for this persona’s background agents (see below) |
reasoningEffort
Section titled “reasoningEffort”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 type | Allowed values |
|---|---|
codex-cli | minimal, low, medium, high, xhigh, max, ultra |
openai-compatible | none, 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: highCapability scopes
Section titled “Capability scopes”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:threadexposes theimage_lookuphost tool.
Run talonctl list-capabilities for the full list.
mounts[]
Section titled “mounts[]”| Field | Type | Default | Description |
|---|---|---|---|
source | string | required | Host path |
target | string | required | Mount target path |
mode | ro | rw | ro | Mount mode |
executionEnv
Section titled “executionEnv”| Field | Type | Default | Description |
|---|---|---|---|
sandboxDefault | boolean | false | When true, background_agent spawns default to a Sprite sandbox |
baseSnapshot | string | — | Reserved for snapshot-based creation. The runtime does not support it yet |
workingDirectory | string | /workspace | Working directory inside the VM |
resourceLimits.cpus | number ≥ 0.25 | — | CPU override |
resourceLimits.memoryMb | integer ≥ 256 | — | Memory override in MB |
resourceLimits.diskGb | integer ≥ 1 | — | Disk override in GB |
channels[]
Section titled “channels[]”| Field | Type | Default | Description |
|---|---|---|---|
name | string | required | Unique channel identifier |
type | enum | required | telegram, slack, discord, whatsappBaileys, whatsappBusiness, whatsapp, email, terminal |
enabled | boolean | true | Enable/disable at startup |
showToolCalls | boolean | — | Send tool-call status messages to the channel. Off when omitted |
tokenRef | string | — | Optional token reference |
config | object | {} | 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.
Email connector config
Section titled “Email connector config”The email connector polls IMAP and sends over SMTP. These keys go under channels[].config.
| Field | Type | Default | Description |
|---|---|---|---|
imapHost | string | required | IMAP server host |
imapPort | integer | required | IMAP server port |
imapUser | string | required | IMAP user |
imapPass | string | required | IMAP password. Use ${ENV_VAR} |
imapSecure | boolean | required | Use TLS for IMAP |
smtpHost | string | required | SMTP server host |
smtpPort | integer | required | SMTP server port |
smtpUser | string | required | SMTP user |
smtpPass | string | required | SMTP password. Use ${ENV_VAR} |
smtpSecure | boolean | required | Use TLS for SMTP |
fromAddress | string | required | Sender address for outbound mail |
allowedSenders | string[] | — | Accept mail only from these addresses. Matched against the From header, which can be forged |
requireDmarcPass | boolean | false | Accept mail only when the provider reports dmarc=pass for the sender’s domain. Needs trustedAuthServId |
trustedAuthServId | string | — | The authserv-id your mail provider writes in its Authentication-Results header |
pollingIntervalMs | integer | 30000 | Delay between IMAP polls |
mailbox | string | INBOX | IMAP 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.
bindings[]
Section titled “bindings[]”| Field | Type | Default | Description |
|---|---|---|---|
persona | string | required | Persona name |
channel | string | required | Channel name |
isDefault | boolean | false | Mark as default binding for this channel |
thread | string | none | Binds 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.
| Field | Type | Default | Description |
|---|---|---|---|
maxAttempts | integer ≥ 1 | 3 | Max delivery attempts before dead-letter |
backoffBaseMs | integer | 1000 | Initial retry delay in ms |
backoffMaxMs | integer | 60000 | Maximum retry delay in ms |
concurrencyLimit | integer ≥ 1 | 5 | Max simultaneous message processing |
agentRunner
Section titled “agentRunner”| Field | Type | Default | Description |
|---|---|---|---|
defaultProvider | string | claude-code | Default provider name |
providers | record | see below | Provider configurations |
agentRunner.providers.<name>
Section titled “agentRunner.providers.<name>”| Field | Type | Default | Description |
|---|---|---|---|
enabled | boolean | false | Enable this provider |
type | string | — | Provider implementation when the name is an alias, for example openai-compatible. Defaults to the provider name |
command | string | required | CLI command (e.g. claude) |
contextWindowTokens | integer ≥ 1000 | 200000 | Context window size |
options | object | — | Provider-specific options |
contextManagement.enabled | boolean | false | Enable session rotation |
contextManagement.triggerMetric | string | — | Required when enabled. input_tokens, cache_read_input_tokens, cache_creation_input_tokens, or cache_total_input_tokens |
contextManagement.thresholdRatio | float 0–1 | — | Required when enabled. Fraction of contextWindowTokens that triggers rotation |
contextManagement.recentMessageCount | integer ≥ 0 | 10 | Verbatim messages to include after rotation |
contextManagement.summarizer | string | — | Required when enabled. Sub-agent name for history compression (session-summarizer or session-observer) |
contextManagement.reflectionThresholdChars | integer ≥ 1000 | 40000 | Size 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:
| Option | Description |
|---|---|
baseUrl | Base URL of the endpoint, including /v1 |
defaultModel | Model used when the persona sets none |
providerId | Name of the auth.providers slot used for credentials |
apiMode | chat-completions or responses |
sessionMode | none or previous_response_id. Use the latter only with stateful /v1/responses endpoints |
toolOutputCap | Cap in characters on one MCP tool result before it enters the message history. Defaults to 4000. 0 disables this provider-level fallback |
providerOptions | Flat 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-summarizerExample 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: 4000backgroundAgent
Section titled “backgroundAgent”| Field | Type | Default | Description |
|---|---|---|---|
enabled | boolean | true | Enable background workers globally |
maxConcurrent | integer 1–10 | 3 | Max simultaneous workers |
defaultTimeoutMinutes | integer 15–480 | 30 | Default wall-clock timeout |
defaultProvider | string | claude-code | Provider for workers |
providers | record | built-in claude-code entry | Provider configs (same structure as agentRunner, no contextManagement) |
claudePath | string | — | Explicit path to Claude Code binary |
subagents
Section titled “subagents”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.
| Field | Type | Default | Description |
|---|---|---|---|
<name>.model | array, at least 1 entry | required | Ordered model failover chain |
model[].provider | anthropic | openai | google | ollama | claude-code | codex-sandbox | required | Model provider. claude-code needs subagentCli.claudeCode.enabled. codex-sandbox needs subagentSandbox.codex.enabled |
model[].name | string | required | Model name for that provider |
model[].maxTokens | integer > 0 | manifest value | Max output tokens |
model[].timeoutMs | integer ≥ 1000 | manifest value | Per-model timeout. On timeout Talon moves to the next entry |
model[].providerOptions | object | — | 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-20251001model[].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.
Vision sub-agent
Section titled “Vision sub-agent”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: 60000A persona needs vision in its subagents list and the subagent.invoke capability to run an Inspection. See the vision guide.
subagentCli
Section titled “subagentCli”Opt-in Claude Code adapter for sub-agent generations. It uses the daemon user’s Claude Code subscription login, not auth.providers API keys.
| Field | Type | Default | Description |
|---|---|---|---|
claudeCode.enabled | boolean | false | Allow provider: claude-code in sub-agent model chains |
claudeCode.command | string | claude | Command name or path of the Claude Code binary |
subagentSandbox
Section titled “subagentSandbox”Opt-in Codex subscription runner for sub-agent generations. The Codex process runs in a separate runner container, not in the daemon.
| Field | Type | Default | Description |
|---|---|---|---|
codex.enabled | boolean | false | Allow provider: codex-sandbox in sub-agent model chains |
codex.endpoint | URL | http://codex-runner:9700 | Runner endpoint |
codex.startupTimeoutMs | integer 1000–120000 | 30000 | Time the daemon waits for the runner at boot |
codex.token | string, at least 32 characters | — | Shared bearer token for daemon-to-runner traffic. Required when enabled |
| Field | Type | Default | Description |
|---|---|---|---|
mode | subscription | api_key | subscription | Authentication mode |
apiKey | string | — | API key for api_key mode |
providers.<name>.apiKey | string | — | Per-provider API key |
providers.<name>.baseURL | string | — | 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.
| Field | Type | Default | Description |
|---|---|---|---|
enabled | boolean | false | Start the browser voice runtime |
host | string | 127.0.0.1 | Listener host or address |
port | integer 0–65535 | 0 | Listener port. 0 selects an available port |
publicHost | string | — | Public HTTPS host. Adds https://<publicHost> to the allowed origins |
accessToken | string | — | Access token for browser login. Prefer accessTokenRef |
accessTokenRef | string | voice | Name of the auth.providers.<name>.apiKey slot that holds the access token |
liveApiKeyRef | string | openai | Name of the auth.providers slot used by the live voice provider |
provider | string | — | Deprecated. The selected persona’s provider is used |
model | string | — | Live voice model. The daemon uses gpt-live-1 when omitted. The persona’s model stays the backend model |
persona | string | — | Persona used for backend work. Defaults to the first configured persona |
voice | string | marin | Output voice |
usdPerMinute | number ≥ 0 | — | Rate used for a duration-based cost estimate. No estimate when omitted |
instructions | string | You are Talon, a helpful voice assistant. | Instructions for the live voice provider |
allowedTransportTypes | string[], at least 1 entry | ['webrtc'] | Transport allowlist. The runtime accepts only webrtc |
allowedOrigins | URL[] | [] | Explicit browser origins |
allowedToolNames | string[] | [] | Deprecated and ignored. Voice uses the persona’s capabilities |
allowedMcpServerNames | string[] | [] | Deprecated and ignored. Voice uses the persona’s skills and MCP servers |
maxSessionLifetimeMs | integer ≥ 1000 | 900000 | Maximum voice session lifetime (15 min) |
maxContextChars | integer 256–256000 | 32000 | Limit on the voice context passed to the live provider |
maxConcurrentSessions | integer ≥ 1 | 1 | Active browser session limit |
maxSessionCreations | integer ≥ 1 | 5 | Session creations allowed per window |
sessionCreationWindowMs | integer ≥ 1000 | 60000 | Session creation rate-limit window |
heartbeatIntervalMs | integer ≥ 1000 | 15000 | Heartbeat 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: marinThe 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.
scheduler
Section titled “scheduler”| Field | Type | Default | Description |
|---|---|---|---|
tickIntervalMs | integer ≥ 1000 | 5000 | Scheduler tick interval in ms |
| Field | Type | Default | Description |
|---|---|---|---|
pollIntervalMs | integer ≥ 100 | 500 | IPC poll interval in ms |
daemonSocketDir | string | data/ipc/daemon | Unix socket directory |
Limits for agent-to-agent delegation.
| Field | Type | Default | Description |
|---|---|---|---|
maxHops | integer 1–32 | 4 | Maximum delegation chain depth. A task is rejected when its hop count reaches this value |
maxConcurrentPerTarget | integer 1–100 | 1 | Maximum A2A tasks that run at once for one target persona. More submissions wait in order |
maxQueuedPerTarget | integer 0–1000 | 10 | Maximum A2A tasks that wait for one target persona. Further submissions are rejected |
maxAttempts | integer 1–20 | 1 | Queue attempts for an A2A task before it moves to the dead-letter queue. With 1, a failed run is not re-run |
taskTtlMinutes | integer 1–1440 | 60 | Unfinished tasks older than this are canceled |
a2a: maxHops: 4 maxConcurrentPerTarget: 1 maxQueuedPerTarget: 10 maxAttempts: 1 taskTtlMinutes: 60Which 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.
images
Section titled “images”Limits and retention for inbound images. See the vision guide.
| Field | Type | Default | Description |
|---|---|---|---|
maxInputBytes | integer ≥ 1 | 10485760 | Maximum input bytes per image (10 MiB). Talon checks the actual bytes |
maxPerMessage | integer ≥ 1 | 5 | Images accepted per message. Extra images are rejected |
maxPerInspection | integer ≥ 1 | 5 | Maximum image IDs per vision Inspection |
maxEdge | integer ≥ 1 | 4096 | Longest edge of a normalized image in pixels. Aspect ratio is kept |
jpegQuality | integer 1–100 | 85 | JPEG quality of normalized images |
maxInputPixels | integer 1–268402689 | 100000000 | Maximum decoded source pixels (width × height). Larger sources are rejected before decoding |
maxNormalizedBytes | integer ≥ 1 | 3750000 | Maximum bytes of a normalized image. Talon re-encodes smaller until it fits |
retentionHours | number > 0 | 24 | How 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: 24retentionHours 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.
sandbox
Section titled “sandbox”Controls agent execution sandboxing (Docker or Apple Container).
| Field | Type | Default | Description |
|---|---|---|---|
runtime | docker | apple-container | docker | Container runtime |
image | string | talon-sandbox:latest | Sandbox container image |
maxConcurrent | integer ≥ 1 | 3 | Max concurrent sandboxed agent processes |
networkDefault | off | on | off | Default network access for sandboxed agents |
idleTimeoutMs | integer ≥ 0 | 1800000 | Idle container timeout (30 min) |
hardTimeoutMs | integer ≥ 0 | 3600000 | Hard container timeout (60 min) |
resourceLimits.memoryMb | integer | 1024 | Memory limit per container in MB |
resourceLimits.cpus | float | 1 | CPU limit per container |
resourceLimits.pidsLimit | integer | 256 | PID limit per container |
sprites
Section titled “sprites”Sprites.dev execution environments for sandboxed background agents.
| Field | Type | Default | Description |
|---|---|---|---|
enabled | boolean | false | Enable Sprite execution environments |
token | string | "" | Sprites.dev API token. Required when enabled |
apiBaseUrl | URL | https://api.sprites.dev | API endpoint |
defaultBaseSnapshot | string | — | Reserved for snapshot-based creation. The runtime does not support it yet |
workingDirectory | string | /workspace | Default working directory inside the VM |
createTimeoutMs | integer ≥ 1000 | 60000 | Timeout for VM creation |
execTimeoutMs | integer ≥ 1000 | 1200000 | Default command timeout (20 min) |
autoDestroyOnCompletion | boolean | true | Destroy VMs when the owning task finishes |
resourceLimits.cpus | number ≥ 0.25 | 2 | CPU cores per VM |
resourceLimits.memoryMb | integer ≥ 256 | 4096 | Memory per VM in MB |
resourceLimits.diskGb | integer ≥ 1 | 20 | Disk per VM in GB |
sprites: enabled: true token: ${SPRITES_TOKEN} workingDirectory: /workspace autoDestroyOnCompletion: true resourceLimits: cpus: 2 memoryMb: 4096 diskGb: 20Per-persona sandbox defaults live under personas[].executionEnv.
langfuse
Section titled “langfuse”| Field | Type | Default | Description |
|---|---|---|---|
enabled | boolean | false | Enable Langfuse tracing |
publicKey | string | "" | Required when enabled |
secretKey | string | "" | Required when enabled |
baseUrl | URL | https://cloud.langfuse.com | Langfuse instance URL |
environment | string | production | Environment tag |
release | string | — | Optional release tag |
owner | string | — | Optional owner tag |
exportMode | batched | immediate | batched | Export strategy |
flushAt | integer ≥ 1 | 20 | Batch size before flush |
flushIntervalSeconds | integer ≥ 1 | 5 | Max seconds between flushes |
MCP server definitions
Section titled “MCP server definitions”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.
| Field | Type | Default | Description |
|---|---|---|---|
config.transport | stdio | sse | http | required | Transport type |
config.command | string | — | Command for stdio servers |
config.args | string[] | — | Command arguments for stdio servers |
config.url | string | — | Server URL for sse and http servers |
config.headers | record of strings | — | HTTP headers. Use ${ENV_VAR} for secrets |
config.env | record of strings | — | Environment for stdio servers. Use ${ENV_VAR} for secrets |
config.allowedTools | string[] | — | Tool allowlist for this server |
config.timeoutMs | integer ≥ 1000 | — | Timeout per MCP request in ms. The runtime default of 60000 applies when omitted |
config.toolOutputCap | integer ≥ 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.kind | oauth2 | — | Enables OAuth for an sse or http server. The URL must use HTTPS |
config.auth.tokenStore | string | <skill>/<server> | Token bundle name under <dataDir>/mcp-auth/ |
config.auth.clientIdEnv | string | — | Environment variable that holds a pre-registered client ID. Without it Talon uses Dynamic Client Registration |
config.auth.clientSecretEnv | string | — | Environment variable that holds the client secret. Requires clientIdEnv |
config.auth.authorizationServerIssuer | HTTPS URL | — | Pinned issuer. Required with clientIdEnv |
config.auth.scopes | string[] | — | OAuth scopes to request. Talon requests none by default |
config.auth.tokenEndpointAuthMethod | none | 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.