Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

8 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ€– Multi-Agent Code Generator

Autonomous coding agent with iterative refinement

Planning Agent: Breaks down requirements into concrete tasks
Research Agent: Gathers relevant technical knowledge
Executor Agent: Generates complete, working code files
Critic Agent: Validates output quality and provides feedback
Automatic file extraction from code blocks
Iterative improvement (up to 5 cycles)
ZIP download of generated projects

Use cases: Generate full applications, build React components, create Python scripts, scaffold entire projects


Multi-Agent Pipeline Pattern

User Request
     ↓
[Planner Agent] ──→ Task Breakdown
     ↓
[Researcher Agent] ──→ Knowledge Gathering
     ↓
[Executor Agent] ──→ Output Generation
     ↓
[Critic Agent] ──→ Quality Check
     ↓
Pass? ──No──→ Feedback Loop (back to Planner)
     ↓ Yes
Final Output

πŸ“¦ Installation

Prerequisites

  • Python 3.8+
  • OpenAI API key

Setup

  1. Clone the repository
git clone https://github.com/blakebrandon-hub/Multi-Agent-Code-Generator
  1. Install dependencies
pip install -r requirements.txt
  1. Set OpenAI API key
export OPENAI_API_KEY='your-api-key-here'
  1. Run the application
python app.py
  1. Open in browser
http://localhost:5000

image

About

Autonomous coding agents with iterative refinement

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages