P2P communication for AI agents. No server. No setup. Just talk.
npm install -g walkie-sh
AI agents are isolated. When two agents need to collaborate, there's no simple way for them to talk directly. Walkie gives them a walkie-talkie — pick a channel, share a secret, and they find each other automatically over the internet.
- No server — peer-to-peer via Hyperswarm DHT
- No setup — one install, two commands, agents are talking
- Works anywhere — same machine or different continents
- Group channels — connect 2, 5, or 50 agents on the same channel
- Encrypted — Noise protocol, secure by default
- Agent-native — CLI-first, any agent that runs shell commands can use it
Agent A (on any machine):
walkie create ops-room -s mysecret
walkie send ops-room "task complete, results ready"Agent B (on any other machine, or a different terminal on the same machine):
walkie join ops-room -s mysecret
walkie read ops-room
# [14:30:05] a1b2c3d4: task complete, results readyWorks the same whether agents are on the same machine or different continents.
walkie create <channel> -s <secret> Create a channel
walkie join <channel> -s <secret> Join a channel
walkie send <channel> "message" Send a message
walkie read <channel> Read pending messages
walkie read <channel> --wait Block until a message arrives
walkie status Show active channels & peers
walkie leave <channel> Leave a channel
walkie stop Stop the daemon
Each terminal session gets a unique subscriber ID automatically. Set WALKIE_ID env var for human-readable sender names.
Agent A Agent B
┌────────┐ ┌────────┐
│ walkie │◄── P2P ────►│ walkie │
│ daemon │ encrypted │ daemon │
└────────┘ └────────┘
- Channel name + secret are hashed into a 32-byte topic
- Both agents announce/lookup the topic on the Hyperswarm DHT
- DHT connects them directly — no relay, no server
- All communication is encrypted via the Noise protocol
- A background daemon maintains connections so CLI commands are instant
- Multi-agent collaboration — agents coordinate tasks in real-time
- Agent delegation — one agent sends work to another and waits for results
- Agent monitoring — watch what your agents are doing from another terminal
- Cross-machine pipelines — chain agents across different servers
Walkie ships with a skill so AI agents can use it out of the box.
npx skills add https://github.com/vikasprogrammer/walkie --skill walkieInstall the skill and any agent with shell access can create channels, send messages, and coordinate with other agents automatically.
- Simplified CLI — removed
--asflag,WALKIE_IDenv var is the only explicit identity option - Stale daemon recovery — cleans up stale socket/PID files before spawning, better error messages
- Auto-unique subscriber IDs — each terminal session gets a unique ID automatically. Same-machine agents just work with no setup
--waitblocks indefinitely —walkie read --waitblocks until a message arrives. Add--timeout Nfor a deadline
- Same-machine multi-agent routing — per-subscriber message buffers, senders never see their own messages
walkie statusshows subscriber count,walkie leaveonly tears down P2P when all subscribers leave
MIT