Codex Council is a Codex plugin for structured multi-agent decision review.
It adapts the LLM Council pattern to a Codex-only workflow: independent first opinions, anonymized peer review, compact scoring, dissent preservation, and a Chairman synthesis.
It does not call third-party model provider APIs by itself. It relies on Codex and optional Codex subagents available in your environment.
- A Codex skill:
$codex-council - Five council roles:
- Principal Architect
- Reliability Engineer
- Security and Governance Reviewer
- Product and Operator Advocate
- Contrarian Red Team
- Internal competency packs for use without external skills
- Workflow recipes for common review situations
- Governance preflight checklist
- Token-budget guidance
- Deterministic reviewer-score aggregation
- Session scaffolding and validation
- Plugin strict validation
Install directly from GitHub with the Codex Marketplace CLI:
npx codex-marketplace add ercoledevs/codex-council --pluginChoose project or global scope when prompted, or pass the scope explicitly:
npx codex-marketplace add ercoledevs/codex-council --plugin --project
npx codex-marketplace add ercoledevs/codex-council --plugin --globalFor non-interactive installs:
npx codex-marketplace add ercoledevs/codex-council --plugin --global -yIf you installed with Codex Marketplace:
npx codex-marketplace add ercoledevs/codex-council --plugin --global -yFor project installs:
npx codex-marketplace add ercoledevs/codex-council --plugin --project -yThen restart or reload Codex.
New versions are announced through GitHub Releases.
To receive update notifications:
- Open https://github.com/ercoledevs/codex-council
- Click Watch
- Choose Custom
- Enable Releases
You can also check manually:
python3 scripts/codex_council.py check-updateClone or copy this repository into your local Codex plugin directory:
mkdir -p ~/plugins
git clone https://github.com/ercoledevs/codex-council.git ~/plugins/codex-councilAdd the plugin to your local marketplace file:
{
"name": "codex-council",
"source": {
"source": "local",
"path": "./plugins/codex-council"
},
"policy": {
"installation": "AVAILABLE",
"authentication": "ON_INSTALL"
},
"category": "Productivity"
}The marketplace file is usually:
~/.agents/plugins/marketplace.json
Restart or reload Codex after adding the plugin.
Ask Codex to use the council explicitly:
Use $codex-council to review this architecture decision.
Council review this implementation plan for blockers, dissent, and verification.
Deep Council: review this migration for security, rollback, and data-loss risk.
fast: local Chairman review for small, reversible, low-risk decisionsstandard: five council members with compact outputs and local synthesisdeep: five members plus additional reviewer scrutiny for security, data loss, migrations, irreversible changes, close ties, or explicit full-council requests
The helper script is stdlib-only.
Validate the plugin:
python3 scripts/codex_council.py validate --plugin-root . --strictCreate a traceable council session:
python3 scripts/codex_council.py init --topic "Architecture Review" --root . --mode standardValidate a generated session:
python3 scripts/codex_council.py validate-session --session .codex-council/<session>Aggregate reviewer scores:
python3 scripts/codex_council.py score --input reviews.jsonCompact JSON output:
python3 scripts/codex_council.py score --input reviews.json --compactCheck for newer GitHub Releases:
python3 scripts/codex_council.py check-updateMachine-readable update check:
python3 scripts/codex_council.py check-update --jsonRun the test suite:
python3 -m unittest discover -s tests -vRun strict validation:
python3 scripts/codex_council.py validate --plugin-root . --strictBefore publishing, ensure no local artifacts are present:
find . -name '.DS_Store' -o -name '._*' -o -name '__pycache__' -o -name '*.pyc'codex-council/
├── .codex-plugin/plugin.json
├── assets/
├── scripts/codex_council.py
├── skills/codex-council/SKILL.md
├── skills/codex-council/references/
├── tests/
└── PROVENANCE.md
- Council consensus is not proof.
- This is an advisory workflow, not a legal, security, or compliance approval system.
- Role diversity is produced by isolated Codex role prompts, not by multiple external model providers.
- The original LLM Council pattern uses multiple LLM providers; Codex Council keeps the workflow inside Codex.
- Deep mode should be used for sensitive, irreversible, privacy, security, migration, or data-loss decisions.
- Validate evidence before declaring work complete.
This project is inspired by public LLM Council work:
The original pattern asks multiple models for independent answers, anonymizes responses for peer review/ranking, then has a Chairman model synthesize the final answer. Codex Council keeps that decision shape while adapting execution to Codex roles, optional Codex subagents, and local deterministic scoring. See PROVENANCE.md for details.
MIT. See LICENSE.