File size: 1,374 Bytes
33833e2
5b9f9a3
 
 
 
33833e2
a2af829
34872b7
33833e2
 
5b9f9a3
33833e2
 
5b9f9a3
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
---
title: CodeAgent-MCP
emoji: "\U0001F916"
colorFrom: blue
colorTo: purple
sdk: gradio
sdk_version: "5.6.0"
python_version: "3.12"
app_file: app.py
pinned: false
license: mit
---

# CodeAgent-MCP

Multi-Agent Code Generation System with MCP Protocol.

**Planner** (task decomposition) -> **Coder** (code generation) -> **Reviewer** (code review) feedback loop.

## How to use

1. Enter your DeepSeek / OpenAI API key
2. Choose a provider (default = DeepSeek)
3. Describe the code you want to generate
4. Click "Start" and watch the multi-agent system work

## Architecture

- **Planner Agent**: Decomposes complex requirements into 2-4 subtasks
- **Coder Agent**: Generates code with optional MCP tool integration
- **Reviewer Agent**: Scores code quality (1-10) and provides improvement suggestions
- **Orchestrator**: Manages Coder-Reviewer feedback loop until quality threshold is met

## Project Series

1. [small-llms-tool-use](https://github.com/XIECHENG6/small-llms-tool-use) - Function calling fine-tuning (86-89% exact match)
2. [agenttune](https://github.com/XIECHENG6/agenttune) - Multi-step ReAct reasoning (100% task success rate)
3. [smallrag](https://github.com/XIECHENG6/smallrag) - RAG optimization (chunk_size=512 + MMR + top-k=5)
4. **CodeAgent-MCP** (this project) - Multi-Agent system integration

[GitHub](https://github.com/XIECHENG6/CodeAgent-MCP)