by BrightbeamAI
CHAP, the Collaborative Human Agent Protocol, is a MCP/A2A-compatible runtime for auditable human-agent work: approvals, overrides, handoffs, escalation and verifiable evidence logs.
# Add to your Claude Code skills
git clone https://github.com/BrightbeamAI/chapchap is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by BrightbeamAI. CHAP, the Collaborative Human Agent Protocol, is a MCP/A2A-compatible runtime for auditable human-agent work: approvals, overrides, handoffs, escalation and verifiable evidence logs. It has 123 GitHub stars.
chap's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/BrightbeamAI/chap" and add it to your Claude Code skills directory (see the Installation section above).
chap is primarily written in Python. It is open-source under BrightbeamAI on GitHub, so you can review or fork the full source.
Yes. AgentsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh chap against similar tools.
No comments yet. Be the first to share your thoughts!
Unlocks once the catalog security scan passes (runs nightly).
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
Work is moving towards teams in which hundreds of agents and hundreds of people take part. Agents draft, triage and recommend; people approve, correct, overrule and escalate. Those human decisions make the work accountable, yet they are usually recorded only in chat threads, ticket comments and memory.
CHAP gives those decisions a defined structure and an auditable record: what the agent produced, what the person decided and why, in one log that can be queried and verified.
SECURITY.md §5). The history survives key rotation, expired vendor logs and staff changes.CHAP is a protocol: a set of calls that agents, people and their tools send to a coordinator, the service that mediates a workspace. The coordinator checks each call against the workspace's rules, answers it, and records each accepted change in the workspace's audit log. The TypeScript and Python packages below are coordinators, to embed in your own process or run as a server.
| Term | What it is |
|---|---|
| Workspace | A named context for one body of work: its members, its tasks, and the profiles it uses |
| Participant | A member, named by a URI such as human:[email protected] or agent:triage; group: names a set of members |
| Task | A unit of work, assigned to a participant |
| Artefact | What a participant produces in a task: a draft, a decision, an override |
| Envelope | One call, as a JSON-RPC 2.0 message; its method is the verb, such as task.create or decide.approve |
| Audit log | The ordered record of every change to the workspace; with the hash chain on, each entry carries the hash of the one before it |
The verbs read as their names. A task is created, completed and sent for review (task.create, task.complete, review.request). A reviewer approves, rejects or overrides it (decide.approve, decide.reject, decide.override). Work is handed off or escalated (handoff.propose, escalate.raise), and audit.read returns the record.
Core and profiles. Every coordinator implements Core (core/1.0): workspaces, participants, tasks and the audit log. Everything else is an optional profile, named with its version. review/1.0 adds review requests and decisions. Others add quick questions to a person (whisper/1.0), group votes (deliberation/1.0), handoffs (handoff/1.0), pausing and rollback (control/1.0), routing (routing/1.0), shadow and trial modes (modes/1.0), signed calls (security-signed/1.0), verified identities (identity-oidc/1.0, identity-vc/1.0) and a transparency log (audit-scitt/1.0). A workspace advertises the profiles it uses, and the coordinator refuses calls that belong to any other profile. core/SPEC.md fits Core on one page, profiles/PROFILES.md lists the profiles, and GLOSSARY.md defines every term.
| For | Run |
|---|---|
| TypeScript | npm install @brightbeamai/chap-coordinator |
| Python | pip install chap-coordinator |
| A new project with a review desk | npx create-chap-app my-gate |
Each package implements Core and every profile; a new workspace advertises core/1.0 and review/1.0 unless you name others. START_HERE.md is the full guide: a first recorded decision from a clone of this repository, with Python alone, and every other way in.
The override envelope records a reviewer's change to an agent's output. Each field is annotated below:
intent_preserved separates a refining override, which keeps the agent's decision and rewrites its wording, from a substituting one, which decides differently. tags are the small vocabulary a team agrees on and counts by later. ABOUT.md says what each points at.
CHAP 0.3 is a public draft: a small Core and optional profiles (SPECIFICATION.md), with reference coordinators in TypeScript and Python that a differential fuzzer checks answer and log alike. Before 1.0 a minor release may break things, and its changelog lists each break with a migration. ABOUT.md says what is built so far, and ROADMAP.md sets out the milestones to 1.0.
| Read | For |
|---|---|
START_HERE.md |
A first recorded decision, and every way in |
docs/tour.md |
The 90-second tour: a clip of one review, and the code for each step in TypeScript and Python |
IN_PRACTICE.md |
Scenarios, from a solo developer with Cursor to GMP-regulated manufacturing |
ABOUT.md |
How Core and the profiles are adopted, what the override envelope's fields point at, how CHAP sits with MCP and A2A, the standards it reuses, the status and the repository's layout |
SPECIFICATION.md |
Core and every profile, in one document |
core/SPEC.md |
Core, on one page |
profiles/PROFILES.md |
The optional profiles, and how they combine |
GLOSSARY.md |
Every term |
IMPLEMENTATIONS.md |
The packages, the framework bridges and other implementations |
packages/chap-analytics/ |
The audit log as pandas tables and charts |
SECURITY.md |
The threat model, and how to report a vulnerability |
CHANGELOG.md |
What changed in each release |
CONTRIBUTING.md |
How to contribute; GOVERNANCE.md for how the protocol evolves |
| The technical report | The architecture, profile semantics and threat model, with the scenarios as JSON traces |
If you reference CHAP in academic or technical work, please cite the technical report.