A minimal, fully transparent agentic AI system built in pure Python — no frameworks, no abstractions.
This project demonstrates how multiple specialized agents can plan, write, review, and refine code collaboratively using simple tools and a shared workspace.
Designed for learning, teaching, and experimentation with real agentic patterns.
- Breaks down user requests into:
- File structure
- Modules
- Step-by-step engineering plan
- Writes and updates code
- Saves files to disk
- Executes Python scripts
- Fixes errors based on feedback
- Reviews generated code
- Checks correctness
- Suggests improvements
- Ensures consistency
Architect → Engineer → Critic → Engineer → Critic → … → Done
This loop is the core pattern behind modern agentic systems.
multi-agent-coder/
│
├── agents/
│ ├── base_agent.py # Core agent class
│ ├── architect.py # Planning agent
│ ├── engineer.py # Code-writing agent
│ └── critic.py # Review agent
│
├── workspace/ # Generated code output
│
├── tools.py # File I/O + Python execution tools
├── controller.py # Orchestration loop
└── README.mdEach agent is a lightweight wrapper around an LLM with:
- A system prompt
- Message history
- A
send()method for communication
- 📄 File read/write
▶️ Python execution
Everything is intentionally simple and transparent, making it easy to understand and extend.
This project is licensed under the MIT License.
If you want to experiment or extend this system:
- Fork the repo
- Add your agent or tool
- Open a PR