Essay··15 min read

Building an AI-Human Operating System v2: From Automation Empire to Agent Squad

How I combined 23 launchd jobs with multi-agent coordination to build HYDRA - the world's first hybrid human-AI operating system

The Open Source Collaboration That Started It All

Meet Bhanu Teja P (@pbteja1998), founder of SiteGPT and builder of some of the most innovative AI systems I've seen. A few weeks ago, Bhanu published something that stopped me in my tracks: "The Complete Guide to Building Mission Control: How We Built an AI Agent Squad."

What Bhanu built was groundbreaking:

  • -10 specialized AI agents (Jarvis, Shuri, Fury, Vision, etc.) working as a real team
  • -Each agent with distinct personalities and skills (Shuri tests for edge cases, Fury provides receipts for every claim, Vision thinks in keywords)
  • -Coordination through a shared Convex database with @mention routing
  • -15-minute heartbeats where agents check for work and collaborate
  • -Daily standups that compile what the entire AI squad accomplished

This wasn't just automation—it was AI agents actually working together like humans do.

Bhanu's work proved something crucial: the future isn't single AI assistants. It's AI teams with specialized roles, shared context, and natural communication patterns.

The Problem We Both Faced

But here's where our paths diverged—and eventually converged.

My challenge: I'd been running what I call my "Automation Empire" for months—23 scheduled launchd jobs that detect signals across my development environment. Dependency vulnerabilities, marketing streaks, context switches, 70% complete projects gathering dust. Each automation runs on a schedule, generates a report, and waits for me to notice.

My automations were reliable signal detectors but dumb dispatchers—they'd find problems but couldn't route them intelligently.

Bhanu's challenge: His agents were brilliant coordinators but needed external signals to know what to work on. They could collaborate beautifully once given tasks, but discovering what needed attention required human input.

The insight that changed everything: What if we combined both approaches?

My signal detection (cheap, reliable, comprehensive) + Bhanu's agent coordination (smart routing, specialization, collaboration) = something neither could achieve alone.

Standing on Giants' Shoulders

This is the beauty of open-source AI development. Bhanu shared his complete architecture, implementation details, and lessons learned. I didn't have to reinvent agent coordination—I could build on his proven patterns and focus on the hybrid challenge.

From Bhanu's Mission Control, I adopted:

  • -@mention routing system (brilliant for natural agent communication)
  • -Specialized agent personalities and roles
  • -Shared database coordination pattern
  • -Daily standup generation
  • -Task status tracking with Kanban-style workflows

What I added to the mix:

  • -23-job signal detection layer (automated problem discovery)
  • -Cost-tiered intelligence (premium coordinator + free specialists)
  • -Local SQLite coordination (no hosted database dependency)
  • -Natural language control via Telegram + Ollama
  • -Recursive learning loops between automation and AI

The result: HYDRA - Hybrid Unified Dispatch and Response Architecture

This isn't competition—it's collaborative evolution. We're all building the future of human-AI collaboration together, sharing our work so everyone can build something better.


Architecture Evolution: Three Approaches

The Automation Empire (My Starting Point)

┌─────────────────────────────────────────────────────────────┐
│                    LAUNCHD SCHEDULER                         │
├─────────────────────────────────────────────────────────────┤
│  8:00 AM   seventy-percent-detector.sh    → report.md       │
│  8:15 AM   dependency-guardian.sh         → report.md       │
│  8:30 AM   marketing-check.sh             → report.md       │
│  9:00 AM   context-switch-detector.sh     → report.md       │
│  ...       (19 more jobs)                 → reports...      │
└─────────────────────────────────────────────────────────────┘
                            │
                            ▼
                    ┌───────────────┐
                    │  MILO (solo)  │
                    │  reads all    │
                    │  reports      │
                    └───────────────┘

Strengths:

  • -Rock-solid reliability (launchd never forgets)
  • -Comprehensive signal coverage
  • -Zero ongoing cost (shell scripts)
  • -Easy to debug (just logs)

Weaknesses:

  • -Single agent bottleneck (MILO does everything)
  • -No intelligent routing
  • -Reports pile up unread
  • -No inter-agent communication

