You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bind mode: "localhost" (loopback only), "lan" (all interfaces), or a custom address
auth.mode
string
"token"
Auth mode: "token" (bearer) or "none"
gateway.tls
Field
Type
Default
Description
enabled
bool
false
Whether TLS termination is active
cert_path
string
--
Path to PEM-encoded certificate file
key_path
string
--
Path to PEM-encoded private key file
gateway.cors
Field
Type
Default
Description
allowed_origins
string[]
[]
Allowed origins. Empty or ["*"] is permissive.
max_age_secs
u64
3600
Preflight cache duration (seconds)
gateway.body_limit
Field
Type
Default
Description
max_bytes
usize
1048576
Maximum request body size (1 MB)
gateway.csrf
Field
Type
Default
Description
enabled
bool
false
Whether CSRF header checking is active
header_name
string
"x-requested-with"
Required header name
header_value
string
"aletheia"
Required header value
gateway.rate_limit
Per-IP rate limiting for API endpoints. Requests that exceed the limit receive
429 Too Many Requests with a Retry-After header indicating when to retry.
The client IP is read from X-Forwarded-For or X-Real-IP (reverse proxy)
and falls back to 127.0.0.1 for direct connections.
JWT validation tuning. Applies to every bearer token the gateway accepts.
Field
Type
Default
Description
clock_skew_leeway_secs
u64
30
Seconds of clock drift tolerated when checking the exp claim. A token whose exp lies up to this many seconds in the past is still accepted. Set to 0 for strict expiry on tightly synchronized hosts.
[jwt]
clock_skew_leeway_secs = 30
channels
channels.signal
Field
Type
Default
Description
enabled
bool
true
Enable Signal channel
accounts
map<string, account>
{}
Named Signal account configs
channels.signal.accounts.*
Field
Type
Default
Description
name
string
--
Display label
enabled
bool
true
Enable this account
account
string
--
Phone number (e.g. "+15551234567")
http_host
string
"localhost"
signal-cli JSON-RPC host
http_port
u16
8080
signal-cli JSON-RPC port
cli_path
string
--
Path to signal-cli binary (auto-detected if unset)
The mock provider returns zero vectors, useful for development without loading ML models.
credential
Controls how the server discovers LLM API credentials. The source field selects the resolution strategy.
Field
Type
Default
Description
source
string
"auto"
Credential strategy: "auto" (instance file, then env vars, then Claude Code credentials), "api-key" (instance file and env vars only), "claude-code" (prefer Claude Code credentials)
claude_code_credentials
string
null
Override path to the Claude Code credentials file. Resolves to ~/.claude/.credentials.json when unset.
Filesystem sandbox applied to tool execution. When enabled, tools are restricted to the paths explicitly listed in agents.*.allowed_roots plus any extra paths declared here.
Field
Type
Default
Description
enabled
bool
true
Whether sandbox restrictions are applied
enforcement
string
"enforcing"
"enforcing" blocks violations; "permissive" logs them without blocking
extra_read_paths
string[]
[]
Additional filesystem paths granted read access to all tools
extra_write_paths
string[]
[]
Additional filesystem paths granted read+write access to all tools
extra_exec_paths
string[]
[]
Additional filesystem paths granted execute access. Values may begin with ~, which expands to $HOME at policy-build time.