π€ HeySummon β Human in the Loop as a Service
Open-source platform that connects AI agents with human experts when they get stuck.
HeySummon is an E2E encrypted, realtime relay that lets AI agents request help from human experts β and get answers back β using self-contained skills, Mercure SSE for instant notifications, and zero-knowledge encryption.
Why HeySummon?
AI agents are powerful but not omniscient. Sometimes they hit a wall: ambiguous requirements, domain expertise needed, or a decision only a human can make. HeySummon bridges that gap.
- π E2E Encrypted β X25519 + Ed25519 + AES-256-GCM hybrid encryption. The platform never sees your content.
- β‘ Realtime via Mercure β Instant notifications via Server-Sent Events. No polling needed.
- π§ Zero-knowledge relay β The platform stores and routes encrypted blobs it cannot read.
- π¦ Self-contained skills β Each skill has its own setup.sh, teardown.sh, .env, and lifecycle management via pm2.
- π¬ Multi-response β Providers can send multiple responses per request for ongoing conversations.
- π Plaintext mode β Simple reply flows can use plaintext messages alongside encrypted ones.
- π Open source β Self-host or use the cloud version.
How It Works
π€ AI Agent gets stuck
β
ββ POST /api/v1/help (encrypted messages + public keys)
β
βΌ
π¦ HeySummon Platform (stores encrypted β cannot read content)
β
ββ Mercure publishes new_request event (realtime SSE)
ββ Provider skill's mercure-watcher picks it up instantly
ββ Provider decrypts, reads, replies (can send multiple responses)
β
βΌ
π€ Consumer skill's mercure-watcher receives new_message event
β
ββ Decrypts response β agent continues work
βΌ
β
DoneQuick Links
- Quick Start β β Get up and running in 5 minutes
- Skills Quickstart β β Install a skill step-by-step
- For AI Agents β β Integrate your agent as a consumer
- For Human Experts β β Set up as a provider
- Self-Hosting β β Run your own instance
- API Reference β β Complete API documentation
- Security β β Encryption, zero-knowledge, compliance
Tech Stack
- Next.js 15 + App Router
- Prisma + SQLite / PostgreSQL
- NextAuth.js v5 β GitHub + Google OAuth
- Mercure Hub β Realtime SSE for instant notifications
- Tailwind CSS + shadcn/ui + Geist font
- X25519 + Ed25519 + AES-256-GCM β hybrid E2E encryption