Every key is also a CARE_<SECTION>__<KEY> environment variable. The full
annotated list is .env.example in the MAESTRO repository. Defaults below are
from care/config.py.
| Key | Default | Notes |
|---|
mode | deep | fast or deep. Applies in the desktop app too. |
api_key, base_url, model | unset | Generator endpoint for the CLI, TUI and legacy workbench. The desktop app uses it only with defaults.chain_model = "custom"; otherwise it is the evolution platform’s fallback model. |
enable_memory_research | true | Recall related saved chains before planning. |
memory_search_mode | bm25 | bm25, vector or hybrid. |
enable_web_research | false | Let generation search the web. |
web_search_provider, web_search_api_key | tavily, unset | tavily, serper, exa, serpapi, brave, duckduckgo (no key). |
enable_needs_analysis | false | Extra planning pass for required tools, skills and inputs. |
max_llm_calls, max_input_tokens, max_output_tokens, max_total_tokens, max_wall_time_seconds, max_cost_usd | unset | Hard per-generation limits; generation fails before exceeding one. |
enable_topology_selection | true | Let the planner choose non-linear chain shapes. |
simplicity_bias, simplicity_max_steps | 0.2, 7 | Plan length controls. |
| Key | Default | Notes |
|---|
base_url | http://localhost:8002 | GigaEvo Memory API. For a hosted store include its API prefix. A pasted IdeaL page address (…/api/v1/ideal/app) is cut to its /api root. |
api_key | unset | When the server needs one. In the app, the key you enter on the IdeaL sign-in page is saved here (CARE_MEMORY__API_KEY in the app’s .env). |
timeout | 30 | Seconds. |
read_only | false | Never write: no saved chains, tools, skills or ideas; evolution runs without IdeaL memory. |
retrieval_backend | legacy | legacy or ideal. With ideal, chains, recall and ideas use the IdeaL namespace. |
ideal_namespace | unset | Required when retrieval_backend = "ideal", unless ideal_project is set. |
ideal_project | unset | Development line. Active IdeaL project (slug or id) on stands with projects. Unset: the key’s only project, else the one whose lake is ideal_namespace, else the first. |
| Key | Default | Notes |
|---|
base_url | http://localhost:8000 | Platform control API. |
master_base_url | http://localhost:8000 | Used when base_url still points at a runner on port 8001. |
api_key | unset | |
mutation_base_url, mutation_model, mutation_api_key | OpenRouter URL, a free model, unset | The model the platform uses to propose chain variants. |
validation_base_url, validation_model, validation_api_key | OpenRouter URL, a free model, unset | The judge model. |
mutation_max_tokens, validation_max_tokens | 8192, 2048 | Per-call caps written to the platform’s model config. |
The platform calls these models itself; MAESTRO does not.
| Key | Default | Notes |
|---|
kind | docker | docker (needs the docker extra and a running daemon), e2b (cloud microVM; e2b extra and key), firejail (Linux only), local (subprocess, for internal testing only; unsafe). |
cpu_limit | 2.0 | |
mem_limit | 1g | Docker-style: 512m, 1g, 2048k. |
pids_limit | 256 | |
network_policy | skill_declared | none, skill_declared (domains declared by the skill), open. |
image | python:3.12-slim | Container image. |
| Key | Default | Notes |
|---|
path | ~/.config/care/tools | Directory of @carl_tool files. |
tag_filter, name_prefix | unset, empty | Register only tagged tools; prefix names. |
enable_builtins | true | web_search, fetch_url, http_request, calculator, current_datetime, and run_python when code execution is on. |
web_search_provider, web_search_api_key, search_provider_keys | tavily, unset, {} | DuckDuckGo is the keyless fallback. |
enable_code_exec | true | run_python in the Docker sandbox. |
code_exec_timeout | 60 | Seconds per sandbox call. |
auto_synthesize_tools | true | Write and register a missing tool before a run (needs code execution). |
starm_host, starm_ports, starm_timeout | http://localhost, {}, 120 | STARM solver servers; a solver tool exists only for a task with a port. See STARM solvers. |
| Key | Default | Notes |
|---|
default_mode | interactive | interactive or production. ad_hoc, ad-hoc, adhoc → interactive; prod → production. |
mode.<mode>.<stage> | unset | Stage policy override, env CARE_CHAT__MODE__<MODE>__<STAGE> = ask, auto or skip. See modes. |
| Key | Default | Notes |
|---|
language | en | Language chains answer in (CLI/TUI execution). |
ui_language | ru | TUI language. The desktop app follows its own language setting. |
chain_author | agent | Development line, desktop app. Who writes a new chain: agent (the chat agent writes, test-runs and repairs it) or mage (the MAGE generator). |
clarify_mode | ask | Development line, desktop app. Before building: ask for what is missing with question cards, or auto: decide and state assumptions. |
chain_model | chat | Development line, desktop app. Model for chain generation, execution and repair: chat (the session’s chat model) or custom (the [mage] endpoint, model and key). |
dag_layout | tb | TUI DAG modal: tb or lr. |
dag_ascii, dag_bus_lanes | false | TUI DAG drawing options. |
max_history_entries | 50 | |
reduced_motion | false | Disable TUI animations. The desktop app follows the system Reduce motion setting. |
| Key | Default | Notes |
|---|
enabled | true | Read CARE.md standing context. |
global_path, project_filename | ~/.config/care/CARE.md, CARE.md | Global and per-project files. |
max_chars | 8000 | Cap on merged context. |
auto_learn_facts | false | Write learned facts into the global CARE.md (one extra model call per turn). |
ltm_enabled, ltm_dir, ltm_autosave | true, ~/.config/care/ltm, true | CARL long-term memory. |
| Section | Keys |
|---|
hub | base_url (http://127.0.0.1:8080), port (8080), autostart (true), state_file (~/.care/agent-hub.json), agent_server_cmd, start_timeout, timeout. See Deploying agents. |
upload | url (empty disables /upload), api_key, auth_header (Authorization), timeout. |
telemetry | enabled (false), backend (null or langfuse), host, public_key, secret_key. |
artifacts | dir: where files produced by chains are copied (default ~/.care/artifacts). |