Discover and explore top open-source AI tools and projects—updated daily.
AvivK5498Enforcement-first orchestration for LLM code agents
Top 82.2% on SourcePulse
The Claude Protocol addresses the inherent lack of structure, traceability, and persistent context management in unsupervised AI coding agent sessions, particularly with Claude Code. It provides an "enforcement-first orchestration layer" that wraps Claude Code, ensuring every agent action is tracked, decisions are logged, and tasks are managed via a robust, git-native system. This benefits developers using Claude Code by preventing common pitfalls like accidental code commits to main branches, lost session context, and unclear audit trails, thereby simplifying complex multi-agent development workflows.
How It Works
The system employs an orchestrator (Co-Pilot) that investigates, plans, and delegates tasks via Task() but does not write code directly. "Supervisors," tailored to specific tech stacks (e.g., React, Python, Next.js), execute these tasks within isolated git worktrees (.worktrees/bd-BD-XXX). Core to the system are "beads," which are git-native tickets representing units of work, where one bead equates to one task, one worktree, and one pull request. Dependencies between beads can be enforced, ensuring sequential execution. A key differentiator is the inclusion of 13 "hooks" across five lifecycle events that actively block invalid actions (e.g., preventing code edits on the main branch, enforcing worktree isolation, blocking commits without verification), rather than merely issuing warnings. This enforcement-first approach, combined with an investigation-first delegation strategy and self-documenting prompts, ensures high fidelity and traceability.
Quick Start & Requirements
npx skills add AvivK5498/The-Claude-Protocol or install the beads-orchestration CLI globally via npm install -g beads-orchestration. The integrated skill guides through setup, scans the tech stack, and automatically creates necessary supervisors.codex login), optionally Gemini CLI, and uv are required.Highlighted Details
git commit --no-verify, prevent closing epics with open children, and enforce worktree isolation..beads/memory/recall.sh) for session-to-session recall.Maintenance & Community
No specific details regarding notable contributors, sponsorships, or community channels (e.g., Discord, Slack) were found in the provided README.
Licensing & Compatibility
Limitations & Caveats
The system primarily targets macOS and Linux environments. It relies on Claude Code having specific hooks support, which may require a particular setup or version. While the user-facing workflow is simplified, the underlying system involves considerable complexity. Utilizing external AI providers necessitates additional CLI setup and authentication.
4 months ago
Inactive