raroque/boop-agent
A self-hosted iMessage agent with task-specific workers for personal automation
Automated SPDX check for reference only — not legal advice. Disclaimer
GitHub Star History
Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.
Evidence-Backed Technical Brief
AI Deep ReviewArchitecture & Core Mechanics
Boop is a self-hosted TypeScript agent server. Express accepts signed Sendblue callbacks at POST /sendblue/webhook and direct requests at POST /chat; /ws is its WebSocket endpoint. server/interaction-agent.ts handles conversation context, memory, drafts, and schedules. It either answers directly or delegates to server/execution-agent.ts, which creates a separate worker per task. The dispatcher is denied web, file, and integration tools; workers load only the integration toolkits named at dispatch.
Setup selects the Claude Agent SDK or the local Codex app-server. Convex supplies realtime state for memory, agents, and drafts; the React/Vite dashboard surfaces that state for debugging. server/integrations/registry.ts exposes custom MCP tools through the same named-toolkit pattern as Composio connectors, so adding a connector does not require expanding the dispatcher's own toolset.
Key Capabilities & Differentiators
Sendblue handles two-way iMessage with typing indicators, signed ingress, and webhook deduplication. Memory spans short, long, and permanent tiers, with post-turn extraction, decay, and vector recall. Embeddings can use local BGE-large as a fallback or Voyage or OpenAI. A three-stage proposer–adversary–judge process merges duplicates, reconciles contradictions, and prunes noise. It runs every 24 hours by default and can be triggered via POST /consolidate.
server/automations.ts polls every 30 seconds for due jobs, delegates them to workers, and returns results over iMessage. The draft-and-send flow stages external actions for user confirmation, while a heartbeat mechanism marks stalled workers as failed and the dashboard supports retries. Optional Patchright-backed Chrome access extends workers to logged-in websites; optional local iMessage and Apple Notes access is read-only and macOS-only.
Trade-offs & Limitations
Compared with using Claude Code or Codex directly, Boop adds persistent memory, an iMessage front end, and proactive delivery, at the cost of running a reachable service and maintaining several accounts. Compared with a hosted assistant, the self-hosted server gives you control over dispatch and toolkit registration, but you own uptime, credentials, and access controls. The subscription path avoids a separate model API key for the chosen runtime, not necessarily for optional embeddings or integrations.
Separate workers narrow the tools loaded per task, but that split is not evidence of a security sandbox. Before exposing the service, verify which HTTP and WebSocket routes are reachable and how they authenticate independently of the signed Sendblue webhook. Check that each write-capable tool path is covered by the intended confirmation policy, especially before granting an agent access to a logged-in browser. Worker concurrency, recurring jobs, and consolidation all add load; this MIT-licensed starter is not a hardened multi-user service.
Hardware & Deployment Guide
Use Node.js 20+, install and sign in to the Claude Code or Codex CLI, provision Sendblue credentials and a Convex deployment, and add a Composio key only if needed. npm run setup writes .env.local and prepares Convex. npm run dev starts the Express server, Convex development process, Vite dashboard, and ngrok when configured and no static PUBLIC_URL is set. Both rotating and stable URLs support boot-time webhook registration and signing-secret synchronization; SENDBLUE_AUTO_WEBHOOK=false opts out and leaves initial signing-secret setup to the operator.
The Express application is self-hosted, but iMessage delivery and subscription-backed inference are not offline. There is no stated GPU requirement; measure host headroom with the actual worker concurrency, embedding setup, and optional browser profile. The experimental macOS desktop launcher runs the same stack; npm run desktop:setup configures its separate runtime folder. There is no tagged release available as a versioned deployment baseline.
A technically comfortable operator who wants to text a Claude- or Codex-backed agent, preserve preferences, and receive scheduled updates while retaining control over integrations.
You need an offline or turnkey managed assistant, hardened multi-tenant isolation, or a setup without a publicly reachable webhook and external service accounts.
Quick Start & Installation
# 1. Clone + install git clone https://github.com/raroque/boop-agent.git cd boop-agent npm install # 2. Install one agent runtime (one-time, global) and sign in npm install -g @anthropic-ai/claude-code claude # sign in, then Ctrl-C to exit # or: npm install -g @openai/codex codex login # 3. Interactive setup — writes .env.local, creates Convex deployment, offers optional local browser use npm run setup # 4. Install ngrok (one-time) and authorize it brew install ngrok # or grab from https://ngrok.com/download ngrok config add-authtoken <your-token> # free at https://dashboard.ngrok.com # 5. Start everything with one command — server, Convex, debug UI, and ngrok npm run dev
Comparison vs. Top Agents & Frameworks Alternatives
Full comparison →| Repository | Stars | 7d Trend | Stack | License | Core Positioning |
|---|---|---|---|---|---|
| boop-agent ★ | 1.4k | +4 | TypeScript | MIT | A self-hosted iMessage agent with task-specific workers for personal automation |
| n8n | 213.1k | +787 | TypeScript | — | Visual Node.js platform for self-hosted workflows and multi-step AI agents |
| TradingAgents | 124.7k | +709 | TypeScript | Apache-2.0 | A multi-agent CLI for source-cited financial research and reporting |
| paperclip | 119.3k | +1.6k | TypeScript | MIT | Self-hosted control plane for coordinating AI agents, tasks, approvals, and spen |
AI Context Briefing (for Claude / Cursor / Windsurf)
Standardized architecture summary & quickstart commands ready to paste into coding agents.
curl -sL https://repoforai.com/repo/raroque/boop-agent.md
Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).
Frequently Asked Questions about boop-agent
How do I add a tool without giving the dispatcher direct access to it?
server/integrations/registry.ts and place its implementation under server/integrations/. The interaction agent names the toolkit when it spawns a worker; the worker loads it for that task. Composio provides an alternative for connectors that use its hosted OAuth and token refresh.Does the host need a GPU, and what drives local resource usage?
Can I self-host Boop commercially under the MIT license?
When is Boop a better fit than the model CLI or a hosted assistant?
Upstream README & Documentation
This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.
Top 10 Breakout Open-Source AI Repos, Every Thursday
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy