Skip to main content

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

  1. Standard Mode: Agent-Alpha analyzes the topic, Agent-Beta critiques, they go back and forth for N rounds, then produce a consensus.
  2. Live Mode: Agents exchange short messages like a real conversation, then summarize key takeaways.
  3. 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

council_cli-0.1.2.tar.gz (23.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

council_cli-0.1.2-py3-none-any.whl (23.0 kB view details)

Uploaded Python 3

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

Hashes for council_cli-0.1.2.tar.gz
Algorithm Hash digest
SHA256 cbb23f50598df24d77f1becb7c32908b45d548454ca365b3011afcc65a837c1b
MD5 11639133de3c1fc79569b92d26c1491b
BLAKE2b-256 045fc9ad6c3b83616242d232d0b403afbc0ce82fec0247b20e65c6c9f49cb488

See more details on using hashes here.

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

Hashes for council_cli-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d508257a8b18b763fe5c71f8e7c92ee611f349af077f0c49a356d7eced177a6e
MD5 dc4571b505948f6dc0e3e4abcf74c5c4
BLAKE2b-256 f0a8ebc8a5eba6f03a91cfbdb5cd8e8e57c284f5acbd5d948e7b4c221d891fc5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page