The Autogen Task Management System is an automated solution for generating, executing, and describing code to solve user-submitted tasks. It leverages multiple agents to ensure tasks are handled efficiently and explained thoroughly.
This project uses three main agents to manage tasks:
- User Proxy Agent: Oversees the task, approves plans, and monitors execution.
- Developer Agent: Generates and executes the required code.
- Planner Agent: Describes the code generated by the Developer Agent in detail.
The agents work together to ensure that tasks are executed properly and explained in detail.
- Submit tasks for code generation.
- Automated code execution and validation.
- Detailed explanation of the generated code by the Planner Agent.
- Supports handling edge cases and proper error management.
-
Clone the repository to your local machine:
git clone <repository-url> cd <repository-directory>
-
Create a virtual environment and activate it:
python3 -m venv agent source agent/bin/activate # On Windows use `agent\Scripts\activate`
-
Install the required dependencies:
pip install -r requirements.txt
-
Run the script:
python code_writer.py
-
Enter the task you want the system to handle when prompted.
-
The agents will automatically generate, execute, and explain the code.