Turn simple prompts into working software with AI development teams
AutoSquad is a cutting-edge framework that creates autonomous AI development teams using Microsoft's AutoGen. Give it a project prompt, and watch specialized AI agents collaborate to build complete, working applications.
โจ 69% Token Reduction - Intelligent context management dramatically reduces OpenAI API costs
โจ Live Progress Display - Real-time agent activity dashboard with beautiful terminal UI
โจ Cost Transparency - Monitor token usage and costs as development happens
โจ Enhanced User Experience - Watch your agents collaborate in real-time
AutoSquad assembles specialized AI agent teams that work together to turn your ideas into reality:
- ๐ฏ PM Agent: Analyzes requirements, breaks down features, manages scope
- ๐งโ๐ป Engineer Agent: Writes production-ready code, implements features, fixes bugs
- ๐๏ธ Architect Agent: Reviews code quality, suggests improvements, ensures scalability
- ๐งช QA Agent: Tests functionality, finds edge cases, validates user experience
Input: A simple text description of what you want to build
Output: Complete, working software with documentation and tests
git clone https://github.com/your-org/autosquad.git
cd autosquad
pip install -r requirements.txtexport OPENAI_API_KEY="your-api-key-here"mkdir my-project
echo "Build a Python CLI tool that converts JSON to CSV with error handling" > my-project/prompt.txt# With live progress display (default)
autosquad run --project my-project --rounds 3
# For servers/automation (simple progress bars)
autosquad run --project my-project --rounds 3 --no-live-displayExperience the new live progress display:
โญโ ๐ง AutoSquad - my-project โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ Round 2/3 | Elapsed: 4m 23s | Files: 7 | Tokens: 12,847 (~$0.38) โ
โฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
โญโ ๐ค Agent Status โโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ Agent โ Status โ Current Action โ Progress โ
โ Engineer โ ๐ข Active โ Writing main.py โ 3 tasks โ
โ Architect โ ๐ก Recent โ Reviewing structure โ 2 tasks โ
โ PM โ โช Waiting โ Planning next features โ 4 tasks โ
โ QA โ โช Waiting โ Testing functionality โ 1 tasks โ
โฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
โญโ ๐ฌ Agent Activity โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ 14:23:15 ๐ค Engineer started: Writing main.py โ
โ 14:23:18 ๐ Engineer create: src/main.py โ
โ 14:23:22 ๐ฌ Engineer: I've implemented the core CLI structure โ
โ 14:23:25 โ
Engineer completed: Created main.py โ
โ 14:23:28 ๐ค Architect started: Reviewing structure โ
โฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
Find your generated code in:
my-project/workspace/- Your complete, working applicationmy-project/logs/- Full conversation transcripts and development history
AutoSquad now includes intelligent token optimization that reduces OpenAI API costs by up to 69%:
Traditional Approach: AutoSquad Optimized:
Round 1: 1,200 tokens Round 1: 1,200 tokens
Round 2: 2,800 tokens Round 2: 1,800 tokens โฌ๏ธ 36% reduction
Round 3: 6,500 tokens Round 3: 2,200 tokens โฌ๏ธ 66% reduction
Round 4: 15,000 tokens Round 4: 2,600 tokens โฌ๏ธ 83% reduction
Total: 25,500 tokens ($0.77) Total: 7,800 tokens ($0.23) โฌ๏ธ 69% savings
Real-time cost monitoring keeps you informed:
โญโ ๐ฐ Cost Summary โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ ๐ฐ Token Usage Summary โ
โ Total Tokens: 23,492 โ
โ API Calls: 31 โ
โ Estimated Cost: $0.7048 โ
โ Avg Tokens/Call: 758 โ
โฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏChoose the right team for your project:
# MVP Team - Fast prototyping (PM + Engineer + Architect)
autosquad run --squad-profile mvp-team --project my-app
# Full Stack Team - Complete applications (All agents + extended tools)
autosquad run --squad-profile full-stack --project my-app
# Research Team - Experimental projects (PM + Engineer + QA)
autosquad run --squad-profile research-team --project my-app# Use different models based on your needs and budget
autosquad run --model gpt-4-turbo --project my-app # Best quality
autosquad run --model gpt-4 --project my-app # Balanced
autosquad run --model gpt-3.5-turbo --project my-app # Most economical
autosquad run --project projects/flowfoundry-marketing-site --model gpt-4o-mini --rounds 3 --squad-profile full-stack# Run more rounds for complex projects
autosquad run --project my-app --rounds 5
# Disable reflection for faster development
autosquad run --project my-app --no-reflect
# Enable verbose logging for debugging
autosquad run --project my-app --verbose- AutoGen Foundation: Built on Microsoft's proven multi-agent framework
- Round-Robin Collaboration: Structured conversation flow ensures all agents contribute
- Context-Aware Agents: Each agent maintains project awareness and specialized knowledge
- Tool Integration: File operations, code execution, and workspace management
- Intelligent Context Compression: Keeps recent messages while summarizing older content
- Smart Message Prioritization: Maintains conversation flow with minimal token usage
- Real-Time Usage Tracking: Monitor costs and usage patterns as development happens
- Automatic Optimization: No manual configuration required
- Real-Time Agent Dashboard: See which agents are active and what they're doing
- Activity Stream: Watch file creation, conversations, and progress live
- Performance Metrics: Track actions completed, files created, and productivity
- Professional Terminal UI: Rich formatting with colors, panels, and layouts
- Workspace Isolation: Each project gets its own dedicated workspace
- Conversation Logging: Complete transcripts of all agent interactions
- File Versioning: Automatic backups and change tracking
- State Persistence: Resume projects and maintain context across sessions
AutoSquad agents create production-ready applications with:
- โ Clean, readable code with proper structure and comments
- โ Error handling and edge case management
- โ Best practices for the chosen technology stack
- โ Documentation and usage instructions
- โ Organized file hierarchy with logical folder structures
- โ Configuration files (requirements.txt, package.json, etc.)
- โ README files with setup and usage instructions
- โ Basic tests for core functionality
- โ Working applications that solve the specified problem
- โ Installation instructions and dependency management
- โ Usage examples and API documentation
- โ Development logs showing the complete thought process
"Build a Python CLI that converts between JSON, CSV, and YAML formats"
โ Complete CLI with argparse, error handling, and format validation
"Create a Flask web app for task management with user authentication"
โ Full Flask app with database, auth, REST API, and frontend
"Build a data pipeline that processes CSV files and generates reports"
โ Python pipeline with pandas, validation, and HTML report generation
"Create a file organizer that sorts downloads by file type"
โ Cross-platform utility with configuration and scheduling
# Required
export OPENAI_API_KEY="your-api-key"
# Optional
export AUTOSQUAD_CONFIG_DIR="~/.autosquad" # Custom config location
export AUTOSQUAD_LOG_LEVEL="INFO" # Logging levelCreate ~/.autosquad/squad_profiles.yaml:
profiles:
my-custom-team:
agents:
- type: pm
config:
focus: "user experience"
- type: engineer
config:
languages: ["python", "typescript"]
frameworks: ["fastapi", "react"]
- type: qa
config:
focus: ["performance", "security"]
workflow:
rounds: 4
reflection_frequency: 2- Parallel Agent Operations: Multiple agents can work simultaneously
- Intelligent Context Management: Faster API calls through optimized prompts
- Async Architecture: Non-blocking operations for better responsiveness
- Smart Caching: Reduce redundant API calls and computations
- Token Usage Monitoring: Real-time tracking prevents budget overruns
- Context Optimization: 69% average reduction in token usage
- Model Selection: Choose the right model for your budget and quality needs
- Usage Analytics: Detailed breakdowns help optimize future projects
- Code Execution Environment: Sandboxed testing and validation
- Git Integration: Automatic commits and version control
- More Agent Types: Database, DevOps, and Security specialists
- Plugin System: Custom tools and integrations
- Web Interface: Browser-based project management and monitoring
- Team Templates: Pre-configured squads for common project types
- Advanced Analytics: Performance insights and optimization suggestions
- Multi-Language Support: Beyond Python to Node.js, Go, Rust
- Distributed Execution: Scale to larger, more complex projects
- Learning System: Agents improve based on project feedback
- Enterprise Features: Team management, audit logs, compliance
- Marketplace: Share and discover community squad profiles
- Token Optimization Guide - Detailed guide to cost savings
- Architecture Overview - Technical implementation details
- Agent Design - How agents work and interact
- Project Status - Current development status
- Contributing - How to contribute to AutoSquad
AutoSquad is open source and welcomes contributions! Whether you're:
- ๐ Reporting bugs or suggesting features
- ๐ Improving documentation or examples
- ๐ง Adding new agent types or tools
- ๐จ Enhancing the UI or user experience
Check out our Contributing Guide to get started.
AutoSquad is released under the MIT License. See LICENSE for details.
- Microsoft AutoGen - The powerful multi-agent framework that makes AutoSquad possible
- OpenAI - GPT models that power our intelligent agents
- Rich Library - Beautiful terminal UI components
- The Open Source Community - For tools, libraries, and inspiration
Ready to build something amazing? ๐
autosquad run --project your-next-big-idea --rounds 3Watch AI agents turn your ideas into reality, efficiently and transparently.