A comprehensive system for orchestrating AI agents to build and grow autonomous businesses through C-Suite strategic decision-making and workflow automation.
screencast.mov
This project is built using cutting-edge AI development tools and frameworks:
- 🔧 Framework: Microsoft AutoGen - Multi-agent conversation framework
- 💻 Development: Cursor + Claude Sonnet 4 - AI-powered coding
- 🧠 Advisory: ChatGPT o1-mini - Strategic guidance and architecture advice
Launchonomy represents the future of AI-assisted development - where AI agents not only run businesses but also build the systems that run them.
- Python 3.8+
- OpenAI API key
- ChromaDB (automatically installed with requirements)
pip install git+https://github.com/mitchellfyi/launchonomy.git
- Clone the repository:
git clone https://github.com/mitchellfyi/launchonomy.git
cd launchonomy
- Install in development mode:
pip install -e .
pip install "git+https://github.com/mitchellfyi/launchonomy.git[dev]"
Set up your OpenAI API key:
export OPENAI_API_KEY="your-api-key-here"
# Or create a .env file with: OPENAI_API_KEY=your-api-key-here
Test that everything is working correctly:
python tests/test_install.py
Or test the CLI directly:
launchonomy --help
# Start with a simple mission
launchonomy --new "Build a simple task management app"
Launchonomy will automatically:
- Analyze your mission requirements
- Create a strategic plan with C-Suite agents
- Set up workflow agents for execution
- Begin market research and development
The system provides real-time updates on:
- Agent activities and decisions
- Financial metrics and costs
- Progress toward objectives
- Generated assets and code
After completion:
- View comprehensive mission reports
- Analyze generated business assets
- Review agent decision logs
- Extract learnings for future missions
# List your mission workspaces
python -m launchonomy.cli_workspace list
# Resume a previous mission
launchonomy # Select from menu
# Run with custom parameters
launchonomy --max-iterations 20 --debug "Advanced mission"
launchonomy
launchonomy "Build a profitable SaaS application"
launchonomy --new "Create an AI-powered newsletter service"
python main.py
python -m launchonomy.cli
When you start Launchonomy, you'll see an intelligent mission resume interface:
Features shown:
- Resume previous missions with detailed status
- Mission metadata (cycles completed, tokens used, last activity)
- Smart sorting by most recent activity
- Clean options for starting new missions
Get detailed help and options:
$ launchonomy --help
Usage: main.py [OPTIONS] [MISSION]
Run an autonomous business mission with C-Suite orchestration and workflow
automation.
Options:
--debug Enable DEBUG level logging.
--new Force start a new mission (skip resume menu).
--max-iterations INTEGER Maximum iterations for continuous mode (default: 10).
--help Show this message and exit.
Skip the resume menu and start directly:
$ launchonomy --new "Build a profitable SaaS for task automation"
Key features:
- Automatic mission initialization and workspace creation
- C-Suite strategic planning team setup
- Real-time configuration display
- Budget and memory system activation
During execution, you'll see a live monitoring interface with detailed agent activity:
Live monitoring features:
- Real-time agent activity updates
- Token usage and cost tracking
- Cycle progress indicators
- Strategic decision insights
- Revenue and growth metrics
Manage mission workspaces with the dedicated CLI:
# List all mission workspaces
python -m launchonomy.cli_workspace list
# Create a new workspace
python -m launchonomy.cli_workspace create "Mission Name" --description "Description" --tags "tag1,tag2"
# Inspect a workspace in detail
python -m launchonomy.cli_workspace inspect MISSION_ID --show-assets
# Show workspace system status
python -m launchonomy.cli_workspace status
# Archive a completed workspace
python -m launchonomy.cli_workspace archive MISSION_ID
Example workspace listing:
Features:
- Comprehensive mission tracking with IDs and metadata
- Status monitoring (active, completed, failed, archived)
- Asset and resource management per mission
- Tag-based organization and filtering
- Automatic timestamping and organization
Launchonomy implements a unique C-Suite orchestrated approach where:
- Strategic Planning: C-Suite agents (CEO, CRO, CTO, CFO) make high-level strategic decisions
- Workflow Execution: Specialized workflow agents execute operational tasks
- Strategic Review: C-Suite agents review results and adjust strategy
- Continuous Iteration: The cycle repeats until mission objectives are achieved
Here's how a typical mission progresses:
🎯 Mission: "Build a profitable SaaS application"
🏢 C-Suite Planning Phase:
├── CEO: Defines vision and success metrics
├── CRO: Identifies target market and revenue model
├── CTO: Plans technical architecture and deployment
└── CFO: Sets budget constraints and financial goals
⚙️ Workflow Execution Phase:
├── ScanAgent: "Identified AI productivity tools market gap"
├── DeployAgent: "Built MVP task automation platform"
├── CampaignAgent: "Launched targeted marketing to SMBs"
├── AnalyticsAgent: "Tracking 150 signups, 12% conversion"
├── FinanceAgent: "Revenue: $2,400/mo, Costs: $800/mo"
└── GrowthAgent: "Optimizing onboarding, +25% retention"
🔄 Strategic Review:
└── "Success! Scaling marketing spend and adding features"
Example 1: AI Newsletter Service
$ launchonomy "Create an AI-powered newsletter service"
🎯 Mission automatically discovers:
├── Market research: Newsletter automation demand
├── MVP deployment: AI content generation platform
├── Marketing: Content creator partnerships
├── Analytics: 500 subscribers in first month
└── Revenue: $1,200 MRR within 60 days
Example 2: E-commerce Automation
$ launchonomy --new "Build dropshipping automation tools"
🎯 Mission progression:
├── Market scan: Identifies Shopify app opportunity
├── Development: Creates inventory management tool
├── Launch: App store deployment and SEO
├── Growth: 50+ store integrations in first quarter
└── Outcome: $5K+ monthly recurring revenue
The system executes workflow agents in a logical business sequence:
- ScanAgent - Identifies market opportunities
- DeployAgent - Builds and deploys products/services
- CampaignAgent - Creates and manages marketing campaigns
- AnalyticsAgent - Tracks performance and generates insights
- FinanceAgent - Manages financial operations and compliance
- GrowthAgent - Optimizes for growth and scaling
Launchonomy features an advanced mission-scoped RAG (Retrieval-Augmented Generation) memory system powered by ChromaDB that enables agents to learn from past experiences and make context-aware decisions:
- Per-Mission Vector Store: Each mission gets its own ChromaDB collection stored in
~/.chromadb_launchonomy/mission_<mission_id>
- Persistent Memory: Memories persist across mission cycles and system restarts
- Semantic Search: Agents can query memories using natural language to find relevant past experiences
- Structured Metadata: Memories are tagged with mission ID, agent name, workflow step, timestamp, and category
- Workflow Events: Key outcomes from each workflow step (scan results, deployment details, campaign performance)
- Strategic Insights: Learnings and observations from agents during execution
- Decision Records: Important decisions made by agents with their reasoning
- Performance Metrics: Quantitative results and KPIs from each cycle
- Success Patterns: Successful strategies and approaches for future replication
- Error Learning: Failed attempts and their causes for future avoidance
A specialized agent that provides memory access to all other agents:
- Semantic Retrieval: Query memories using natural language descriptions
- Filtered Search: Search by specific workflow steps, time periods, or categories
- Context Integration: Automatically enriches agent prompts with relevant memories
- Memory Statistics: Provides insights into memory store usage and growth
Every agent automatically receives relevant memories before making decisions:
Relevant Mission Memory:
- [scan - 2024-01-15] Previous scan found AI newsletter services have 85% higher conversion rates
- [deploy - 2024-01-14] MVP deployment using Next.js reduced time-to-market by 40%
- [campaign - 2024-01-13] Email campaigns outperformed social media by 3x in customer acquisition
Every mission gets its own organized workspace with:
- Automatic workspace creation with timestamp-first naming for chronological ordering
- Mission-specific agents and tools stored in dedicated directories
- Comprehensive asset tracking via manifest system
- State management with checkpoints and resumable operations
- Integrated logging with agent and cycle logs
- ChromaDB memory storage within the workspace
Workspace structure:
.launchonomy/
└── {YYYYMMDD_HHMMSS}_{mission_type}_{sanitized_name}/
├── workspace_config.json # Mission configuration
├── asset_manifest.json # Asset tracking
├── agents/ # Mission-specific agents
├── tools/ # Mission-specific tools
├── assets/ # Generated files (code, data, configs, media)
├── logs/ # Mission and agent logs
├── state/ # Mission state and checkpoints
├── memory/ # ChromaDB vector storage
└── docs/ # Documentation and templates
Mission data is comprehensively tracked with:
- Strategic decisions from C-Suite agents
- Workflow agent execution results
- Financial tracking and guardrails
- Error handling and recovery
- Token usage and costs
- Memory interactions and learnings
All mission data is stored in the Mission Workspace System:
.launchonomy/20250526_005050_mission_test_reorganized_codebase/
├── state/mission_log.json # Primary mission log
├── logs/cycles/ # Individual cycle logs
└── memory/chromadb/ # Vector memory storage
Launchonomy uses a modular architecture with clear separation of concerns:
launchonomy/
├── launchonomy/ # Main package
│ ├── cli.py # Command line interface
│ ├── cli_workspace.py # Workspace management CLI
│ ├── core/ # Core orchestration logic
│ │ ├── orchestrator.py # Main orchestrator agent
│ │ ├── mission_manager.py # Mission lifecycle management
│ │ ├── workspace_manager.py # Mission workspace management
│ │ ├── agent_manager.py # Agent lifecycle management
│ │ ├── communication.py # Agent communication
│ │ └── vector_memory.py # ChromaDB vector memory system
│ ├── agents/ # All agent implementations
│ │ ├── base/ # Base classes
│ │ │ └── workflow_agent.py # Base workflow agent
│ │ ├── workflow/ # Workflow agents
│ │ │ ├── scan.py # Market scanning
│ │ │ ├── deploy.py # Product deployment
│ │ │ ├── campaign.py # Marketing campaigns
│ │ │ ├── analytics.py # Analytics and metrics
│ │ │ ├── finance.py # Financial management
│ │ │ └── growth.py # Growth optimization
│ │ ├── retrieval_agent.py # RAG memory retrieval agent
│ │ └── csuite/ # C-Suite agents (future)
│ ├── registry/ # Agent registry system
│ │ ├── registry.py # Agent discovery and management
│ │ └── registry.json # Agent specifications
│ ├── templates/ # Agent templates and prompts
│ ├── tools/ # Tool implementations
│ │ └── stubs/ # Tool stub files
│ └── utils/ # Utilities
│ ├── cost_calculator.py # Real-world cost tracking
│ ├── memory_helper.py # Memory logging utilities
│ ├── logging.py # Mission logging
│ ├── consensus.py # Consensus voting
│ └── mission_log_navigator.py # Mission log analysis
├── tests/ # Test suite
├── .launchonomy/ # Mission workspaces
├── docs/ # Documentation files
│ ├── AUTOGEN_ARCHITECTURE.md # AutoGen integration guide
│ ├── AUTOGEN_QUICK_REFERENCE.md # AutoGen quick reference
│ ├── DEVELOPMENT_GUIDE.md # Development guide
│ ├── MISSION_LIFECYCLE.md # Mission lifecycle guide
│ └── TROUBLESHOOTING.md # Troubleshooting guide
└── main.py # Entry point
Launchonomy automatically detects resumable missions and presents a menu:
Use the mission log navigator to analyze completed missions:
python launchonomy/utils/mission_log_navigator.py
OPENAI_API_KEY
- Your OpenAI API key (required)OPENAI_MODEL
- Model to use (default: gpt-4o-mini)
The ChromaDB vector memory system automatically creates mission-specific collections:
- Storage Location:
~/.chromadb_launchonomy/
- Collection Naming:
mission_<mission_id>
- Persistence: Memories persist across system restarts
- Cleanup: Old mission memories can be manually removed from the storage directory
--debug
- Enable detailed debug logging--new
- Skip resume menu and force new mission--max-iterations N
- Maximum iterations for continuous mode (default: 10)
Custom model and increased iterations:
export OPENAI_MODEL=gpt-4o
launchonomy --max-iterations 20 "Build enterprise SaaS platform"
Debug mode for troubleshooting:
launchonomy --debug --new "Test mission for debugging"
Environment file configuration:
# Create .env file in your working directory
echo "OPENAI_API_KEY=your-key-here" > .env
echo "OPENAI_MODEL=gpt-4o-mini" >> .env
launchonomy
API Key Not Set:
Error: OPENAI_API_KEY environment variable not set.
Solution: Set your API key as shown in the configuration section above.
No Resumable Missions:
No resumable missions found. Starting new mission...
Solution: This is normal for first-time users. Previous missions will appear here after completion.
Workspace Errors:
❌ No workspace available - mission data could not be saved
Solution: Ensure you have write permissions in the current directory and sufficient disk space.
- Check the Troubleshooting Guide for detailed solutions
- Review Development Guide for advanced configuration
- Use
--debug
flag to see detailed execution logs - Check workspace status with
python -m launchonomy.cli_workspace status
The codebase follows a clean, modular architecture:
- Core: Main orchestration logic and management systems
- Agents: All agent implementations with clear inheritance hierarchy
- Registry: Dynamic agent discovery and lifecycle management
- Utils: Shared utilities for logging, consensus, cost tracking, etc.
- Templates: Agent prompts and configuration templates
- Create agent class inheriting from
BaseWorkflowAgent
- Implement required methods (
execute
,get_capabilities
, etc.) - Add to appropriate module (
workflow/
,csuite/
, etc.) - Register in the agent registry
Run the test suite:
python -m pytest tests/
- C-Suite strategic orchestration
- Complete workflow agent sequence
- Mission Workspace System with organized file storage
- Mission-scoped RAG memory system with ChromaDB
- Context-aware agent decision making
- Persistent cross-mission learning
- Comprehensive asset tracking and manifest system
- CLI tools for workspace management
- Mission logging and resumability
- Financial guardrails and compliance
- Real-world cost tracking and calculation
- Token usage tracking
- Error handling and recovery
- Parameterized mission naming
- JSON parsing fallbacks for natural language responses
- Dedicated C-Suite agent implementations
- Advanced tool integration
- Real-time monitoring dashboard
- Multi-mission coordination
- Web interface
- API endpoints
- Plugin system
- Advanced analytics
- 📖 AutoGen Architecture Guide - Comprehensive guide explaining our strategic hybrid approach with Microsoft AutoGen v0.4
- ⚡ AutoGen Quick Reference - Developer quick reference for working with our AutoGen integration
- 🎯 Mission Lifecycle Guide - Complete guide to how missions work from start to finish
- 📁 Mission Workspace System - Complete guide to the mission workspace system, asset management, and CLI tools
- 🛠️ Development Guide - Comprehensive guide for developers contributing to Launchonomy
- 🚨 Troubleshooting Guide - Solutions to common issues and debugging procedures
Launchonomy uses a strategic hybrid approach with Microsoft AutoGen v0.4:
Key Architectural Decisions:
- ✅ Use AutoGen for Infrastructure - Model clients, message handling, base agents
- ✅ Build Custom for Business Logic - C-Suite orchestration, mission management, workflows
- ✅ Maintain Clear Separation - Technical foundation vs. business intelligence
- ✅ Future-Proof Design - Can adopt new AutoGen features selectively
This hybrid approach gives us the technical robustness of AutoGen with the business intelligence of custom domain-specific logic.
- Fork the repository
- Create a feature branch
- Make your changes following the existing architecture
- Add tests for new functionality
- Submit a pull request
For issues, questions, or contributions, please create an issue or reach out to the development team.
Launchonomy - Where AI agents build businesses autonomously 🚀