Complete reference for config.toml. All sections and their defaults.
config.toml
kind
"openai_compatible"
openai_compatible
google_genai
anthropic
api_key
—
base_url
"https://api.openai.com/v1"
primary
"openai/gpt-4o"
fast
"openai/gpt-4o-mini"
smart
bot_token
allowed_user_ids
[]
db_path
"aidaemon.db"
working_memory_cap
50
consolidation_interval_hours
6
allowed_prefixes
(see below)
Default allowed prefixes:
ls, cat, head, tail, echo, date, whoami, pwd, find, wc, grep, tree, file, stat, uname, df, du, ps, which, env, printenv
;
|
&&
||
$()
health_port
8080
health_bind
"127.0.0.1"
host
port
username
password
folder
"INBOX"
command
args
enabled
false
headless
true
screenshot_width
1280
screenshot_height
720
user_data_dir
null
profile
dir
"skills"
max_depth
3
max_iterations
10
max_response_chars
8000
timeout_secs
300
600
max_output_chars
16000
description
[provider] kind = "openai_compatible" api_key = "sk-..." base_url = "https://api.openai.com/v1" [provider.models] primary = "gpt-4o" fast = "gpt-4o-mini" smart = "o1-preview" [telegram] bot_token = "123456:ABC-DEF..." allowed_user_ids = [123456789] [state] db_path = "aidaemon.db" working_memory_cap = 50 [terminal] allowed_prefixes = ["ls", "cat", "head", "tail", "echo", "date", "whoami"] [daemon] health_port = 8080 [mcp.filesystem] command = "npx" args = ["-y", "@anthropic/mcp-filesystem"] [browser] enabled = true headless = true [skills] dir = "skills" enabled = true