A full example
Every setting Silo reads, filled in once, in the same groups as Admin → Settings. Both files below set exactly the same configuration: Silo loads each into the same settings, which is checked against its own validator.
This is a reference, not a starting point. Set only what you need: an unset key keeps its default, and most of this is easier to set in Admin, which writes silo.yaml for you. A value in the environment wins over the file and is locked in Admin, so the .env suits what a deployment fixes (the database, the first admin, the public address) better than what you will change.
The values are examples. Keys and secrets are shortened with …, and the models are only ones that fit the job. What each key does is on its page; Every setting has the defaults.
# ── Server ───────────────────────────────────────────────────────────────public_url: https://silo.example.comhttp_addr: ":8080"worker_addr: ":8081"data_dir: /var/lib/silo/datadatabase_url: postgres://silo:change-me@db:5432/silo?sslmode=disabledocker_host: unix:///run/docker.sockcp_url: http://silo:8080cp_network: silodebug: falsesiloos: socket: "" # set by SiloOS only
images: pull: missing # missing | always | neverbot_image: "" # empty follows this releasemcp_stdio_image: ""bot_limits: memory_mb: 8192 # 0 = no cap pids: 4096
# ── Models ───────────────────────────────────────────────────────────────models: - anthropic/claude-opus-5 - anthropic/claude-opus-5:fast - openrouter/openai/gpt-5.6-luna - groq/openai/gpt-oss-120bdecision_models: - openrouter/typesafe/jev-1.13transcription_models: - openai/gpt-4o-transcribe - deepgram/nova-3speech_models: - elevenlabs/eleven_flash_v2_5embedding_models: - openrouter/openai/text-embedding-3-smallimage_models: - openrouter/google/gemini-3-pro-image - bfl/flux-3-image
model: anthropic/claude-opus-5model_title: openrouter/openai/gpt-5.6-lunamodel_subagent: openrouter/openai/gpt-5.6-lunamodel_memory: openrouter/openai/gpt-5.6-lunamodel_approval: openrouter/typesafe/jev-1.13model_filter: openrouter/typesafe/jev-1.13model_decision: openrouter/typesafe/jev-1.13model_image: openrouter/google/gemini-3-pro-imagemodel_voice: groq/openai/gpt-oss-120bembedding_model: openrouter/openai/text-embedding-3-smalltranscribe_model: openai/gpt-4o-transcribe
context: window: 128000 # when the provider reports none compact_at: 0.8 windows: - model: anthropic/claude-opus-5 window: 200000thinking: levels: - model: openrouter/openai/gpt-5.6-luna levels: [low, medium, high]runs: max_duration: 120m # -1 = no limit
providers: openrouter: api_key: sk-or-… base_url: https://openrouter.ai/api/v1 cache: true cache_ttl: 1h ignore: DeepInfra # none = route anywhere openai: api_key: sk-… cache: true anthropic: api_key: sk-ant-… cache: true cache_ttl: 1h max_tokens: 8192 claude: # a Claude subscription, for your own use only dir: /var/lib/silo/data/claude binary: "" # empty: the copy Admin installed oauth_token: "" chatgpt: # a ChatGPT plan; sign in under Admin dir: /var/lib/silo/data/chatgpt local: base_url: http://localhost:8000/v1 api_key: "" realtime: "" # openai | speaches for live transcription typesafe: api_key: ts-… groq: api_key: gsk_… cerebras: api_key: csk-… deepgram: api_key: dg-… elevenlabs: api_key: el-… cartesia: api_key: sk_car_… inworld: api_key: base64-key-from-the-portal soniox: api_key: sx-… assemblyai: api_key: aai-… fal: api_key: fal-… replicate: api_key: r8_… bfl: api_key: bfl-… stability: api_key: sk-… google: api_key: AIza… xai: api_key: xai-…
# ── Search ───────────────────────────────────────────────────────────────search: engine: builtin # builtin | searxng | brave | exa builtin: sources: duckduckgo, yahoo, seznam, wikipedia, marginalia marginalia_key: mg-… searxng: url: http://searxng:8080 brave: api_key: BSA… exa: api_key: exa-…reader: render: true block_private: true allow: 10.0.4.20, 10.0.5.0/24 github_token: github_pat_…
# ── Memory & knowledge ───────────────────────────────────────────────────memory: in_prompt: true collect: true infer: trueknowledge: enabled: true sync_interval: 15m ocr: true
# ── Context & runs ───────────────────────────────────────────────────────changes: enabled: true max_file_mb: 8 keep_days: 30artifacts: max_mb: 2048tools: expose_completion: [web_search, decide]onboarding: prompt: "" # empty: the built-in interview
# ── Voice & calls ────────────────────────────────────────────────────────voice: enabled: true mode: talker # talker | direct transcribe_model: deepgram/nova-3 speech_model: elevenlabs/eleven_flash_v2_5 max_minutes: 30 idle_minutes: 3 approve_by_voice: true opus_library: "" webrtc: udp_port: 3479 tcp_port: 3479 public_ips: [203.0.113.10] ice_servers: ["turn:silo:a-long-password@turn.example.com:3478"]
# ── Rules ────────────────────────────────────────────────────────────────rules: approval_policy: | Reading anything is fine. Sending anything outside the company asks a person. output_policy: "" # empty: only the Bot's own, or the built-in onefilter: enabled: true max_chars: 48000audit: detail_days: 7 traffic_days: 30
# ── Connector options ────────────────────────────────────────────────────connector_vars: LIGHTPANDA_URL: http://lightpanda:9223 TENANT: acmeautoenable_connectors: [lightpanda]outbound: block_private: true allow: 127.0.0.1:9223, 10.0.5.0/24
# ── Drives ───────────────────────────────────────────────────────────────drives: image: "" mount_root: /var/lib/silo/data/drives-mnt cache_max_size: 10G providers: gdrive: client_id: 1234.apps.googleusercontent.com client_secret: GOCSPX-… onedrive: client_id: 00000000-0000-0000-0000-000000000000 client_secret: … dropbox: client_id: … client_secret: … box: client_id: … client_secret: … pcloud: client_id: … client_secret: …
# ── Tunnels & apps ───────────────────────────────────────────────────────content: host: silo-content.example.com scheme: httpstunnels: enabled: true
# ── Mail ─────────────────────────────────────────────────────────────────mail: enabled: true domain: bots.example.com addr: ":2525" max_size_mb: 10 tls_cert: /etc/silo/mail.crt tls_key: /etc/silo/mail.key
# ── Network ──────────────────────────────────────────────────────────────egress: enabled: true image: "" subnet_pool: 10.213.0.0/16 block: [bad.example.com, "*.tracker.example.com", 203.0.113.0/24] trust: [registry.internal.example.com] pass: [chat.example.com] dns: 1.1.1.1, 9.9.9.9 feeds: # naming any replaces the three built in - id: spamhaus_drop url: https://www.spamhaus.org/drop/drop_v4.json format: cidr_json - id: my_list url: https://lists.example.com/bad-hosts.txt format: domains
# ── HTTPS ────────────────────────────────────────────────────────────────caddy: admin: unix//run/caddy/admin.sock upstream: silo:8080 mode: auto # auto | acme | internal | off email: you@example.com dns_provider: cloudflare dns: cloudflare: api_token: cf-…
# ── Sign-in ──────────────────────────────────────────────────────────────bootstrap: email: admin@example.com password: change-meauth: password: true trusted_proxies: 10.212.0.3 host_cookie: falsespaces: invite_signup: falseoidc: issuer: https://id.example.com/application/o/silo/ client_id: silo client_secret: … scopes: openid email profile label: Company login auto_create: true allowed_domains: example.com groups_claim: groups admin_group: silo-admins# ServerSILO_PUBLIC_URL=https://silo.example.comSILO_HTTP_ADDR=:8080SILO_WORKER_ADDR=:8081SILO_DATA_DIR=/var/lib/silo/dataSILO_DATABASE_URL=postgres://silo:change-me@db:5432/silo?sslmode=disableSILO_DOCKER_HOST=unix:///run/docker.sockSILO_CP_URL=http://silo:8080SILO_CP_NETWORK=siloSILO_DEBUG=false# SILO_SILOOS__SOCKET=SILO_IMAGES__PULL=missing# SILO_BOT_IMAGE=# SILO_MCP_STDIO_IMAGE=SILO_BOT_LIMITS__MEMORY_MB=8192SILO_BOT_LIMITS__PIDS=4096
# ModelsSILO_MODELS=anthropic/claude-opus-5,anthropic/claude-opus-5:fast,openrouter/openai/gpt-5.6-luna,groq/openai/gpt-oss-120bSILO_DECISION_MODELS=openrouter/typesafe/jev-1.13SILO_TRANSCRIPTION_MODELS=openai/gpt-4o-transcribe,deepgram/nova-3SILO_SPEECH_MODELS=elevenlabs/eleven_flash_v2_5SILO_EMBEDDING_MODELS=openrouter/openai/text-embedding-3-smallSILO_IMAGE_MODELS=openrouter/google/gemini-3-pro-image,bfl/flux-3-imageSILO_MODEL=anthropic/claude-opus-5SILO_MODEL_TITLE=openrouter/openai/gpt-5.6-lunaSILO_MODEL_SUBAGENT=openrouter/openai/gpt-5.6-lunaSILO_MODEL_MEMORY=openrouter/openai/gpt-5.6-lunaSILO_MODEL_APPROVAL=openrouter/typesafe/jev-1.13SILO_MODEL_FILTER=openrouter/typesafe/jev-1.13SILO_MODEL_DECISION=openrouter/typesafe/jev-1.13SILO_MODEL_IMAGE=openrouter/google/gemini-3-pro-imageSILO_MODEL_VOICE=groq/openai/gpt-oss-120bSILO_EMBEDDING_MODEL=openrouter/openai/text-embedding-3-smallSILO_TRANSCRIBE_MODEL=openai/gpt-4o-transcribeSILO_CONTEXT__WINDOW=128000SILO_CONTEXT__COMPACT_AT=0.8SILO_RUNS__MAX_DURATION=120mSILO_PROVIDERS__OPENROUTER__API_KEY=sk-or-…SILO_PROVIDERS__OPENROUTER__BASE_URL=https://openrouter.ai/api/v1SILO_PROVIDERS__OPENROUTER__CACHE=trueSILO_PROVIDERS__OPENROUTER__CACHE_TTL=1hSILO_PROVIDERS__OPENROUTER__IGNORE=DeepInfraSILO_PROVIDERS__OPENAI__API_KEY=sk-…SILO_PROVIDERS__OPENAI__CACHE=trueSILO_PROVIDERS__ANTHROPIC__API_KEY=sk-ant-…SILO_PROVIDERS__ANTHROPIC__CACHE=trueSILO_PROVIDERS__ANTHROPIC__CACHE_TTL=1hSILO_PROVIDERS__ANTHROPIC__MAX_TOKENS=8192SILO_PROVIDERS__CLAUDE__DIR=/var/lib/silo/data/claude# SILO_PROVIDERS__CLAUDE__BINARY=# SILO_PROVIDERS__CLAUDE__OAUTH_TOKEN=SILO_PROVIDERS__LOCAL__BASE_URL=http://localhost:8000/v1# SILO_PROVIDERS__LOCAL__API_KEY=# SILO_PROVIDERS__LOCAL__REALTIME=SILO_PROVIDERS__TYPESAFE__API_KEY=ts-…SILO_PROVIDERS__GROQ__API_KEY=gsk_…SILO_PROVIDERS__CEREBRAS__API_KEY=csk-…SILO_PROVIDERS__DEEPGRAM__API_KEY=dg-…SILO_PROVIDERS__ELEVENLABS__API_KEY=el-…SILO_PROVIDERS__CARTESIA__API_KEY=sk_car_…SILO_PROVIDERS__INWORLD__API_KEY=base64-key-from-the-portalSILO_PROVIDERS__SONIOX__API_KEY=sx-…SILO_PROVIDERS__ASSEMBLYAI__API_KEY=aai-…SILO_PROVIDERS__FAL__API_KEY=fal-…SILO_PROVIDERS__REPLICATE__API_KEY=r8_…SILO_PROVIDERS__BFL__API_KEY=bfl-…SILO_PROVIDERS__STABILITY__API_KEY=sk-…SILO_PROVIDERS__GOOGLE__API_KEY=AIza…SILO_PROVIDERS__XAI__API_KEY=xai-…
# SearchSILO_SEARCH__ENGINE=builtinSILO_SEARCH__BUILTIN__SOURCES='duckduckgo, yahoo, seznam, wikipedia, marginalia'SILO_SEARCH__BUILTIN__MARGINALIA_KEY=mg-…SILO_SEARCH__SEARXNG__URL=http://searxng:8080SILO_SEARCH__BRAVE__API_KEY=BSA…SILO_SEARCH__EXA__API_KEY=exa-…SILO_READER__RENDER=trueSILO_READER__BLOCK_PRIVATE=trueSILO_READER__ALLOW='10.0.4.20, 10.0.5.0/24'SILO_READER__GITHUB_TOKEN=github_pat_…
# Memory & knowledgeSILO_MEMORY__IN_PROMPT=trueSILO_MEMORY__COLLECT=trueSILO_MEMORY__INFER=trueSILO_KNOWLEDGE__ENABLED=trueSILO_KNOWLEDGE__SYNC_INTERVAL=15mSILO_KNOWLEDGE__OCR=true
# Context & runsSILO_CHANGES__ENABLED=trueSILO_CHANGES__MAX_FILE_MB=8SILO_CHANGES__KEEP_DAYS=30SILO_ARTIFACTS__MAX_MB=2048SILO_TOOLS__EXPOSE_COMPLETION=web_search,decide# SILO_ONBOARDING__PROMPT=
# Voice & callsSILO_VOICE__ENABLED=trueSILO_VOICE__MODE=talkerSILO_VOICE__TRANSCRIBE_MODEL=deepgram/nova-3SILO_VOICE__SPEECH_MODEL=elevenlabs/eleven_flash_v2_5SILO_VOICE__MAX_MINUTES=30SILO_VOICE__IDLE_MINUTES=3SILO_VOICE__APPROVE_BY_VOICE=true# SILO_VOICE__OPUS_LIBRARY=SILO_VOICE__WEBRTC__UDP_PORT=3479SILO_VOICE__WEBRTC__TCP_PORT=3479SILO_VOICE__WEBRTC__PUBLIC_IPS=203.0.113.10SILO_VOICE__WEBRTC__ICE_SERVERS=turn:silo:a-long-password@turn.example.com:3478
# RulesSILO_RULES__APPROVAL_POLICY='Reading anything is fine. Sending anything outside the company asks a person.'# SILO_RULES__OUTPUT_POLICY=SILO_FILTER__ENABLED=trueSILO_FILTER__MAX_CHARS=48000SILO_AUDIT__DETAIL_DAYS=7SILO_AUDIT__TRAFFIC_DAYS=30
# Connector optionsSILO_CONNECTOR_VARS__LIGHTPANDA_URL=http://lightpanda:9223SILO_CONNECTOR_VARS__TENANT=acmeSILO_AUTOENABLE_CONNECTORS=lightpandaSILO_OUTBOUND__BLOCK_PRIVATE=trueSILO_OUTBOUND__ALLOW='127.0.0.1:9223, 10.0.5.0/24'
# Drives# SILO_DRIVES__IMAGE=SILO_DRIVES__MOUNT_ROOT=/var/lib/silo/data/drives-mntSILO_DRIVES__CACHE_MAX_SIZE=10GSILO_DRIVES__PROVIDERS__GDRIVE__CLIENT_ID=1234.apps.googleusercontent.comSILO_DRIVES__PROVIDERS__GDRIVE__CLIENT_SECRET=GOCSPX-…SILO_DRIVES__PROVIDERS__ONEDRIVE__CLIENT_ID=00000000-0000-0000-0000-000000000000SILO_DRIVES__PROVIDERS__ONEDRIVE__CLIENT_SECRET=…SILO_DRIVES__PROVIDERS__DROPBOX__CLIENT_ID=…SILO_DRIVES__PROVIDERS__DROPBOX__CLIENT_SECRET=…SILO_DRIVES__PROVIDERS__BOX__CLIENT_ID=…SILO_DRIVES__PROVIDERS__BOX__CLIENT_SECRET=…SILO_DRIVES__PROVIDERS__PCLOUD__CLIENT_ID=…SILO_DRIVES__PROVIDERS__PCLOUD__CLIENT_SECRET=…
# Tunnels & appsSILO_CONTENT__HOST=silo-content.example.comSILO_CONTENT__SCHEME=httpsSILO_TUNNELS__ENABLED=true
# MailSILO_MAIL__ENABLED=trueSILO_MAIL__DOMAIN=bots.example.comSILO_MAIL__ADDR=:2525SILO_MAIL__MAX_SIZE_MB=10SILO_MAIL__TLS_CERT=/etc/silo/mail.crtSILO_MAIL__TLS_KEY=/etc/silo/mail.key
# NetworkSILO_EGRESS__ENABLED=true# SILO_EGRESS__IMAGE=SILO_EGRESS__SUBNET_POOL=10.213.0.0/16SILO_EGRESS__BLOCK=bad.example.com,*.tracker.example.com,203.0.113.0/24SILO_EGRESS__TRUST=registry.internal.example.comSILO_EGRESS__PASS=chat.example.comSILO_EGRESS__DNS='1.1.1.1, 9.9.9.9'
# HTTPSSILO_CADDY__ADMIN=unix//run/caddy/admin.sockSILO_CADDY__UPSTREAM=silo:8080SILO_CADDY__MODE=autoSILO_CADDY__EMAIL=you@example.comSILO_CADDY__DNS_PROVIDER=cloudflareSILO_CADDY__DNS__CLOUDFLARE__API_TOKEN=cf-…
# Sign-inSILO_BOOTSTRAP__EMAIL=admin@example.comSILO_BOOTSTRAP__PASSWORD=change-meSILO_AUTH__PASSWORD=trueSILO_AUTH__TRUSTED_PROXIES=10.212.0.3SILO_AUTH__HOST_COOKIE=falseSILO_SPACES__INVITE_SIGNUP=falseSILO_OIDC__ISSUER=https://id.example.com/application/o/silo/SILO_OIDC__CLIENT_ID=siloSILO_OIDC__CLIENT_SECRET=…SILO_OIDC__SCOPES='openid email profile'SILO_OIDC__LABEL='Company login'SILO_OIDC__AUTO_CREATE=trueSILO_OIDC__ALLOWED_DOMAINS=example.comSILO_OIDC__GROUPS_CLAIM=groupsSILO_OIDC__ADMIN_GROUP=silo-adminsA commented line is a setting whose example value is empty, which is its default. Setting it to empty in the environment would still lock it in Admin.
What the environment cannot set
Section titled “What the environment cannot set”Three settings are lists of objects, and can only be set in silo.yaml:
context.windows: a context window per model.thinking.levels: thinking levels per model.egress.feeds: the network filter’s threat lists.
A multi-line value, like a policy, goes on one line in the environment.