# Agent Orchestra

> Agents can work. They cannot declare success. A governed coordination protocol for multi-agent AI work: eight contracts enforced in code, with a reproducible benchmark.

Agent Orchestra is a subscription AI agent skill on Agensi by jasyues, in Agents & Orchestration. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $5/mo (subscription, cancel anytime)
- Creator: [jasyues](https://www.agensi.io/creators/jasyues)
- Category: [Agents & Orchestration](https://www.agensi.io/skills/agents-orchestration)
- Version: 1.1
- Last updated: 2026-10-01
- Security: scan passed (2026-10-01); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/agent-orchestra
- Tags: ai-agents, project-management, mobile, orchestration, multi-agent, multi-agent-workflows, verification, context-management

## About this skill

### Agents can work. They cannot declare success.

Every multi-agent project eventually meets the same failure: an agent says it is done, and nothing in the system is able to disagree. **Agent Orchestra Protocol** removes that possibility - by making the interesting rules checks in code rather than requests in a prompt.

```
AGENT MAY                    AGENT MAY NOT
  claim work                   silently overwrite another agent's resource
  own resources                verify its own L2/L3 work
  implement                    pass verification without evidence
  hand off                     retry forever after failing
  verify others' work          perform an external action without approval
  produce graded evidence      declare success without satisfying the gate
```

#### Measured, not asserted

`node bench/protocol-benchmark.mjs` runs six failure modes through three coordination models with deterministic actors and no model calls. Re-run it and you get the same table:

| Failure mode | Single agent | Naive multi-agent | Agent Orchestra |
|---|---|---|---|
| Two agents write the same resource | 1 | 1 | **0** |
| Author declares done with no evidence | 1 | 1 | **0** |
| Implementer verifies its own work | 1 | 1 | **0** |
| Verification keeps failing (attempts) | 25 | 25 | **3** |
| Deploy attempted without approval | 1 | 1 | **0** |
| Failure followed by a success claim | 1 | 1 | **0** |

Scope, stated plainly: this measures the coordination layer - which failure modes get through - not model quality. The gate re-runs it on every change, so the table cannot drift from reality.

#### Eight contracts, each enforced

`AGENT-ORCHESTRA-PROTOCOL.md` is the normative document. Every contract names the code that enforces it, the behaviour on violation, the test that pins it, and its honest limit:

- **Task** - a unit of work has a type, a rigor level (L1 local / L2 shared / L3 consequential), an owner at every stage, and a spec + acceptance criterion before implementation starts.
- **Resource** - tasks declare the resources they write; overlapping claims are refused and the refusal names the holder. One writer per resource, not just per task.
- **Ownership** - exactly one agent holds a task; state changes are atomic, locked, and appended as events.
- **Handoff** - work crossing a session or tool boundary passes through a shared record, which outranks the queue and is checked rather than trusted.
- **Verification** - the verifier is never the implementer at L2/L3, a PASS carries its witness, a failure blocks both `done` and dispatch to evidence, and consequential work adds a domain review by a third party.
- **Evidence** - E1 (reproducible: command, exit code, revision), E2 (a named peer, not the author), E3 (self-report, labelled), E4 (planned). A bare sentence can never pose as proof.
- **Approval** - external actions cannot be dispatched until approved, and the approval scope must cover the action: 'staging' does not unlock production.
- **Recovery** - three failed verifications block the task for a coordinator instead of burning tokens on an unbounded retry.

The contracts are written in terms of operations and observed behaviour, not of this CLI, so another host can implement them over its own storage and prove conformance with the same benchmark.

#### The unglamorous parts, done

- **Zero dependencies**, Node 18+. No install step, no lockfile, no supply chain.
- **One gate command** CI and your machine both run: 13 checks, and it injects eleven known faults it must reject before it reports PASS.
- **87 engine tests, 8 acceptance tests, 8 handoff tests, 83 activation cases**; concurrency proven by four simultaneous task creations rather than asserted.
- **13 known limitations, each with an owner and a review date** - including the honest ones: the queue is a plain JSON ledger, so this is a discipline cooperating agents follow and leave a record of, not a security boundary against an unwilling agent; and E1 is a structural check, not provenance - the engine confirms the fields, not that the command ran.
- **Apache-2.0 for the code, CC BY 4.0 for the specification**: the patent grant an implementer needs, and a specification licence that permits republication with attribution.

#### What it is not

Not an execution runtime: `dispatch` prints an argv array and never spawns an agent. Not a model router, not a cost model, and not a security boundary - all three are written down as limits rather than implied.

## Known limitations

1. It is a protocol, not a sandbox: the queue is a plain JSON ledger, so anyone who can write the file can edit a task, and --agent is an unauthenticated string. The rules bind agents that go through the CLI; they cannot stop one that ignores it. Enforcement against an unwilling agent needs signed state or an external system.
2. E1 is a structural check, not provenance. The engine confirms that a command, an exit code and a revision were recorded - not that the command ran and returned that code. Generating E1 from a runner is the fix and is not built.
3. The verification override and the external-action approval record an approver and a scope but authenticate neither; the scope is checked against the action's declared target, not against a signed authorisation.
4. The printable dispatch command is escaped for POSIX shells only: use the argv array the record provides instead of pasting the printed line into PowerShell or CMD.
5. Every agent must share a filesystem - the queue and the handoff record are files, not a service.
6. Roster keys are plain object properties, so an agent literally named constructor or __proto__ would misroute. Normal names are unaffected.
7. Capability scores are self-declared, with no evidence trail or expiry, and cost is only a tie-break - so the ranking is capability-first rather than a cost model.
8. config/agents.example.yaml documents the roster; the runtime roster comes from init --roster <file.json>, so editing the YAML does not change routing.

All 13 known findings, each with severity, owner and a review date, are listed in KNOWN-FINDINGS.md.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Agent Orchestra skill from Agensi" and describe your task.
3. Subscribe on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### How does Agent Orchestra prevent agents from falsely claiming a task is complete?

Unlike prompt-based coordination, Agent Orchestra uses eight code-enforced contracts to prevent common failures, such as agents verifying their own work or declaring success without providing evidence.

### Which AI agent frameworks are compatible with this coordination protocol?

This skill is designed as a governance layer rather than a runtime; it supports any AI agent or framework capable of interacting with JSON ledgers and following a coordination protocol.

### What exactly is included in the purchase of the Agent Orchestra skill?

The skill includes the normative specification (CC BY 4.0), a zero-dependency Node.js implementation (Apache-2.0), and a reproducible benchmark suite to verify compliance.

### What are the technical requirements for integrating this into my existing workflow?

It requires Node 18+ and has zero external dependencies or lockfiles, ensuring a clean, secure installation that won't bloat your project's supply chain.

### How can I verify that the protocol is actually preventing coordination failures?

The benchmark tool runs six distinct failure modes through three models to prove that the governance layer catches conflicts, like resource overwrites and unauthorized deploys, where others fail.

### Does this skill handle the actual execution and hosting of my AI agents?

Agent Orchestra focuses on structural governance and evidence-based handoffs; it does not handle agent execution, model routing, or cost management.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
