Hydra — The Governed Constellation
Many heads. One Spirit. The covenant holds.
Hydra is a Claude Code plugin plus a Python supervisor (LangGraph when installed) that routes work across specialized AI agent squads under one constitution, with human-in-the-loop gates, a budget ledger, and judged output. Hydra does not do the squads' work. It routes, governs, and synthesizes.

The sigil is brand artwork, not a current architecture diagram. For the presentation bundle see docs/constellation/.
Status, 2026-11-14. This README describes what is in the repository today. A redesign toward one orchestrator and one engine policy is approved and not yet started: see the plan and the tracking issue #78. Gaps that the plan closes are listed under Known gaps.
Contents
What Hydra is
- A supervisor graph in
hydra_core/supervisor.py with twelve nodes: intake, planner, plan_judge, plan_gate, approval, dispatch, hitl_gate_dispatch, hitl_gate_judge, judge_per_squad, synthesis, judge_synthesis, postcheck. With the langgraph extra installed it runs on LangGraph and checkpoints to SQLite (~/.hydra/checkpoints.db). Without it, a pure-Python runner executes the same nodes step by step; the attended (plan/step/submit/finalize) path and replay need the LangGraph checkpoint path.
- A squad registry. Every squad is declared in
squads/<slug>/squad.yaml and discovered at startup. Adding a squad is a configuration change.
- Typed cross-squad envelopes. Fourteen Pydantic types are registered in
hydra_core/schemas.py (SCHEMA_REGISTRY): C_SUITE_DECISION_PACKET, PRD, ARCH_RFC, DEV_TASK, CREATIVE_BRIEF, SHOT_LIST, ASSET_JOB, HITL_REQUEST, DECISION_RECORD, HANDOFF, PLAN, SUPPORT_TICKET, PORTABLE_CONTEXT, VOC_REPORT. validate_envelope rejects anything else, apart from a small set of internal audit event types that never cross a squad boundary.
- An MCP gateway (
mcp_servers/hydra_gateway/) that puts every backend server behind one MCP registration. See MCP topology.
- Local memory: an episodic SQLite log (
~/.hydra/episodic.db) served by the in-repo hydra_memory MCP server, tagged with an eight-cell vocabulary. See Memory and TheEights.
- A governance plane:
CONSTITUTION.md as the immortal head, HITL gates, budget tripwires, a circuit breaker, boundary redaction, a venom-class capability registry, and a per-workflow trace. See Governance.
- A Claude Code plugin (
plugins/hydra/) that provides the hydra:hydra orchestrator agent, the slash commands, the engineer and judge agents for attended engineering, and the hooks that keep work routed through the engine.
The ecosystem
Hydra is one of a set of sibling projects. Each is its own repository and runs without Hydra. Several are also Hydra squads.
graph TD
HYDRA["Hydra<br/><em>routes · governs · synthesizes</em>"]
ES["ExecutiveSuite<br/><em>executive squad</em>"]
PP["pair-programmer<br/><em>engineering squad</em>"]
RLM["RLM-Creative<br/><em>garland squad</em>"]
GAME["RLM-Gaming<br/><em>rlm-gaming squad</em>"]
MB["MarketBliss<br/><em>five marketing squads</em>"]
SENATE["Senate<br/><em>legal-compliance squad</em>"]
XENIA["Xenia<br/><em>customer-support squad</em>"]
SMITH["AgentSmith<br/><em>meta-governance daemon</em>"]
EIGHTS["TheEights<br/><em>memory · governance · evolution daemon</em>"]
MESH["AgentMesh<br/><em>registry · lifecycle · observability</em>"]