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

# Roll Orchestra out to your team

> The team's admin sets Orchestra up once, from Settings, Rollout. Engineers install nothing: they sign in once, the first time their agent asks.

Orchestra is set up by one person, the team's admin, from **Settings, Rollout**.
Engineers do not install anything or run any command. The page shows which
level your team is on, read from what has really happened, and what the next
level adds.

## Level 1: GitHub App

Install the Orchestra GitHub App on your organization and pick the
repositories (see [Connect GitHub](https://docs.orchestrahq.ai/connect-github.md)).

* **What it does:** cloud agents work in the repositories you connected, and
  pull requests an agent opens carry Orchestra's comment.
* **Captured:** nothing from anyone's computer. Sessions of cloud agents working
  in those repositories are kept in Orchestra, and only people who can see the
  repository on GitHub see them.
* **Engineers do:** nothing.

Review and merge activity from GitHub reaches the team's memory in a later
release.

## Level 2: team memory in every agent

Give every engineer's coding agent the team's memory through Orchestra's hosted
MCP server, `https://api.orchestrahq.ai/mcp/code`. Pick one of these; the Rollout page
has each block ready to copy. Level 3 uses the same address, so engineers never
sign in again when you add it.

**Commit it to the repository.** Everyone who pulls gets it.

`.mcp.json` at the repository root, for Claude Code. Claude Code asks each
engineer once whether to use it:

```json theme={null}
{
  "mcpServers": {
    "orchestra": {
      "type": "http",
      "url": "https://api.orchestrahq.ai/mcp/code"
    }
  }
}
```

`.codex/config.toml`, for Codex. Codex reads it once the engineer trusts the
project, which it asks the first time it opens there:

```toml theme={null}
[mcp_servers.orchestra]
url = "https://api.orchestrahq.ai/mcp/code"
```

A short block for `AGENTS.md` and `CLAUDE.md` tells agents when to `recall`
the team's memory and when to `remember` a decision.

**Or push it to every laptop.** Claude Code 2.1.259 and later read
`managedMcpServers` from your managed settings, so the server is there in every
repository with no prompt:

```json theme={null}
{
  "managedMcpServers": {
    "orchestra": {
      "type": "http",
      "url": "https://api.orchestrahq.ai/mcp/code"
    }
  }
}
```

Put it in the claude.ai admin console (Claude for Teams or Enterprise, under
Organization settings, Claude Code, Managed settings), in an MDM profile for
`com.anthropic.claudecode`, or have your device management run the script the
Rollout page gives you. The script adds its own file next to your managed
settings and never changes the ones you already deploy. See Anthropic's
[managed MCP guide](https://code.claude.com/docs/en/managed-mcp.md).

* **Captured:** only what an engineer's agent saves when asked (a decision, a
  fact, a chat they choose to keep), attributed to that engineer. Nothing else
  is read from their computer.
* **How to see it:** ask the agent "what have I saved to Orchestra?", or open
  Memory in Orchestra.
* **Engineers do:** sign in once, the first time their agent asks.

If your team keeps its work on its members' computers (Orchestra Local), an
agent reaches the memory on its engineer's own computer, so Orchestra Local has
to run there with **Let ChatGPT and Claude reach this computer** turned on.

## Level 3: sessions with no install

Commit the capture hooks next to the level 2 config. They call the Orchestra
server each engineer already signed in to, so there is nothing to install and
no second sign-in. The Rollout page has both files ready to copy, with your
repository's name filled in.

`.claude/settings.json`, for Claude Code. If the file exists, merge in the
`hooks` key. Each of the four events (`UserPromptSubmit`, `PostToolUse`, `Stop`
and `SessionEnd`) gets the same hook:

```json theme={null}
{
  "type": "mcp_tool",
  "server": "orchestra",
  "tool": "capture_hook",
  "timeout": 10,
  "input": {
    "harness": "claude-code",
    "repository": "acme/api",
    "hook_event_name": "${hook_event_name}",
    "session_id": "${session_id}",
    "cwd": "${cwd}",
    "prompt": "${prompt}",
    "prompt_id": "${prompt_id}",
    "turn_id": "${turn_id}",
    "tool_name": "${tool_name}",
    "tool_use_id": "${tool_use_id}",
    "tool_input": "${tool_input}",
    "tool_response": "${tool_response}",
    "last_assistant_message": "${last_assistant_message}",
    "reason": "${reason}",
    "agent_id": "${agent_id}"
  }
}
```

`.codex/hooks.json`, for Codex, has the same hooks with `"harness": "codex"`.
Codex runs a project's hooks only after each engineer trusts them in `/hooks`.

* **Captured:** each session's prompts, tool calls with their results, and the
  agent's answers. A subagent's own steps are not captured.
* **Secrets:** removed before anything is stored, with the same redaction the
  Orchestra app uses.
* **Never-capture rule:** add your repository's `[capture] never` patterns to
  the hooks as `"never": "secrets/**\ncustomer-data/**"` (one pattern per line),
  and those files' contents are withheld.
* **Who sees it:** sessions follow your workspace's sharing default. Anyone
  can make one of their sessions private from its page.
* **Engineers do:** nothing more than the level 2 sign-in.

An engineer who also runs the Orchestra app on their computer is captured by
the app, and the hooks save nothing more for that session. Level 3 is for a
hosted team: on Orchestra Local, the app captures sessions on each computer.

## See who is covered

The Rollout page lists each member and how they are covered:

| Shows | Means |
| - | - |
| Agent signed in | A coding agent signed in to Orchestra as them. |
| Sessions arriving | Their agent sessions reach Orchestra. |
| GitHub commits only | Orchestra has seen their commits in connected repositories, and no agent has signed in yet. |
| Not covered yet | None of these yet. |

Below it, people Orchestra has seen commit to your connected repositories
who are not in Orchestra yet, so you can invite them. Only the team's admin sees this page's
coverage.

## Tell your engineers

The page has a short note to post where your team talks. It says what is
captured, how to see it, and the one sign-in, so nobody is surprised.


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