Scenarios
Concrete walkthroughs of the main ways people use MAESTRO. They assume you’ve run
care init and launched the TUI with care.
1. Quick one-off answer (Interactive)
Section titled “1. Quick one-off answer (Interactive)”The fastest path — no setup beyond MAGE creds.
- Stay in Interactive (the default surface).
- Type the task, optionally attaching files with
@:Summarise the key risks in @report.pdf and rank them by severity. - The answer prints inline. Follow up in the same thread;
/newstarts fresh.
2. Iterate in Interactive, then keep what works
Section titled “2. Iterate in Interactive, then keep what works”Interactive runs the chain on the spot and persists nothing — until you decide to. It’s the natural place to explore a chain before committing it.
- In Interactive, type a task → MAGE generates → CARL runs → the answer prints.
- Refine with follow-up prompts (they reuse the chain for context); inspect the chain
with
/visualize. - When a chain is worth keeping, press the Save to library chain-action button — or hand it straight to evolution with Evolve, which opens the same launch picker (budget preview included) described below.
- Want to tweak the steps by hand instead of regenerating? Export the chain and edit
the JSON directly:
Or pack it into a portable bundle with
Terminal window care memory show <chain_id> --content-only > chain.json# edit chain.json — reorder steps, tweak prompts, change tool argscare validate chain.json # preflight before re-importingcare import chain.json --applycare exportto move it between machines.
3. Build & evolve a Production agent
Section titled “3. Build & evolve a Production agent”Turn a task into a saved, evolving agent.
- Switch to Production:
/mode production(needs Memory configured). - Type the task → MAESTRO generates → saves the chain (you get a
chain_id) → runs a baseline → (if Platform is wired) kicks off evolution. - Watch evolution on the Evolution dashboard (or
/evolution watch <run_id>in chat) — the live Fitness chart, Pareto front, and a cost meter that tracks token/USD spend against the launch budget. - Accept the winner:
/evolution accept <run_id> <individual_id>(or/promote <chain_id> <version>). - The improved chain is now in your Library.
Headless equivalent:
care generate "Triage support tickets by severity" --save triagecare evolve triage --iterations 8 --wait --accept4. Dataset-driven improvement
Section titled “4. Dataset-driven improvement”Measure before you optimise.
- In Production, after the chain is saved, add test cases:
/dataset add <chain_id> "Checkout is down for everyone" --expected "high"/dataset add <chain_id> "Typo on the pricing page" --expected "low"
- Score the chain against them:
/dataset run <chain_id>. - Evolve with the dataset as the fitness signal — the launch picker’s budget preview estimates the run’s cost up front, and the Evolution dashboard’s cost meter tracks it live. Re-run the dataset afterwards to confirm the gain.
- Export the set to share or version:
/dataset export <chain_id> dataset.jsonl.
5. Re-run a saved agent from the Library
Section titled “5. Re-run a saved agent from the Library”Reuse an agent on new input.
/library(orCtrl+P→ search) → open a saved chain.- Use the Run context form to set a new task + attach context files, then run
it. Or headless:
Terminal window care run <chain_id> --execute --task "New quarter, same analysis" --input region=EU - In Production, the run is recorded; review history with
care memory history <chain_id>.
6. Revise an existing chain
Section titled “6. Revise an existing chain”Edit a chain in natural language instead of regenerating.
/revise <chain_id> add a verification step before the final answerMAESTRO previews the edit plan, you confirm, and it saves a new version. (In
Production, a plain follow-up prompt does this automatically against the current
chain.) Promote the version you like with /promote.
Prefer surgical control? Export the chain, edit the JSON by hand, then re-import it:
care memory show <chain_id> --content-only > chain.json# edit chain.json, then:care validate chain.jsoncare import chain.json --applySee Export & import bundles for moving chains between machines.
7. The canonical multi-agent flow
Section titled “7. The canonical multi-agent flow”The end-to-end loop MAESTRO is built around:
Generate agent A → save it → generate B and C → return to A from the Library → re-run it from the same task + context files → evolve A and accept the best individual back into the stable channel.
8. Headless / CI
Section titled “8. Headless / CI”Everything has a terminal twin — script it:
care doctor --no-probes # health check (offline)care generate "<task>" --save my-agent --output agent.pycare validate agent.json # preflight a chain filecare run my-agent --execute --save-result run1care search "triage" --search-type hybrid # find saved agentscare evolve my-agent --wait --accept