Examples
MAESTRO ships a couple of ready-made chains you can validate, import, and run.
Bundled chains
Section titled “Bundled chains”| Example | What it shows |
|---|---|
| weather | A weather agent wired to an MCP server (mcp_servers.toml + chain.json). |
| financier | A financial-analysis chain (chain.json) — a multi-step reasoning agent over financial input. |
Each lives under examples/ in the care repo
with a README.md.
Run a chain file
Section titled “Run a chain file”Any chain.json follows the same flow — validate, import, run:
care validate examples/financier/chain.json # preflightcare import examples/financier/chain.json --apply # into Memorycare run <chain_id> --execute --task "Analyse Q3 results"Or skip Memory and just preflight + export:
care run <chain_id> --export chain.py # export to a runnable moduleThe end-to-end workflow
Section titled “The end-to-end workflow”The canonical MAESTRO loop, start to finish:
- Generate — type a task in the chat surface (or
care generate "<task>"). - Run — Ad-Hoc runs inline; Production saves to the Library.
- Re-run — reopen a saved chain from the Library and run it on new input.
- Evolve —
care evolve <chain_id> --wait --accept(or the Evolution screen) to improve it, then promote the winner.
Recording a demo
Section titled “Recording a demo”examples/asciicast/recording_script.md has a keystroke script for recording an
asciicast of a MAESTRO session.
See also
Section titled “See also”- CLI: generate / run · TUI
- CARL cookbook — library-level chain examples.