walkie
Enables remote monitoring and control of a local Claude Code agent fleet via MCP, with voice-friendly status summaries and strict command allowlisting.
README
walkie
A walkie-talkie for your Claude fleet. Hands-free steering of a local multi-agent system: ask what's going on, unblock agents, spawn workers, from your phone or by voice, while the fleet itself runs entirely on your own machine.
Three layers:
- Fleet: multiclaude runs Claude Code agents in tmux windows + git worktrees, one repo per tmux session, PRs gated by CI. Works with zero remote parts; walkie is optional by design.
- Resident orchestrator: a persistent Claude Agent SDK session on this machine that inspects the fleet (status, logs, PRs) under a strict command allowlist and answers in short, voice-friendly prose. Summarization happens here, so remote clients only ever receive small digests.
- MCP surface: streamable HTTP MCP with bearer auth, so any remote client (claude.ai custom connector, OpenAI Realtime voice session, another Claude Code) can pilot the fleet.
Run
bun install
export FLEET_TOKEN="$(openssl rand -hex 24)" # keep it somewhere safe
bun start # listens on 127.0.0.1:8787
Env:
FLEET_TOKEN(required): bearer token for every MCP request.FLEET_CONTROL=off: hide the write tools (spawn_worker, send_to_agent) for a read-only surface.PORT(default 8787),MULTICLAUDE_BIN(default ~/go/bin/multiclaude).
Tools
Read lane (deterministic): fleet_status (includes live health), agent_output, task_history.
Brain: ask_orchestrator (preferred for open questions; summaries happen Mac-side).
Control lane: spawn_worker, send_to_agent, reset_orchestrator.
Health model
A poller hashes each agent's pane every 5s and classifies:
working: pane changing, or Claude Code's "esc to interrupt" status line visibleblocked: pane stable and a known human-decision prompt is on screen (permission, trust, yes/no dialog), with the matched reason indetailidle: pane stable 45s with no promptdead: tmux window gone
Each status carries since and lastActivityAt, so a voice answer can say
"one agent blocked 25 minutes on a permission prompt" without any LLM reading terminals.
Message delivery
send_to_agent uses a hardened protocol (adapted from gastown's tmux scar tissue):
sanitize control characters, ESC plus a 600ms settle (below that, readline may turn
Enter into M-Enter and silently never submit), literal text in 512-byte chunks, then
Enter verified against pane content with backoff retries.
Voice client
A self-contained web page at /voice for hands-free sessions over the OpenAI Realtime API
(default model gpt-realtime-2.1-mini, override with WALKIE_REALTIME_MODEL; voice via
WALKIE_REALTIME_VOICE). Requires OPENAI_API_KEY on the walkie server.
open http://127.0.0.1:8787/voice # paste the fleet token, tap Connect, talk
How it works: the server mints a short-lived Realtime client secret (your OpenAI key never reaches the browser); the page opens a WebRTC audio session, pulls walkie's tool list from the local MCP endpoint, and registers every tool as a Realtime function tool. Tool calls are executed by the browser against the same origin, so the fleet token and fleet data never transit through OpenAI's tool plumbing (only what enters the conversation does), and no public tunnel is needed for local use. Control-lane tools (spawn_worker, send_to_agent, reset_orchestrator) pop a tap-to-approve dialog before executing.
Mobile app (locked-screen voice)
The web client dies when a phone locks (iOS suspends the tab and the microphone).
mobile/ is an Expo app with the same architecture (on-device MCP bridge, ephemeral
Realtime secrets, tap-to-approve) plus what a locked phone needs: react-native-webrtc
and iOS UIBackgroundModes: [audio, voip], so the session keeps running in a pocket,
like a call. Uses native modules, so it runs as a custom dev client, not Expo Go.
cd mobile && bun install
bunx eas login # Expo account
bunx eas device:create # register your iPhone (ad hoc)
bunx eas build --profile internal --platform ios # then install from the build link
Internal distribution installs straight from a link on registered devices, no TestFlight. Requires an Apple Developer Program membership for the certificates. Point the app at the walkie server URL (LAN IP or tunnel hostname) plus the fleet token; both persist on-device. If iOS ever suspends the session mid-pocket, the planned hardening is CallKit via react-native-callkeep so walkie sessions present as real calls.
Expose remotely
cloudflared tunnel --url http://localhost:8787 # quick tunnel for testing
For a stable hostname use a named Cloudflare tunnel. Remote clients call
https://<host>/mcp with header Authorization: Bearer $FLEET_TOKEN.
- claude.ai: Settings > Connectors > Add custom connector.
- OpenAI Realtime (voice): session tool
{type: "mcp", server_url, authorization}; putspawn_worker/send_to_agentbehindrequire_approval.
Security model
- Server binds to localhost only; the tunnel is the sole remote path.
- Bearer token required on every request (min 24 chars enforced).
- The orchestrator agent runs under a command allowlist (see
ALLOWED_COMMANDSinsrc/orchestrator.ts): fleet inspection and steering only, no merges/pushes/edits, and chained shell commands are rejected. Widen it consciously. - The MCP surface is remote code execution by intent. Treat
FLEET_TOKENlike an SSH key.
Development
bun test # unit tests (sanitization, command allowlist)
bun run typecheck # tsc, strict
bun run lint # biome check
bun run lint:fix # biome check --write
CI (GitHub Actions) runs Biome, tsc, and the tests on every push and PR.
Credits
Fleet layer by multiclaude (default backend;
src/fleet.ts is the only backend-specific file, adapters welcome). Delivery protocol and
health taxonomy adapted from gastown (MIT).
Blocked-prompt detection concept from claude-squad (AGPL: concept only, no code).
Structured-log ideas from vibe-kanban (Apache-2.0).
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.