This is a CrewAI Generator built using Streamlit that allows users to generate AI agent configurations dynamically. The tool leverages OpenAI's GPT-4o-mini to analyze user requirements and create a structured CrewAI setup, including agents, tasks, and necessary tools.
- Accepts simple English input to define AI agents and tasks
- Automatically generates a structured AI workflow
- Provides ready-to-use Python code for CrewAI
- Built using Streamlit for an interactive UI
To set up and run this application, follow these steps:
git clone https://github.com/aakriti1318/Crew-Agent-Generator.git
cd Crew-Agent-GeneratorInstall the required dependencies:
pip install -r requirements.txtCreate a .env file in the root directory and add your OpenAI API key:
echo "OPENAI_API_KEY=your_openai_api_key_here" > .envAlternatively, manually create the .env file and add:
OPENAI_API_KEY=your_openai_api_key_hereStart the Streamlit app:
streamlit run main.pyThis will launch the application in your default web browser.
- Open the Streamlit app in your browser.
- Enter a prompt describing your AI agent requirements.
- Click on Generate Crew to create a structured AI workflow.
- View the generated code and copy it for your project.
Feel free to fork the repository, submit pull requests, and suggest improvements on LinkedIn ❤️
