Orchestraty
Run coding agents in parallel without them breaking each other's work.
What it does · Quick start · What you'll see · Try it · What's in Phase 1 · Feedback · Privacy
What it does
When you run several coding agents on one repository, each in its own worktree, one of them can change something another relies on: a function's arguments, a route, a helper it removes. Each branch passes its own tests, and the break shows up only when you merge.
Orchestraty watches what each session changes. When a change affects another session's work, it tells that agent, in a short note, before it builds on the old form. The agents adapt while they work, and you hear only what they leave unresolved.
flowchart LR
edit["An agent edits<br/>any session, any agent"]:::tool
see["Orchestraty sees it<br/>the live map updates"]:::orch
effect["Works out the effect<br/>contracts, callers, other sessions"]:::orch
tell["Tells the right agent<br/>before its next edit or at turn end"]:::orch
adapt["The agent adapts<br/>new contract, fixed callers, or asks"]:::tool
you["You hear what is left<br/>one line at push"]:::person
edit --> see --> effect --> tell --> adapt
adapt -.->|keeps working| edit
tell -.->|only if unresolved| you
classDef tool fill:#F4F4F4,stroke:#B5B5B5,color:#38000A;
classDef orch fill:#CD1C18,stroke:#9B1313,color:#FFFFFF;
classDef person fill:#FFFFFF,stroke:#9B1313,color:#38000A;
A note, as the agent about to edit shop/checkout.py receives it:
Orchestraty: another Claude Code session (worktree refunds, branch feat-refunds) changed the contract
of charge in shop/payments.py: parameter currency can no longer be passed by position. The change is
in that worktree, so your copy does not show it yet; both meet when merged. shop/checkout.py uses it:
checkout (line 11). Check these uses before you change this file: passing the arguments by name works
with both forms; otherwise agree with that session if the old form must stay. Static calls only;
dynamic calls are not analysed.
Every note is filled in from a template with facts from git and the code. Orchestraty never calls an AI model, never runs your agents for you, and nothing leaves your machine.
Who it's for. Phase 1 is for developers, and anyone building software with coding agents, who run two or more agent sessions on the same repository at once. It works best today with Claude Code, in the terminal or the desktop app, on Python code. Codex and Antigravity can be tried too, but are less tested.
Quick start
You need Python 3.10 or later, git 2.38 or later, and a recent Claude Code (claude update; the status line and pane need 2.1.287 or later).
1. Install.
python -m pip install orchestraty
pipx install orchestraty or uv tool install orchestraty work too. If your terminal can't find orch afterwards, type python -m orchestraty in its place. To try the newest work on main before it is released, install from the repository instead: python -m pip install "git+https://github.com/samratrajsharma/Orchestraty.git".
2. Switch it on, from a terminal (not from inside an agent session), in a repository your agents work on:
cd path/to/your/repository
orch init # shows what it will change, and asks first
orch doctor # checks everything, with a fix for each problem
orch init adds Orchestraty's hooks, the status line and the pane to Claude Code's settings (backing the file up first), and watches this repository. Then it offers the push line: a git hook that adds one line to git push when callers of a function you changed are still on the old form. For Codex or Antigravity, also run orch init --agent codex or orch init --agent antigravity. To include another repository, run orch watch inside it.
3. See it before you rely on it.
orch ui --demo # plays the whole loop with two pretend sessions, in a sandbox, in your browser
4. Work as usual. Restart any Claude Code sessions that were already open, and give each session its own worktree; the Claude desktop app does that for you. Nothing else needs starting: Orchestraty starts in the background with the first session, and stops when it is idle.
What you'll see
Mostly nothing. Notes go to the agents, not to you, and only when one session's change affects another's work.
| Where | What |
|---|---|
| In an agent's session | A note: before it edits a file, with its next step, or at the end of its turn |
orch status, or orch ui in your browser |
The live sessions, what each has changed, and where they overlap |
At git push |
One line when callers of a changed function are still on the old form. It never blocks the push |
| Claude Code 2.1.287 or later | A status line, a highlighted band when an overlap is strong, and /orch to open a pane of every session |
Try it in five minutes
-
Make two worktrees of a Python repository:
git worktree add ../one -b try-one git worktree add ../two -b try-two
-
Start a Claude Code session in each.
-
In
one, ask the agent to change a function's signature, for example to make one of its parameters keyword-only. -
In
two, ask for work in a file that calls that function the old way. Before the agent edits that file, it gets a note and adapts. -
Run
orch statusto see both sessions and the overlap. Ifoneends its turn with callers still on the old form, its agent hears which. To see the push line without pushing anything, rungit push --dry-run origin try-oneinone.
The guide for testers has a step for every feature.
What it notices
| Overlap | Strength | Who hears |
|---|---|---|
| The same file changed in two sessions | Weak | Nobody is interrupted; it shows in orch status |
| The same function changed in both | Medium | Both agents, once |
| A breaking change in one session (to a function's parameters, say), and a use of it in a file the other is changing | Strong | The session using it, before its next edit of that file |
| A function removed in one session and still used in the other | Strong | The session using it, before its next edit of that file |
| The same HTTP route changed in both (FastAPI, Flask, Django) | Strong | Both agents, with their next step |
| A breaking change whose callers no session has updated | Strong | The changing session, at the end of its turn; you, in the push line |
| Two sessions working in one folder instead of separate worktrees | Medium | Both agents, once: use a worktree |
Two sessions that claimed the same file or function, with orch claim or by an agent asking through MCP |
Medium | Both agents, once, with their next step |
Each session hears about a finding once, and a weak overlap never interrupts anyone: see the silence rule.
What's in Phase 1
| Command | What it does |
|---|---|
orch init, orch doctor |
Switch it on, and check it |
orch status, orch ui |
The sessions and their overlaps, in the terminal or in your browser (this computer only) |
orch claim, orch claims, orch release |
Reserve a file, folder or function for one session; the others hear before they edit it |
orch merge-order |
Which branch to merge first, when one uses another's change |
orch handoff, orch resume |
Package a session's work, and start an agent on it in a new worktree |
orch together on |
Run your tests on two overlapping sessions' work merged, and tell both if it fails together (opt-in) |
orch ts on |
TypeScript contracts (opt-in; its notes say they are heuristic) |
orch mcp --config claude |
Let agents ask before they edit: who else is changing this file? |
orch remote on |
Include cloud agents' branches (opt-in; the one use of the network) |
orch config steer on, orch config wake on |
Stop an edit on a strong note, or wake an idle session with it (opt-in) |
orch findings, orch label, orch missed, orch stats, orch feedback |
Tell us how it went |
orch restore, orch uninstall |
Take the hooks out, or everything |
Every command is described in the main package's README.
Agents
An agent is called supported only once its hooks have been tested with the real agent. Claude Code is, and two real Claude Code sessions reach their notes end to end. Any other agent or editor is still seen through git: its changes count, but it gets no notes.
| Agent | Connects through | Status | Capture test with the real agent |
|---|---|---|---|
| Claude Code | Hooks (level 2) | Supported | Passed with Claude Code 2.1.283 on Windows, 27 September 2026 |
| Codex | Hooks (level 2) | Built; not yet tested with the real agent | Pending |
| Antigravity | Hooks (level 2) | Built; not yet tested with the real agent | Pending |
| Any other agent, editor or person | Plain git (level 0) | Basic support (git only) | None needed: its changes are read from git |
Level 2 means the agent's own hooks hand it its notes; level 0, that only its changes in git are seen. What each agent can be told is in the main package's README.
Tell us how it goes
Your verdicts decide what gets built next.
- Two minutes a day:
orch findings, thenorch label <number> real(orharmless, orfalse) for anything new. When something should have been noted and wasn't:orch missed "what happened". - Once a week:
orch feedbackshows the counts plus your comment, and saves them to a file where you say. It sends nothing: attach the file to an issue here, or send it to whoever invited you. - Anything else, a bug, a confusing note or an idea: open an issue on this repository.
- A strong note that was wrong is the most serious kind of bug: please tell us the same day.
orch findingsshows how strong each finding was.
Privacy
- Nothing leaves your machine. There is no account and no telemetry. The only network use is opt-in:
orch remote onfetches cloud agents' branches from your repository's own remote. - The hooks record names, not content: event names, session ids, folders and the paths of edited files. Never prompts, file contents, commands or tool output.
- No AI model, and no text from other sessions, in any note: one session cannot give another instructions through Orchestraty.
- It asks before it changes anything, and backs up every settings file first.
What Orchestraty reads and writes, and how to report a security problem privately, are in SECURITY.md.
Limits
- Python is analysed in full; TypeScript only when you turn it on, and heuristically.
- Static calls only: dynamic calls aren't seen, and a note about a changed function says so.
- The engine reads at most 20,000 files of a repository;
orch doctortells you when yours has more. - An agent hears at its next step; an idle one only when it next acts, unless wake is on.
- Codex and Antigravity are built, but less tested than Claude Code.
- No note means Orchestraty found nothing, not that nothing is wrong.
What Orchestraty will and will not do is set out in the rules.
Upgrade, or take it out
To take a newer release:
python -m pip install --upgrade orchestraty # or: pipx upgrade orchestraty, uv tool upgrade orchestraty
orch init # puts the new hook script in place
orch coordinator stop # the next session starts the new version
To take it all out:
orch uninstall # shows what it will take out, then asks
python -m pip uninstall orchestraty
orch uninstall takes out everything Orchestraty added, puts back the settings files it backed up where nothing is lost, and asks before deleting its record.
Contributing
CONTRIBUTING.md covers setting up, the tests, CI and releases. CHANGELOG.md says what changed.
Licence
Orchestraty is licensed under the Apache License 2.0.
Metadata
Release files for orchestraty 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| orchestraty-0.1.1.tar.gz | 402.1 kB | With provenance | Details for orchestraty-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| orchestraty-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for orchestraty-0.1.1-py3-none-any.whl |
Total release size: 836.4 kB
Release files / orchestraty-0.1.1.tar.gz
| Download URL | orchestraty-0.1.1.tar.gz |
|---|---|
| Size | 402.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
274c6d2e001fc0f2185062bcf38423d7f0acab081e367c28a3dc192395c59060
|
|
BLAKE2b-256 checksum How to use checksums |
8ee482cf4c6713a1a53ca95fb1819e181fe74e9994185ebc5dfe8ebb3daf8f72
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 21, 2026.
Transparency logRelease files / orchestraty-0.1.1-py3-none-any.whl
| Download URL | orchestraty-0.1.1-py3-none-any.whl |
|---|---|
| Size | 434.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
78075810dcc76c6880592803049da3d7c609990617819b9f63aaa693340f388b
|
|
BLAKE2b-256 checksum How to use checksums |
c5ebc46ddd62c28b49a74e4fb48bf26877fc1e1c845a4c2084d1b83494fb3c12
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 21, 2026.
Transparency logSecurity for orchestraty 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for orchestraty-0.1.1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 21, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.