Autonomous AI Empire Orchestrator - Build, Deploy, and Monetize AI Products While You Sleep
Genesis Engine is a self-operating business platform that:
- π Discovers profitable opportunities by scanning markets 24/7
- π€ Generates complete products using GenSpark AI Developer
- π Deploys automatically to production infrastructure
- π Monitors revenue and performance across your entire portfolio
- β‘ Optimizes resource allocation based on real-time data
# From source
cargo install --path .
# Or download from releases
curl -L https://github.com/genesis-engine/genesis-engine/releases/latest/download/genesis-linux-amd64 -o genesis
chmod +x genesis# Initialize Genesis in your current directory
genesis init --name "my-empire"
# Configure your API keys
cp .env.example .env
# Edit .env with your keys# 1. Scan for opportunities
genesis scan --sources github,reddit --limit 10
# 2. Review and launch a project
genesis launch --opportunity-id <id> --auto-deploy
# 3. Monitor your empire
genesis monitor --watch
# 4. View analytics
genesis analytics --days 30| Command | Description |
|---|---|
genesis init |
Initialize Genesis in current directory |
genesis scan |
Scan for new opportunities |
genesis launch |
Launch a project from an opportunity |
genesis monitor |
Monitor all active projects |
genesis deploy |
Deploy a project to a platform |
genesis analytics |
Show empire analytics |
genesis config |
Manage configuration |
genesis list |
List resources |
genesis show |
Show resource details |
genesis ai |
AI-powered operations |
genesis health |
System health check |
Genesis uses TOML configuration files. The main config is at config/default.toml:
[empire]
name = "genesis-empire"
auto_mode = false
max_concurrent_projects = 5
[scanning]
enabled_sources = ["github", "reddit", "producthunt", "hackernews"]
scan_interval_hours = 6
min_opportunity_score = 75.0
[ai]
primary_provider = "genspark"
[deployment]
default_platform = "vercel"
auto_deploy = false| Variable | Description |
|---|---|
GENSPARK_API_KEY |
GenSpark API key |
GENSPARK_WORKSPACE_ID |
GenSpark workspace ID |
GITHUB_TOKEN |
GitHub personal access token |
VERCEL_TOKEN |
Vercel API token |
CLOUDFLARE_TOKEN |
Cloudflare API token |
CLOUDFLARE_ACCOUNT_ID |
Cloudflare account ID |
genesis-engine/
βββ src/
β βββ cli/ # Command-line interface
β βββ core/ # Core business logic
β β βββ opportunity_scanner # Market opportunity discovery
β β βββ decision_matrix # AI-powered evaluation
β β βββ resource_allocator # Resource management
β β βββ execution_coordinator # Project lifecycle
β βββ modules/ # Functional modules
β β βββ revenue_tracker # Financial monitoring
β β βββ market_predictor # Trend analysis
β β βββ code_generator # Project scaffolding
β β βββ deployment_mesh # Multi-platform deployment
β βββ integrations/ # External services
β β βββ genspark # GenSpark AI
β β βββ github # GitHub API
β β βββ vercel # Vercel deployment
β β βββ cloudflare # Cloudflare deployment
β βββ models/ # Data models
β βββ db/ # Database operations
β βββ utils/ # Utilities
βββ config/ # Configuration files
βββ templates/ # Project templates
βββ tests/ # Test suite
βββ docs/ # Documentation
- Rust 1.75+
- SQLite (bundled)
# Clone the repository
git clone https://github.com/genesis-engine/genesis-engine.git
cd genesis-engine
# Build
cargo build --release
# Run tests
cargo test
# Run clippy
cargo clippy
# Format code
cargo fmt# Development build
cargo run -- init
# With verbose logging
cargo run -- -v scan --sources github
# Run specific tests
cargo test core::opportunity_scannerGenesis scans multiple sources for business opportunities:
- GitHub: Trending repos, issues with "help wanted" labels
- Reddit: Posts from r/SaaS, r/startups, r/IndieHackers
- Hacker News: Show HN posts, Ask HN threads
- Product Hunt: Launched products and comments
Each opportunity is scored based on:
- Market demand signals (upvotes, comments)
- Competition analysis
- Technical feasibility
- Revenue potential
The AI-powered decision matrix evaluates opportunities:
Score = (Market Γ 0.25) + (Competition Γ 0.15) + (Technical Γ 0.20) + (Revenue Γ 0.25) + (Strategic Γ 0.15)
Decisions: Launch, Defer, or Reject
When an opportunity is approved:
- Create GitHub repository
- Generate code via GenSpark AI
- Review generated code
- Deploy to platform (Vercel/Cloudflare)
- Set up monitoring
When auto_mode = true, Genesis will:
- Scan at configured intervals
- Auto-launch projects scoring above threshold
- Auto-deploy to configured platform
- Track revenue and reallocate resources
- Sunset underperforming projects
Contributions are welcome! Please see CONTRIBUTING.md for guidelines.
MIT License - see LICENSE for details.