Skip to content

A system for orchestrating AI agents to complete "missions" through consensus driven decision-making and workflow automation.

License

Notifications You must be signed in to change notification settings

mitchellfyi/launchonomy

Repository files navigation

🚀 Launchonomy - Autonomous AI Business Orchestration System

A comprehensive system for orchestrating AI agents to build and grow autonomous businesses through C-Suite strategic decision-making and workflow automation.

screencast.mov

🤖 Built With AI

This project is built using cutting-edge AI development tools and frameworks:

Launchonomy represents the future of AI-assisted development - where AI agents not only run businesses but also build the systems that run them.

🚀 Quick Start

Prerequisites

  1. Python 3.8+
  2. OpenAI API key
  3. ChromaDB (automatically installed with requirements)

Installation

Option 1: Install directly from GitHub (Recommended)

pip install git+https://github.com/mitchellfyi/launchonomy.git

Option 2: Install from source

  1. Clone the repository:
git clone https://github.com/mitchellfyi/launchonomy.git
cd launchonomy
  1. Install in development mode:
pip install -e .

Option 3: Install with development dependencies

pip install "git+https://github.com/mitchellfyi/launchonomy.git[dev]"

Setup

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

Verify Installation

Test that everything is working correctly:

python tests/test_install.py

Or test the CLI directly:

launchonomy --help

🎯 5-Minute Getting Started Tutorial

Step 1: Launch Your First Mission

# Start with a simple mission
launchonomy --new "Build a simple task management app"

Step 2: Watch the C-Suite Planning

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

Step 3: Monitor Progress

The system provides real-time updates on:

  • Agent activities and decisions
  • Financial metrics and costs
  • Progress toward objectives
  • Generated assets and code

Step 4: Review Results

After completion:

  • View comprehensive mission reports
  • Analyze generated business assets
  • Review agent decision logs
  • Extract learnings for future missions

Step 5: Explore Advanced Features

# 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"

Running Launchonomy

Option 1: Using the installed command (after pip install)

launchonomy

Option 2: With specific mission

launchonomy "Build a profitable SaaS application"

Option 3: Force new mission (skip resume menu)

launchonomy --new "Create an AI-powered newsletter service"

Option 4: From source (if not installed)

python main.py

Option 5: Direct module execution

python -m launchonomy.cli

📱 Usage Examples & Screenshots

Mission Selection Interface

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

Command Line Options

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.

Starting a New Mission

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

Real-Time Mission Monitoring

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

Workspace Management

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

🎯 How It Works

C-Suite Orchestrated Approach

Launchonomy implements a unique C-Suite orchestrated approach where:

  1. Strategic Planning: C-Suite agents (CEO, CRO, CTO, CFO) make high-level strategic decisions
  2. Workflow Execution: Specialized workflow agents execute operational tasks
  3. Strategic Review: C-Suite agents review results and adjust strategy
  4. Continuous Iteration: The cycle repeats until mission objectives are achieved

Example Mission Flow

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"

Real-World Mission Examples

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

Workflow Agent Sequence

The system executes workflow agents in a logical business sequence:

  1. ScanAgent - Identifies market opportunities
  2. DeployAgent - Builds and deploys products/services
  3. CampaignAgent - Creates and manages marketing campaigns
  4. AnalyticsAgent - Tracks performance and generates insights
  5. FinanceAgent - Manages financial operations and compliance
  6. GrowthAgent - Optimizes for growth and scaling

Mission-Scoped RAG Memory System

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:

🧠 Memory Architecture

  • 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

🔍 Memory Types

  • 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

🤖 RetrievalAgent

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

💡 Context-Aware Decision Making

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

Mission Workspace System

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 Logging

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

🏗️ Architecture

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

📊 Mission Management

Resume Previous Missions

Launchonomy automatically detects resumable missions and presents a menu:

Mission Log Analysis

Use the mission log navigator to analyze completed missions:

python launchonomy/utils/mission_log_navigator.py

🛠️ Configuration

Environment Variables

  • OPENAI_API_KEY - Your OpenAI API key (required)
  • OPENAI_MODEL - Model to use (default: gpt-4o-mini)

Memory System Configuration

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

Command Line Options

  • --debug - Enable detailed debug logging
  • --new - Skip resume menu and force new mission
  • --max-iterations N - Maximum iterations for continuous mode (default: 10)

Advanced Configuration Examples

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

🔧 Troubleshooting

Common Issues

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.

Getting Help

  • 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

🧪 Development

Project Structure

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

Adding New Agents

  1. Create agent class inheriting from BaseWorkflowAgent
  2. Implement required methods (execute, get_capabilities, etc.)
  3. Add to appropriate module (workflow/, csuite/, etc.)
  4. Register in the agent registry

Testing

Run the test suite:

python -m pytest tests/

📈 Features

✅ Implemented

  • 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

🚧 In Development

  • Dedicated C-Suite agent implementations
  • Advanced tool integration
  • Real-time monitoring dashboard
  • Multi-mission coordination

🔮 Planned

  • Web interface
  • API endpoints
  • Plugin system
  • Advanced analytics

📚 Documentation

Core Documentation

AutoGen Integration Architecture

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.

🤝 Contributing

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes following the existing architecture
  4. Add tests for new functionality
  5. Submit a pull request

📄 License

License information

🆘 Support

For issues, questions, or contributions, please create an issue or reach out to the development team.


Launchonomy - Where AI agents build businesses autonomously 🚀

About

A system for orchestrating AI agents to complete "missions" through consensus driven decision-making and workflow automation.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages