Skip to content

Section Reference

Notable keys per section. Every key is also a CARE_<SECTION>__<KEY> env var. The .env.example file in the repo is the complete, annotated surface.

The MAGE generator that turns a task into a chain. The minimum a fresh checkout needs (written by care init).

KeyNotes
CARE_MAGE__API_KEYLLM API key.
CARE_MAGE__BASE_URLOpenAI-compatible base URL (e.g. OpenRouter).
CARE_MAGE__MODELModel id (e.g. qwen/qwen3-coder).
CARE_MAGE__MODEGeneration mode.
KeyNotes
CARE_MEMORY__BASE_URLGigaEvo Memory URL — required for Production mode.
CARE_MEMORY__API_KEYWhen the deployment enforces auth.
CARE_PLATFORM__BASE_URLGigaEvo Platform URL (evolution runs).
KeyDefaultNotes
CARE_CHAT__DEFAULT_MODEinteractiveStartup mode — interactive or production. Legacy ad_hoc / ad-hoc / adhoc (and prod) aliases normalise to the canonical id on read.
CARE_CHAT__AD_HOC_HISTORY_TURNS6Follow-up context window (turns).
CARE_CHAT__AD_HOC_HISTORY_CHARS1200Chars per remembered turn.
CARE_CHAT__GENERATION_MAX_ATTEMPTS3MAGE generation retries.

Each mode runs four configurable pipeline stages — run, save, baseline, evolve — and each defaults to a per-mode preset. Override any single stage with the env pattern CARE_CHAT__MODE__<MODE>__<STAGE>, where <MODE> is INTERACTIVE or PRODUCTION and <STAGE> is RUN / SAVE / BASELINE / EVOLVE. The value sets that stage’s policy:

ValueBehaviour
askGate the stage behind a confirmation prompt first.
autoRun the stage silently.
skipNever run the stage (and skip any stage that depends on it).
Terminal window
# Auto-run in Interactive, but gate Save behind a confirmation in Production
CARE_CHAT__MODE__INTERACTIVE__RUN=auto
CARE_CHAT__MODE__PRODUCTION__SAVE=ask

An unset stage defers to the mode preset.

SectionWhat to set
hubCARE_HUB__* — the agent hub for /deploy (base_url, port, autostart, state_file).
uploadCARE_UPLOAD__URL — endpoint for /upload.
sandboxBackend (local / docker / e2b / firejail) + resource limits for AgentSkills.
tools@carl_tool registry, bundled builtins (web_search…), on-the-fly synthesis.
telemetryOpt-in event sink (e.g. Langfuse public/secret keys).
defaultsUI defaults — language, history size, DAG display.
contextUser-context injection (CARE.md + long-term-memory digest).
artifactsSaved-artifact store directory.

How [defaults] draws chain DAGs across every surface (chat trail, inspect pane, run overlay, DAG modal).

KeyDefaultNotes
CARE_DEFAULTS__DAG_LAYOUTtbInitial DAG modal orientation — tb (top-down) or lr (left-to-right). Toggle live with l.
CARE_DEFAULTS__DAG_ASCIIfalseDraw DAGs with plain ASCII glyphs instead of Unicode box-drawing — for terminals/fonts that can’t render the box glyphs, or clean copy-paste.
CARE_DEFAULTS__DAG_BUS_LANESfalseRoute multi-layer “skip” dependencies as left-margin channels instead of terse ◀ N annotations on the dependent box.

Keep API keys out of plaintext TOML with care migrate-secrets — it moves them into the OS keychain.