Two AI agents brainstorm, debate, and research together
Project description
council-cli
Two AI agents brainstorm, debate, and research together using Claude Code.
Council launches two Claude Code instances that analyze your codebase in alternating rounds, tagging their points with AGREE/DISAGREE/REFINE to drive toward consensus.
Installation
pip install council-cli
Or install from source:
git clone https://github.com/david/council-cli
cd council-cli
pip install -e .
Prerequisites
- Claude Code CLI installed and authenticated (
npm install -g @anthropic-ai/claude-code)
Usage
Standard Mode (formal rounds)
# 5-round council on error handling in current directory
council "Review error handling"
# 3 rounds on auth security
council -r 3 "Is the auth system secure?"
# Analyze a specific project, save to custom file
council -d ./my-project -o report.md "Code quality review"
# Verbose mode — see prompts being sent
council -v "Performance bottlenecks"
# Dry run — validate arguments without calling Claude
council --dry-run "Test topic"
Live Brainstorm Mode (--live)
Short, conversational back-and-forth exchanges instead of formal rounds. Feels like two engineers at a whiteboard.
# Default 10 exchanges
council --live "Should we refactor the auth system?"
# 20 exchanges for a deeper brainstorm
council --live --exchanges 20 "Performance vs readability"
Research Mode (--research)
Agents do deep web research and lateral thinking before brainstorming grounded in real data.
# Research mode with default 10 brainstorm exchanges
council --research "AI code review tools market"
# Research mode with 6 brainstorm exchanges
council --research --exchanges 6 "Developer productivity tools"
Flags
| Flag | Description |
|---|---|
topic |
The analysis topic or question (required) |
-r, --rounds N |
Number of analysis rounds in standard mode (default: 5) |
-d, --dir DIR |
Working directory for analysis (default: .) |
-o, --output FILE |
Output file path for transcript (default: council_transcript.md) |
-v, --verbose |
Enable verbose output |
--live |
Live brainstorm mode |
--research |
Research mode (web search + lateral thinking + brainstorm) |
--exchanges N |
Number of exchanges in --live/--research mode (default: 10) |
--dry-run |
Validate arguments without running |
How It Works
- Standard Mode: Agent-Alpha analyzes the topic, Agent-Beta critiques, they go back and forth for N rounds, then produce a consensus.
- Live Mode: Agents exchange short messages like a real conversation, then summarize key takeaways.
- Research Mode: Alpha does deep web research, Beta does lateral thinking on the findings, then both brainstorm grounded in real data.
Output
Council saves a markdown transcript to council_transcript.md (or your -o path) with metadata, round-by-round discussion, and final conclusions.
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file council_cli-0.1.2.tar.gz.
File metadata
- Download URL: council_cli-0.1.2.tar.gz
- Upload date:
- Size: 23.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cbb23f50598df24d77f1becb7c32908b45d548454ca365b3011afcc65a837c1b
|
|
| MD5 |
11639133de3c1fc79569b92d26c1491b
|
|
| BLAKE2b-256 |
045fc9ad6c3b83616242d232d0b403afbc0ce82fec0247b20e65c6c9f49cb488
|
File details
Details for the file council_cli-0.1.2-py3-none-any.whl.
File metadata
- Download URL: council_cli-0.1.2-py3-none-any.whl
- Upload date:
- Size: 23.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d508257a8b18b763fe5c71f8e7c92ee611f349af077f0c49a356d7eced177a6e
|
|
| MD5 |
dc4571b505948f6dc0e3e4abcf74c5c4
|
|
| BLAKE2b-256 |
f0a8ebc8a5eba6f03a91cfbdb5cd8e8e57c284f5acbd5d948e7b4c221d891fc5
|