Skip to content

CLI Overview

MAESTRO ships one command-line program with two names:

  • maestro — the main name. uvx maestro-install puts a maestro shim on your PATH.
  • care — the same program under the package’s old name, kept for scripts that already call it. Every example below works with either name.

maestro with no subcommand opens the desktop app (the same as maestro app). Never call it bare from a script or CI job: it opens a window and blocks until you close it. The headless subcommands share the app’s config (CareConfig) and the same Memory, generation and execution layers. Run maestro <subcommand> --help for the full flag set of each one.

Terminal window
maestro --version # prints e.g. "maestro 0.5.0"
maestro doctor # check the environment
maestro generate "weather report for SF" --save weather
CommandPurpose
maestro / maestro appOpen the desktop app (the primary interface).
maestro tuiOpen the Textual terminal UI (supported secondary interface).
maestro webServe the local browser interface on 127.0.0.1:8787.

Details: Launching interfaces.

CommandPurpose
maestro initQuick start: write a minimal .env with model credentials.
maestro doctorEnvironment, config, extras and service probes (incl. STARM solver servers).
maestro migrate-secretsMove plaintext API keys from config.toml into the OS keychain.
CommandPurpose
maestro catalogList installed AgentSkills, MCP servers, tools and memory cards.
maestro validate <chain.json>Parse and preflight a chain file.
maestro import <pattern>...Validate chain JSON files; --apply saves them to Memory.
maestro export <output> <chain_id>...Bundle chains (and skills) into a tarball.
CommandPurpose
maestro generate "<task>"Generate a chain from a task description.
maestro revise <chain_id> "<edit>"Edit a saved chain in plain language into a new version.
maestro compose <id> <id>...Glue saved chains into one new chain (sequential or parallel).
maestro run <chain_id>Fetch a saved chain, preflight it, optionally execute it.
maestro replay <run.json>Step through a saved ReasoningResult / RunRecord.
CommandPurpose
maestro memory lsList saved entities.
maestro memory show <id>Print one entity.
maestro memory history <chain_id>List recorded runs of a chain.
maestro search "<query>"BM25 / vector / hybrid search over saved entities.
maestro diff <left> <right>Compare two saved chains.
maestro lineage <chain_id>Walk a chain’s ancestry.
maestro favourite <id>Star or unstar an entity.
CommandPurpose
maestro versions <id>Version history and which channels point where.
maestro rollback <id> --to <version>Repoint a channel at a version (a pin, nothing is deleted).
maestro promote <id>Copy one channel pointer to another (default latest → stable).
maestro forget <id>Soft-delete an entity (preview unless --force).
maestro remember "<text>"Save a note to long-term memory.
maestro notesPrint the long-term memory digest.
CommandPurpose
maestro marketplace "<query>"Search shared agent_skill listings.
maestro evolve <chain_id>Submit an evolution run, optionally watch it and accept the winner.
CommandPurpose
maestro dataset list|add|run|exportManage and score a chain’s eval dataset.
maestro deploy <chain_id>Deploy a chain to the agent hub as an HTTP agent.
maestro deploymentsList agents on the hub.
maestro metrics [name]Usage and cost metrics of deployed agents.
CommandPurpose
maestro help [--markdown] [--commands]Tutorial and key cheat sheet, or the CLI ↔ TUI parity table.