Welcome to Iterative Coding FastAPI CRUD with Autogen! This project leverages the capabilities of Autogen and OpenAI to generate, review, and refine a RESTful API for managing customer data using FastAPI.
This framework is designed to automate the process of developing a CRUD FastAPI service. It follows an iterative approach, where:
- The AI assistant develops code according to a given spec.
- A quality assurance (QA) agent reviews the generated code and provides feedback.
- The AI assistant then refines its work based on the QA feedback, resulting in a polished end product.
- Clone the repository:
git clone https://github.com/your-github-username/iterative-coding-fastapi-crud-autogen.git
cd iterative-coding-fastapi-crud-autogen
- Configure the desired API spec and assistant rules in the
main.py
file. - Run the script:
python main.py
- Review the generated code, QA feedback, and any TODOs in the specified output directory.
- Autogen Integration: Leverages Autogen to manage agent-based interactions and code generation.
- Iterative Development: The assistant and QA agents work together to iteratively refine the code.
- Flexible Configuration: Easily specify your desired API requirements and let the assistant handle the implementation.
Contributions are welcome! Please raise an issue or submit a pull request.