> ## Documentation Index
> Fetch the complete documentation index at: https://docs.careresearch.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Maestro

> Multi-agent workflows where the control flow is code and the reasoning is in the agents.

Maestro runs multi-agent workflows. You write a short JavaScript script that says which agents run, in what order, and what happens to their answers. Maestro executes the script with a plain runtime: each `agent()` call starts a model with a clean context, and the script combines, votes on and passes on the results.

The control flow is code, so it is the same on every run. The reasoning is in the agents.

```js theme={null}
export const meta = { name: 'two-views', description: 'Ask two reviewers, then one judge' }

const reviews = await parallel([
  () => agent('Review src/journal.ts for correctness bugs.'),
  () => agent('Review src/journal.ts for missing tests.'),
])
return agent(`Merge these two reviews into one ranked list:\n${reviews.filter(Boolean).join('\n---\n')}`)
```

## What you get

* **Resume.** Every agent's answer is stored. Change one prompt and only that agent, and the ones that depend on it, run again.
* **Limits in code.** A budget in output tokens and a cap on agents, enforced by the runtime, not requested in a prompt.
* **Isolated writers.** An agent that changes code works in its own git worktree and branch.
* **Two model providers.** Agents run on Claude, on Codex, or on both in one run.
* **A timeline.** Watch a run in the browser while it happens.

## Start here

> [card] [Quickstart](https://docs.careresearch.ai/quickstart.md)
>
> Connect Maestro to Claude Code and ask for a workflow. No code to write.

> [card] [Getting started](https://docs.careresearch.ai/getting-started.md)
>
> Write a first workflow yourself, run it and resume it.

> [card] [Writing workflows](https://docs.careresearch.ai/workflows.md)
>
> The script API and its rules.

> [card] [Claude Code](https://docs.careresearch.ai/claude-code.md)
>
> Let Claude write and start workflows for you.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.