Skip to content

Sam-bot-dev/Tiny-council

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🏛️ Tiny Council

A multi-agent AI system where specialized agents debate, critique, and synthesize decisions — just like a real engineering council.

Python FastAPI AI Status License


🚀 Overview

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.


🧠 Why Tiny Council?

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.


🏗️ Core Architecture

      User Query
          |
          v
      +-------------------+
      |  Council Manager  |
      +-------------------+
        |        |      |
        v        v      v
+---------+ +---------+ +---------+
| Planner | | Critic  | | Expert  |
+---------+ +---------+ +---------+
      \         |         /
       \        |        /
        v       v       v
+-------------------+
| Consensus Engine  |
+-------------------+
        |
        v
Final Answer + Reasoning Trace

👥 Council Agents (v1)

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.


🛠️ Tech Stack

  • Language: Python
  • Backend: FastAPI
  • AI Layer: Pluggable LLM interface (OpenAI / Local models)
  • Data Models: Pydantic
  • Architecture: Modular, agent-based design

📁 Project Structure

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
│
├── tests/
├── requirements.txt
└── README.md

⚙️ Current Features

  • ✔️ Modular agent system
  • ✔️ Role-specific prompting
  • ✔️ Turn-based agent debate
  • ✔️ Consensus synthesis

🧭 Roadmap

Phase 1

  • Core agent framework
  • Single-round debate

Phase 2

  • Multi-round discussions
  • Agent scoring & voting

Phase 3

  • Persistent memory per agent
  • Explainable reasoning logs

Phase 4

  • Web UI for live agent debates
  • Exportable decision reports

🎓 Use Cases

  • AI research & experimentation
  • Engineering decision support
  • Code review & system design critique
  • GSoC / research internship portfolios
  • Explainable AI demonstrations

📜 License

This project is licensed under the MIT License — free to use, modify, and distribute.


🔗 Connect With Me

Bhavesh
Lead Dev
Bhavesh
🌐 GitHub

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages