SethGammon/Citadel

The operating layer for Claude Code + OpenAI Codex: persistent project memory, intent routing, safety hooks, cost telemetry, and parallel agent fleets.

912Stars on the repository
61Mods indexed here, across every type
4d agoLast push, which is what freshness is scored on
MITLicence, which decides whether bodies are shown

arbiter

01

SethGammon/Citadel

Agent

Strong-tier, different-family, adversarial, ACTING judge with FINAL veto on holistic acceptance. Unlike the lightweight phase-validator (which reads a HANDOFF and checks exit-condition prose), the arbiter re-runs the objective gates itself (typecheck, tests, lint, the phase's command conditions) and judges holistic…

912 4d ago A 132 tokens original MIT

arch-reviewer

02

SethGammon/Citadel

Agent

Read-only architecture reviewer. Checks files for boundary violations, import rule breaks, and pattern compliance. Does not modify files.

912 4d ago A 28 tokens original MIT

archon

03

SethGammon/Citadel

Agent

Autonomous vision agent. Decomposes vague or specific direction into campaign phases. Delegates to Marshals and specialists. Reviews output against quality standards. Maintains campaign state across invocations. Does not write code — orchestrates those who do.

912 4d ago A 52 tokens original MIT

fleet

04

SethGammon/Citadel

Agent

Parallel campaign orchestrator. Runs multiple campaigns in coordinated waves within a single session. Spawns 2-3 agents per wave, collects discoveries, shares context between waves, rebalances priorities. Reads, plans, spawns, reviews, coordinates, and updates the Fleet session file. Source code changes belong to…

912 4d ago A 66 tokens original MIT

knowledge-extractor

05

SethGammon/Citadel

Agent

Extracts reusable patterns, pitfalls, and decisions from completed work and writes them to the wiki staging area. Run after finishing a body of work to capture what was learned. Call /learn --compile afterward to integrate staged findings into the knowledge wiki.

912 4d ago A 53 tokens original MIT

phase-validator

06

SethGammon/Citadel

Agent

Lightweight handoff validator. Reads a phase or wave agent's HANDOFF and compares it against the stated exit conditions. Returns a structured verdict (pass/fail) with specific reasons. Never modifies files — read-only judge. Spawned by Archon after each phase and by Fleet after each wave agent.

912 4d ago A 64 tokens original MIT

policy-enforcer

07

SethGammon/Citadel

Agent

Blocking policy judge. Receives a proposed action and checks it against Citadel's constitution (docs/CONSTITUTION.md). Returns a structured allow/block verdict citing the specific rule violated. Never modifies files — read-only judge. Spawned by Archon and Fleet before Red-reversibility operations.

912 4d ago A 63 tokens original MIT