How to pre-configure Agent Zero with A0_SET_
Working with VPS or just in need of auto-config? You can skip the Settings UI entirely and set any Agent Zero setting straight from your .env file. This is especially useful for Docker deployments, CI pipelines, or if you just want a reproducible setup. How it works Add any setting to your `.env` file with the `A0_SET_` prefix: ``` A0_SET_{setting_name}={value} ``` A few examples: # Models A0_SET_chat_model_provider=anthropic A0_SET_chat_model_name=claude-sonnet-4.6 A0_SET_chat_model_ctx_length=200000 A0_SET_util_model_provider=openrouter A0_SET_util_model_name=google/gemini-3-flash-preview # Agent profile A0_SET_agent_profile=agent0 A0_SET_agent_knowledge_subdir=custom The name is case-insensitive (A0_SET_chat_model_provider and A0_SET_CHAT_MODEL_PROVIDER both work). These env vars act as defaults: if you later change a setting in the UI and save, the saved value takes priority. Think of A0_SET_ as default if nothing else is configured. Questions? Drop them in #general! See you in the Community Call at 4PM UTC. Skool link: https://www.skool.com/live/DlyvNKHbyWw