I run 7 AI agents, 30+ APIs, 2 trading bots, and an Instagram growth engine — from a single Mac Mini. Revenue runs while I sleep. Here's exactly how I set it up.
The Stack
Mac Mini M2 (16GB)
├── Claude Code + MCP servers (orchestration layer)
├── Cloudflare Workers (API infrastructure, 24/7)
├── LaunchAgents (6 persistent daemons)
│ ├── Instagram orchestrator (post + engage + analyze)
│ ├── Polymarket bot v5.7 (prediction market trading)
│ ├── KIS trading bot (Korean stock market)
│ ├── OrcMaster server (dashboard + telegram gateway)
│ ├── Dev.to publisher (content → traffic → sales)
│ └── Product health monitor (uptime + quality scoring)
└── Revenue tracking (Gumroad + RapidAPI + Apify)
The Revenue Model
Three income streams, all automated:
1. API subscriptions — 30+ APIs on Gumroad + RapidAPI. Developers pay monthly for access. No manual work after initial setup.
2. Trading returns — Polymarket prediction market bot running 24/7. Thesis-based entries, strict risk limits. Capital compounds.
3. Content → affiliate — Dev.to articles drive traffic to APIs. Instagram builds brand for long-term sponsorships.
The Agent Architecture
The key insight: agents don't need to be cloud-hosted to run 24/7. LaunchAgents on macOS are as reliable as any cloud scheduler — and cheaper.
<!-- com.lazymac.instagram-master.plist -->
<key>StartInterval</key>
<integer>7200</integer> <!-- Runs every 2 hours -->
<key>RunAtLoad</key>
<true/>
What Runs Without Me
On a normal day while I'm away from my desk:
- 7 Instagram posts go out (generated + scheduled)
- 1-3 Dev.to articles publish automatically
- Trading bots place and manage positions
- OrcMaster pings me on Telegram only for errors
I check in via Telegram. If there's no message, everything worked.
The Tooling That Makes This Possible
- Claude Code — the brain. Writes code, manages agents, handles exceptions
- MCP servers — Claude's hands. Direct API access to every system
- Cloudflare Workers — the backbone. Global edge network for free
- Playwright — eyes for browser automation (Instagram, trading platforms)
- LaunchAgents — the heartbeat. Keeps everything running
Starting Point
You don't need all of this at once. Start with one automated income stream:
- Pick one skill you can productize (data API, content tool, niche calculator)
- Wrap it in a Cloudflare Worker
- List it on Gumroad and RapidAPI
- Write one Dev.to article targeting the exact search term your customer would use
- Automate the content loop
The first sale takes the longest. The system compounds from there.
Top comments (0)