Production Mode
Production is the TUI mode for chains you want to keep, measure and improve. It needs Memory. In the desktop app the same steps are separate requests to the agent; see Scenarios.
What a Production prompt does
Section titled “What a Production prompt does”- Generate a reproducible chain (no agent loop: it must run the same way every time).
- Ask once before running it (stage
runisaskby default). - Save it to Memory under a stable
chain_id. If the same task was already saved, the TUI shows the existing chain instead of saving a duplicate; prefix the task with[FORCE]to save anyway. - Baseline: run it once and record the run as the first dataset entry.
- Evolve: if a platform is configured and the baseline succeeded, start an evolution run.
Your next plain prompt revises the saved chain into a new version. Run
/new to start a new chain.
Requirements
Section titled “Requirements”- Memory:
CARE_MEMORY__BASE_URL(andCARE_MEMORY__API_KEYif the server needs one). Without it the TUI falls back to Interactive with a warning. - Platform (optional):
CARE_PLATFORM__BASE_URL. Without it, save and baseline happen and evolution is skipped.
Versions and channels
Section titled “Versions and channels”Saved chains are versioned. Revisions create new versions; the latest
channel points at the newest. stable is the released one. The CLI reads
latest by default; pass --channel stable to maestro run.
/revise <id> <change> # natural-language edit → new version/promote <id|name> [--force] # gated release latest → stable/rollback <id|name> [--to <vid>]Datasets
Section titled “Datasets”/dataset list <chain_id>/dataset add <chain_id> "<task>" --expected "<out>" [--rubric "<prompt>"]/dataset run <chain_id> # replay every entry and score it/dataset export <chain_id> <path> # write entries as JSONLThe baseline seeds the first entry. These TUI datasets are stored as memory cards; they are separate from the datasets that the desktop app generates.
Evolution
Section titled “Evolution”/evolution # dashboard of active and recent runs/evolution setup [<chain_id>] # launch picker with a budget preview/evolution list/evolution <run_id> # state of one run/evolution watch <run_id> # stream events/evolution accept <run_id> <individual_id>The Evolution dashboard shows the fitness chart, the
Pareto front, programs and versions. Accepting a winner promotes it into the
stable channel. Headless:
maestro evolve <chain_id> --iterations 8 --wait --acceptRelease and shipping
Section titled “Release and shipping”/deploy <id|name> [--channel stable] # serve as an HTTP agent on the hub/upload <chain_id> # POST the chain JSON to CARE_UPLOAD__URL/forget <chain_id> [--force] # soft delete (recoverable in Memory)See Deploying agents.