Multiagent framework for code generation using LLMs
Top 82.6% on sourcepulse
AgentCoder is a multi-agent framework for generating high-quality code using LLMs. It targets developers and researchers seeking to improve code generation through specialized, collaborating agents and an iterative feedback loop for refinement.
How It Works
AgentCoder employs three specialized agents: a programmer agent for code generation, a test designer agent for independent test case creation, and a test executor agent to run tests and provide feedback. This multi-agent approach allows for task specialization and an iterative refinement process, aiming for more robust and correct code output.
Quick Start & Requirements
pip install -r requirements.txt
.env
file.python programmer_[humaneval/mbpp].py
python test_designer_[humaneval/mbpp].py
python test_executor_[humaneval/mbpp].py
Highlighted Details
Maintenance & Community
Contributions are welcome via issues or pull requests. The project acknowledges funding and support from AIOHUB.
Licensing & Compatibility
Released under the MIT License, permitting commercial use and integration with closed-source projects.
Limitations & Caveats
The framework relies on external LLM APIs, and its performance is dependent on the quality of these models and the provided API keys.
5 months ago
1 day