A multi-agent AI system where specialized agents debate, critique, and synthesize decisions β just like a real engineering council.
Tiny Council is an experimental multi-agent AI architecture where multiple autonomous AI agents collaborate, debate, and challenge each other to arrive at high-quality, explainable decisions.
Instead of relying on a single AI response, Tiny Council forms a council of experts, each with a distinct role β mimicking how real-world engineering teams think.
Traditional AI systems:
- Provide single-point answers
- Lack internal critique
- Hide reasoning paths
Tiny Council introduces:
- π£οΈ Inter-agent debate
- βοΈ Conflict-driven reasoning
- π Explicit critique and validation
- π§© Consensus-based decision making
This makes the system more robust, explainable, and realistic.
User Query
|
v
+-------------------+
| Council Manager |
+-------------------+
| | |
v v v
+---------+ +---------+ +---------+
| Planner | | Critic | | Expert |
+---------+ +---------+ +---------+
\ | /
\ | /
v v v
+-------------------+
| Consensus Engine |
+-------------------+
|
v
Final Answer + Reasoning Trace
| Agent | Role |
|---|---|
| π§ Planner | Breaks down the problem and proposes a solution |
| π Critic | Challenges assumptions, finds flaws and risks |
| π Domain Expert | Ensures factual and technical correctness |
| π§© Synthesizer | Merges arguments into a final response |
Each agent operates independently and communicates through a structured debate loop.
Tiny Council follows a multi-agent orchestration workflow where multiple AI agents collaboratively solve problems through structured debate, critique, and synthesis.
Instead of relying on a single AI response, the system creates a council of specialized agents that independently analyze the query and contribute their perspectives.
User Query
β
Council Manager receives request
β
Planner Agent proposes solution
β
Critic Agent challenges assumptions
β
Domain Expert validates correctness
β
Synthesizer merges all viewpoints
β
Final Answer + Reasoning Trace
- Breaks down the problem
- Creates an initial strategy
- Suggests possible approaches
- Identifies flaws and risks
- Challenges weak assumptions
- Detects inconsistencies
- Validates technical accuracy
- Ensures factual correctness
- Provides domain-specific insights
- Combines all responses
- Resolves conflicts
- Produces final explainable answer
Traditional AI systems:
- Generate single-pass responses
- Lack internal critique
- Hide reasoning paths
Tiny Council improves this by:
- Enabling collaborative reasoning
- Increasing explainability
- Supporting transparent decision-making
- Producing more robust responses
- Language: Python
- Backend: FastAPI
- AI Layer: Pluggable LLM interface (OpenAI / Local models)
- Data Models: Pydantic
- Architecture: Modular, agent-based design
git clone https://github.com/your-username/tiny-council.git
cd tiny-councilpython3 -m venv venv
source venv/bin/activatepython -m venv venv
venv\Scripts\activatepip install -r requirements.txtTiny Council currently uses Hugging Face hosted LLMs for agent reasoning and collaborative responses.
Create a .env file in the root directory:
HUGGINGFACE_API_KEY=your_api_key_hereGenerate your API key from:
https://huggingface.co/settings/tokens
python -m api.mainReplace
main.pywith your actual project entry file if different.
Below is a live terminal execution of Tiny Council where multiple agents collaboratively debate and generate a final response.
- Multi-agent orchestration
- Structured reasoning flow
- Agent critique and validation
- Consensus-based response generation
- Terminal-based interactive workflow
tiny-council/
β
βββ agents/
β βββ base_agent.py
β βββ planner.py
β βββ critic.py
β βββ expert.py
β βββ synthesizer.py
β
βββ council/
β βββ manager.py
β βββ consensus.py
β
βββ prompts/
β βββ planner.txt
β βββ critic.txt
β βββ expert.txt
β
βββ api/
β βββ main.py
β
βββ cli/
β βββ banner.py
|
βββ tests/
β βββ test_manager.py
βββ requirements.txt
βββ README.md
- βοΈ Modular agent system
- βοΈ Role-specific prompting
- βοΈ Turn-based agent debate
- βοΈ Consensus synthesis
- Core agent framework
- Single-round debate
- Multi-round discussions
- Agent scoring & voting
- Persistent memory per agent
- Explainable reasoning logs
- Web UI for live agent debates
- Exportable decision reports
- AI research & experimentation
- Engineering decision support
- Code review & system design critique
- GSoC / research internship portfolios
- Explainable AI demonstrations
This project is licensed under the MIT License β free to use, modify, and distribute.
|
Lead Dev
Bhavesh
π GitHub
|
