This repository implements a Multi-Agent System using the CAMEL-AI framework, where specialized LLM-based agents collaborate to generate, review, document, test, and evaluate code. It includes a Streamlit interface for task input, live logging, and result visualization.
- Multi-Agent System: A workforce of specialized agents, each with a unique role:
- Coder Agent: Generates code based on user prompts.
- Code Reviewer Agent: Reviews code and suggests improvements.
- Code Documenter Agent: Creates documentation for the code.
- Code Tester Agent: Generates and executes test cases.
- Code Evaluator Agent: Scores code quality, test coverage, and documentation clarity.
- Streamlit Interface: A user-friendly web interface for:
- Inputting tasks.
- Viewing live logs during task execution.
- Displaying task results and workforce logs.
- Customizable Models: Supports OpenAI GPT-4 and other models via the CAMEL-AI framework.
- Clone the repository:
git clone https://github.com/javiervela/camel-ai-coding-workforce.git cd camel-ai-coding-workforce - Install dependencies:
poetry install
- Set up environment variables: Create a
.envfile in the root directory and configure any necessary environment variables likeOPENAI_API_KEY. For example:OPENAI_API_KEY=your_openai_api_key
- Run the Streamlit app:
poetry run streamlit run src/camel_ai_coding_workforce/main.py
- Open your web browser and navigate to
http://localhost:8501to access the interface. - Enter your task in the input field and click "Run".
- Python 3.12
- Poetry
- CAMEL-AI
- Streamlit
