Docs
Configuration

Configuration

Config files, environment variables, runtime settings, and secrets.

Facio can be configured through files, environment variables, Placet settings, the management API, and runtime commands. Docker quickstart uses environment variables for the first boot, then the running agent can persist settings through the same config model.

Main config areas

AreaWhat it controls
agents.defaultsWorkspace, model, provider, token limits, concurrency, sessions, goals, Reflection, self-improvement.
providersAPI keys, API bases, extra headers/body per provider.
channelsPlacet, Telegram, Slack, Discord, Email, Teams, transcription, progress visibility.
apiHTTP API host, port, management token, A2A token, CORS, rate limit.
gatewayGateway/server host, port, heartbeat settings.
toolsWeb, exec, browser, MCP servers, guardrails, policy.
auditAudit storage, preview size, retention intent.
loggingPersistent log file behavior.

How settings are applied

  • Docker Compose envs provide initial runtime values.
  • Placet settings and PATCH /api/v1/settings persist changes to config.
  • Provider credentials can be changed without returning raw values.
  • Some settings hot-apply to the running loop; others return restart_needed.
  • Secrets should go through the credential store, not plain docs or prompts.

Pages

PageUse it for
Environment variablesQuickstart envs and stable Facio env overrides.
CredentialsSecret storage, provider keys, placeholders, and exposure boundaries.

On this page