~/.operator/operator.yaml.
Defaults
| Field | Description |
|---|---|
models | Fallback chain — if the first model errors, the next is tried. Always use list format. |
max_iterations | Maximum tool-call loops per agent run. |
context_ratio | Fraction of context window to use for conversation history. |
max_output_tokens | Cap output length per LLM call. null uses each model’s max. |
env_file | Path to env file for API keys. Supports ~ expansion. |
Agents
models, max_iterations, context_ratio, and max_output_tokens from defaults. Agents without a transport block are available for jobs and sub-agent spawning but have no chat interface.
See Agents for details on agent prompts and workspaces.
Memory
| Field | Description |
|---|---|
embed_model | Required when any memory service is enabled. |
embed_dimensions | Embedding vector size. |
max_memories | Per-scope soft cap. |
inject_top_k | Memories injected per message. |
inject_min_relevance | Cosine similarity threshold. |
Harvester
Extracts facts from conversations using an LLM and stores them as vector embeddings in SQLite (via sqlite-vec). When enabled,schedule and model are required.
Cleaner
Deduplicates, merges, and tidies stored memories by sending them through an LLM. When enabled,schedule and model are required.
See Memory for more on scopes, pinning, and retrieval.
Environment Variables
API keys are resolved from the environment, loaded viaenv_file:
provider/model-name).
Settings
| Field | Description |
|---|---|
show_usage | Append token usage stats as a reply after each agent response. Defaults to false. |

