AI-powered multi-agent development platform for autonomous code generation
Project description
๐ค AutoCoder - Autonomous AI Coding Agent System
A powerful multi-agent AI system that autonomously generates complete software projects using state-of-the-art LLMs and intelligent agent orchestration.
โจ Latest Updates (August 2025)
๐ API-Only Architecture
- Unified execution through centralized API server
- Automatic port detection and conflict resolution
- Embedded server management with zero configuration
๐ Simplified Configuration
- No environment variables required! All API keys load from
config.yaml - Support for OpenAI, Anthropic, and Google Gemini
- Automatic provider detection and fallback
๐งช Comprehensive Testing
- Full CLI test coverage with mocked components
- Integration tests for all major features
- CI/CD pipeline with multi-version Python support
๐ฏ Key Features
- Multi-Agent System: Specialized agents for planning, development, testing, UI/UX, database, and DevOps
- LangGraph Orchestration: Intelligent workflow management with state persistence
- Auto Port Detection: Automatically finds available ports for API server
- Web Interface: Beautiful FastAPI-powered web UI for project management
- CLI Interface: Powerful command-line tools for developers
- MCP Support: Model Context Protocol integration for enhanced capabilities
- OpenAI Gateway: Compatible with OpenAI API for seamless integration
๐ Quick Start
Installation
# Clone the repository
git clone https://github.com/eladrave/AutoCoder.git
cd AutoCoder
# Install dependencies
pip install -e .
Configuration
- Copy the example config:
cp config.yaml.example config.yaml
- Add your API keys to
config.yaml:
api_keys:
openai_api_key: "sk-your-key-here"
anthropic_api_key: "sk-ant-your-key-here"
google_api_key: "AIza-your-key-here"
No environment variables needed! The system loads everything from the config file.
Usage
Simple CLI Usage
# Create a simple application
./agent.sh "Create a todo list web app with React"
# Dry run mode (no files created)
./agent.sh "Build a REST API" --dry-run
# Verbose mode with logging
./agent.sh "Create a Python package" --verbose --save-logs
Advanced CLI Options
# Use specific port for API server
python main_api.py "Create app" --port 8080
# Use external API server
python main_api.py "Create app" --api-url http://remote-server:5001
# Keep server running for multiple tasks
python main_api.py "Create app" --keep-server
Web Interface
# Start the web interface
python web_interface/app.py
# Open browser to http://localhost:5001
๐ Documentation
- API Key Setup Guide - Configure API keys and providers
- Migration to API Guide - Transition to API-only architecture
- Cloud Deployment - Deploy to Google Cloud Run
- Monitoring Guide - System monitoring and observability
๐งช Testing
Run the comprehensive test suite:
# Run all tests
pytest tests/
# Run specific test categories
pytest tests/test_cli_api.py -v # CLI tests
pytest tests/test_web_interface.py -v # Web interface tests
pytest tests/test_agents.py -v # Agent tests
# Run with coverage
pytest tests/ --cov=. --cov-report=html
๐๏ธ Architecture
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Web Interface โ
โ (FastAPI + React) โ
โโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโ
โ
โโโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโ
โ API Server โ
โ (Automatic Port Detection) โ
โโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโ
โ
โโโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Workflow Orchestrator โ
โ (LangGraph) โ
โโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโ
โ
โโโโโโโโโโโโโดโโโโโโโโโโโโ
โ โ
โโโโโโผโโโโโโโ โโโโโโโโโโผโโโโโโโโ
โ Agents โ โ Services โ
โโโโโโโโโโโโโค โโโโโโโโโโโโโโโโโโค
โ โข Planner โ โ โข File Handler โ
โ โข Developerโ โ โข Memory Store โ
โ โข Tester โ โ โข Config Loaderโ
โ โข UI/UX โ โ โข Port Finder โ
โ โข Databaseโ โโโโโโโโโโโโโโโโโโ
โ โข DevOps โ
โโโโโโโโโโโโโ
๐ค Contributing
We welcome contributions! Please see our Contributing Guide for details.
๐ License
This project is licensed under the MIT License - see the LICENSE file for details.
๐ Acknowledgments
- Built with LangChain and LangGraph
- Powered by OpenAI, Anthropic, and Google AI models
- FastAPI for the robust web framework
- The amazing open-source community
๐ Support
- Issues: GitHub Issues
- Discussions: GitHub Discussions
- Email: support@autocoder.ai
Built with โค๏ธ by the AutoCoder Team
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file autocoder_ai-2.0.12.tar.gz.
File metadata
- Download URL: autocoder_ai-2.0.12.tar.gz
- Upload date:
- Size: 215.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
82e278a1aea50fb1071a59370c65268ee6643c8f4c70c62bf64c73e99f7e230c
|
|
| MD5 |
ff4622ec28dc2d1ffe312c9ed6eb9d4f
|
|
| BLAKE2b-256 |
a94447cd757399a201084af5f0667d4a727bbd317abcded19ef71a43d402637e
|
File details
Details for the file autocoder_ai-2.0.12-py3-none-any.whl.
File metadata
- Download URL: autocoder_ai-2.0.12-py3-none-any.whl
- Upload date:
- Size: 196.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e0e273ae609e19a6d459f50910147f80f8fb60a751e048e7d0cdb0a2268966fc
|
|
| MD5 |
1f09c4240b79e464fe5bdb92212c3645
|
|
| BLAKE2b-256 |
972ba745c53592a8e1f62b12beb5c98423da3e96fecb4d12dda6b486aed7c192
|