Skip to content

A CrewAI multi-agent system that transforms natural language requirements into complete, production-ready software applications using collaborative AI agents.

License

Notifications You must be signed in to change notification settings

pranavpai/Engineering-Team-AI-Agent

Repository files navigation

Engineering Team AI Agent

πŸ€– Generate complete software systems from natural language requirements

A powerful multi-agent system built with CrewAI that automatically creates production-ready applications including modular code, tests, documentation, and Gradio-based UIs.

Version Python License Docker

✨ What It Does

Transform this:

Create a Task Management System for small teams with user authentication, 
project creation, and real-time notifications.

Into this:

  • πŸ“¦ Modular Python Code with clean architecture
  • πŸ§ͺ Comprehensive Tests with high coverage
  • πŸ–₯️ Professional Gradio UI ready to deploy
  • πŸ“š Complete Documentation and setup guides
  • βš™οΈ Environment Configuration with security best practices

πŸš€ Quick Start

1. Clone and Configure

git clone https://github.com/your-org/engineering-team-ai-agent.git
cd engineering-team-ai-agent
cp .env.example .env
# Add your OPENAI_API_KEY to .env

2. Run the Agent (Choose One)

Docker (Recommended)

# Run with default req.txt file
docker-compose up

# Or run interactively to input requirements
docker compose run --rm engineering-agent python -m engineering_team.main_flow --interactive
  • Interactive mode lets you enter requirements line by line (type 'END' to finish).
  • To use a different requirements file, replace req.txt before running.

UV (Modern Python)

uv sync
uv run engineering_team

Traditional Python

pip install -e .
engineering_team

🎯 Key Features

  • πŸ—οΈ Architecture Planning: Designs modular systems automatically
  • πŸ”§ Code Generation: Creates production-ready Python modules
  • πŸ”„ Self-Correction: Built-in retry logic with error feedback
  • πŸ–₯️ Gradio Integration: Professional UIs for all generated apps
  • πŸ§ͺ Testing: Comprehensive test suites with validation
  • πŸ“– Documentation: Auto-generated README and API docs
  • πŸ” Security: Environment variable management and validation

πŸ“‹ Usage

  1. Edit req.txt with your project requirements, or use interactive mode.
  2. Run the agent (see Quick Start above).
  3. Check your generated project in the output/ directory.

βš™οΈ Configuration

Environment Variables

Required variables for the .env file:

# Required
OPENAI_API_KEY=your_openai_api_key_here
# Optional integrations
SERPER_API_KEY=your_serper_api_key
SENDGRID_API_KEY=your_sendgrid_key

Custom Configuration

from engineering_team.config import Config
config = Config(
    output_dir="my_projects",
    req_file="my_requirements.txt"
)

πŸ“ Generated Project Structure

Every generated project includes:

output/
β”œβ”€β”€ README.md                 # Project documentation
β”œβ”€β”€ requirements.txt          # Python dependencies
β”œβ”€β”€ .env.example             # Environment template
β”œβ”€β”€ app.py                   # Gradio web application
β”œβ”€β”€ test_system.py           # Comprehensive tests
β”œβ”€β”€ system_integration.py    # Module orchestration
β”œβ”€β”€ module1.py               # Business logic modules
β”œβ”€β”€ module2.py               # (Generated based on requirements)
└── ...

πŸ› οΈ Advanced Usage

  • Multiple Deployment Methods: See Quick Start for pip, UV, and Docker options.
  • Custom Requirements: Edit req.txt or use --interactive mode.
  • Development Mode: Use docker compose --profile dev up for live code changes.

πŸ§ͺ Testing Generated Applications

cd output/
python test_system.py         # Run the test suite
python app.py                 # Launch the web application (http://localhost:7860)
pip install -r requirements.txt
python -m pytest              # If pytest tests are generated

πŸ”§ Troubleshooting

Common Issues

"OpenAI API key not found"

cp .env.example .env
echo "OPENAI_API_KEY=your_key_here" >> .env

"Module creation failed"

  • Check your internet connection
  • Verify API key is valid
  • The system automatically retries with error feedback

"Permission denied (Docker)"

sudo usermod -aG docker $USER
# Then logout and login again
# If you see permission errors with appuser, the Dockerfile has been fixed
# Rebuild the image: docker compose build --no-cache

Performance Tips

  • Large projects: Complex requirements may take 10-15 minutes
  • Docker: Use development profile for faster iteration
  • UV: Fastest dependency management for Python projects

πŸ“– Documentation

🀝 Contributing

We welcome contributions! See our Developer Guide for:

  • Development setup with Docker/UV
  • Code quality standards
  • Testing requirements
  • Pull request process

Quick development setup:

git clone https://github.com/your-org/engineering-team-ai-agent.git
cd engineering-team-ai-agent
uv sync --dev
pre-commit install

πŸ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.

πŸ™ Credits

  • Built with CrewAI multi-agent framework
  • UI powered by Gradio
  • Dependency management with UV

⭐ Star this repo if it helped you build amazing applications!# Trigger workflow

About

A CrewAI multi-agent system that transforms natural language requirements into complete, production-ready software applications using collaborative AI agents.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published