Skip to content

Config File Reference

Complete reference for config.yaml

The main configuration file is located at ~/.config/astonish/config.yaml.

Useful commands:

  • astonish config directory — print the config directory path
  • astonish config edit — open the config file in your editor
  • astonish config show — display the current configuration
KeyTypeDefaultDescription
default_providerstringDefault provider instance name
default_modelstringDefault model name
web_search_toolstringConfigured web search tool
web_extract_toolstringConfigured web extract tool
context_lengthintOverride context window size (tokens)
timezonestringIANA timezone (e.g., "America/New_York")
KeyTypeDefaultDescription
system_promptstringCustom system prompt
max_tool_callsintMax tool calls per turn
max_toolsintMax tools available to agent
auto_approveboolfalseAuto-approve tool executions
workspace_dirstringWorking directory
flow_save_dirstringDirectory for saved flows
KeyTypeDefaultDescription
storagestring"file""memory" or "file"
base_dirstring~/.config/astonish/sessions/Session storage directory
compaction.enabledbooltrueEnable auto-compaction
compaction.thresholdfloat0.8Context fraction triggering compaction
compaction.preserve_recentint4Recent messages to keep intact
KeyTypeDefaultDescription
enabledbooltrueEnable memory system
memory_dirstring~/.config/astonish/memory/Memory files directory
vector_dirstring~/.config/astonish/memory/vectors/Vector store directory
embedding.providerstring"auto"auto, local, openai, ollama, openai-compat
embedding.modelstringEmbedding model name
embedding.base_urlstringEmbedding API URL
embedding.api_keystringEmbedding API key
chunking.max_charsint1600Max characters per chunk
chunking.overlapint320Overlap between chunks
search.max_resultsint6Max search results
search.min_scorefloat0.35Min similarity score
sync.watchbooltrueFile watcher enabled
sync.debounce_msint1500Debounce for file changes
KeyTypeDefaultDescription
portint9393HTTP port
log_dirstring~/.config/astonish/logs/Log directory
auth.disabledboolfalseDisable Studio auth
auth.session_ttl_daysint90Auth session TTL
KeyTypeDefaultDescription
enabledboolfalseMaster channel switch
telegram.enabledboolfalseEnable Telegram
telegram.bot_tokenstringTelegram bot token
telegram.allow_fromstring[]Allowed Telegram user IDs
email.enabledboolfalseEnable email channel
email.providerstring"imap"imap or gmail
email.imap_serverstringIMAP server:port
email.smtp_serverstringSMTP server:port
email.addressstringAgent email address
email.usernamestringLogin username
email.passwordstringLogin password (credential store)
email.poll_intervalint30Seconds between checks
email.allow_fromstring[]Allowed sender emails
email.folderstring"INBOX"IMAP folder
email.mark_readbooltrueMark processed as read
email.max_body_charsint50000Max email body chars
KeyTypeDefaultDescription
headlessboolfalseHeadless mode
viewport_widthint1280Viewport width
viewport_heightint720Viewport height
chrome_pathstringCustom Chrome binary
user_data_dirstring~/.config/astonish/browser/Profile directory
navigation_timeoutint30Page load timeout (seconds)
proxystringHTTP/SOCKS proxy
remote_cdp_urlstringExternal CDP WebSocket URL
fingerprint_seedstringCloakBrowser fingerprint seed
fingerprint_platformstringCloakBrowser OS platform
handoff_bind_addressstring"127.0.0.1"Handoff binding address
handoff_portint9222CDP handoff port
KeyTypeDefaultDescription
enabledbooltrueEnable delegation
max_depthint2Max nesting depth
max_concurrentint5Max parallel sub-agents
task_timeout_secint300Per-task timeout
KeyTypeDefaultDescription
enabledbooltrueEnable skills
user_dirstring~/.config/astonish/skills/Custom skills directory
extra_dirsstring[]Additional skill directories
allowliststring[]Restrict loaded skills
KeyTypeDefaultDescription
enabledbooltrueEnable scheduler
KeyTypeDescription
namestringDisplay name
usernamestringBase username
emailstringAgent email
biostringShort description
websitestringURL for profiles
localestringLanguage/locale (e.g., "en-US")
timezonestringIANA timezone
KeyTypeDescription
modelstringOverride model for OpenCode delegate