Mission Control (Bhanu's Innovation)

┌─────────────────────────────────────────────────────────────┐
│                    CONVEX DATABASE                           │
├─────────────────────────────────────────────────────────────┤
│  agents     │  tasks      │  messages   │  heartbeats       │
│  ──────     │  ──────     │  ──────     │  ──────           │
│  Jarvis     │  feature-x  │  @bot1 help │  bot1: 2min ago   │
│  Shuri      │  bug-fix    │  @all sync  │  bot2: 5min ago   │
│  Vision     │  research   │  @vision    │  bot3: 1min ago   │
└─────────────────────────────────────────────────────────────┘
         │              │              │
         ▼              ▼              ▼
    ┌─────────┐   ┌─────────┐   ┌─────────┐
    │ Jarvis  │   │  Shuri  │   │ Vision  │
    │  Lead   │   │  Tester │   │   SEO   │
    │ 15min   │   │  30min  │   │  60min  │
    └─────────┘   └─────────┘   └─────────┘

Strengths:

  • -Multi-agent specialization
  • -@mention routing
  • -Heartbeat coordination
  • -Real-time database sync

Weaknesses:

  • -Needs external signal sources
  • -All agents on premium models = expensive
  • -Requires hosted database infrastructure

HYDRA (The Hybrid Evolution)

┌─────────────────────────────────────────────────────────────┐
│                    HYDRA SYSTEM                              │
├─────────────────────────────────────────────────────────────┤
│  SIGNAL LAYER (launchd)          │  COORDINATION (SQLite)   │
│  ────────────────────            │  ────────────────────    │
│  8:00 seventy-percent →──────────┼──→ tasks                 │
│  8:15 dependency-guard →─────────┼──→ notifications         │
│  8:30 hydra-sync.sh ←────────────┼──← reads all reports     │
│  8:35 hydra-standup.sh ─────────→┼──→ standups              │
│  */30 notification-check ────────┼──→ delivers alerts       │
└──────────────────────────────────┴──────────────────────────┘
                                   │
           ┌───────────────────────┼───────────────────────┐
           │                       │                       │
           ▼                       ▼                       ▼
    ┌─────────────┐         ┌─────────────┐         ┌─────────────┐
    │    MILO     │         │    FORGE    │         │   SCOUT     │
    │ coordinator │ ──────→ │  dev work   │         │  research   │
    │  Claude $   │         │ DeepSeek V3 │         │  Qwen 235B  │
    │    300/mo   │         │   FREE      │         │    FREE     │
    └─────────────┘         └─────────────┘         └─────────────┘
           │                                               │
           │                       ┌───────────────────────┘
           │                       │
           ▼                       ▼
    ┌─────────────┐         ┌─────────────┐
    │   PULSE     │         │  Telegram   │
    │    ops      │ ←────── │   Control   │
    │ Llama FREE  │         │ + Ollama    │
    └─────────────┘         └─────────────┘

The breakthrough insight: Signal detection is cheap (shell scripts). Coordination is cheap (SQLite). Only the thinking needs to be expensive—and even then, only the coordinator.


The Cost Engineering Revolution

Here's where HYDRA gets revolutionary. Running four Claude agents at $10/day each = $1,200/month. Unsustainable for most developers.

HYDRA's tiered intelligence approach:

AgentRoleModelMonthly Cost
MILOCoordinatorClaude Sonnet 4.5~$300
FORGEDev SpecialistDeepSeek V3.2 (FREE)$0
SCOUTResearchQwen3 235B (FREE)$0
PULSEOperationsLlama 4 Maverick (FREE)$0

Total: ~$300/month instead of ~$1,200/month (75% cost reduction)

Why this works:

  • -The coordinator needs premium intelligence for complex decisions, strategy, and human interface
  • -The specialists execute well-scoped tasks where open-source models excel
  • -Signal detection stays in shell scripts (zero ongoing cost)
  • -Coordination happens through local SQLite (no hosting fees)

The Natural Language Breakthrough

The final piece: conversational control from anywhere.

Every morning at 8:35 AM, HYDRA sends me a standup report via Telegram. But more importantly, I can control the entire system using natural language:

From my phone:

"what's forge working on?"
"@scout research competitor pricing"
"approve task 123"
"give me today's standup"

Behind the scenes:

  1. -Telegram message → Local Ollama (Mistral 7B)
  2. -Natural language parsing → Structured commands
  3. -SQLite database → Task routing and storage
  4. -Agent coordination → Specialized execution
  5. -Response delivery → Back to Telegram

Zero API costs for natural language processing - everything runs locally via Ollama.


What This Enables: Compound Intelligence

The recursive learning loop:

  1. -Automation detects signals → Dependency vulnerabilities, stuck projects, marketing gaps
  2. -HYDRA routes intelligently → Right agent gets the right work
  3. -Specialists execute → FORGE fixes code, SCOUT researches, PULSE optimizes
  4. -Results feed back → Better automation, smarter routing, improved agents
  5. -System gets smarter → Compound intelligence growth

Example compound effect:

  • -Week 1: PULSE notices social media engagement dropping
  • -Week 2: SCOUT researches successful competitor content patterns
  • -Week 3: PULSE implements new strategy based on research
  • -Week 4: Automation detects improved metrics
  • -Week 5: MILO recognizes pattern, updates other agents
  • -Week 6: FORGE applies similar pattern-recognition to development metrics

Each agent makes the others smarter.


Implementation Timeline: 6 Phases in One Day

Total: 9 hours from concept to fully operational AI-Human Operating System

  • -Phase 1-2 (4 hours): Foundation + agent workspaces
  • -Phase 3-4 (3 hours): Communication + standup automation
  • -Phase 5-6 (2 hours): Documentation + Telegram integration

The Open Source Future

HYDRA is fully open source: github.com/eddiebelaval/hydra

This includes:

  • -Complete SQLite schema
  • -All automation scripts
  • -Agent workspace configurations
  • -Telegram integration code
  • -Setup and deployment guides

Why open source? Because the future of AI-human collaboration gets built faster when we all build together.

Just like Bhanu shared his Mission Control architecture, I'm sharing HYDRA's hybrid approach. Take what works. Improve what doesn't. Build something better.


What's Next: The Collaborative Evolution Continues

This isn't the end of innovation—it's the beginning. We're all building the future of human-AI collaboration together.

What will you build on top of this?


Built with OpenClaw • Inspired by Bhanu Teja P's Mission Control • Open source collaboration