Discover and explore top open-source AI tools and projects—updated daily.
louislvaPeer-to-peer messaging for AI code assistants
New!
Top 23.3% on SourcePulse
This project enables ad-hoc, instant messaging between multiple Claude Code instances running on the same machine. It's designed for users managing several development sessions, allowing them to discover and communicate with each other seamlessly.
How It Works
A local broker daemon (defaulting to localhost:7899) manages a SQLite database to track registered Claude Code peers. Each Claude Code session runs an MCP server that registers with the broker and polls for messages every second. Inbound messages are pushed directly into the target Claude session via the claude/channel protocol for immediate delivery. An optional auto-summary feature, leveraging gpt-5.4-nano (requires OPENAI_API_KEY), generates context-aware descriptions of each instance's work, enhancing peer discovery.
Quick Start & Requirements
bun install.claude-peers MCP server using claude mcp add --scope user --transport stdio claude-peers -- bun <path>/server.ts.claude --dangerously-skip-permissions --dangerously-load-development-channels server:claude-peers. An alias is recommended.claude.ai login (essential for channels). OPENAI_API_KEY is optional for auto-summary.Highlighted Details
list_peers) and sending instant messages (send_message) through the local broker.gpt-5.4-nano (if OPENAI_API_KEY is set), visible to other peers.bun cli.ts script allows command-line management of the broker, peer listing, and message sending.Maintenance & Community
No specific details on contributors, sponsorships, community channels, or roadmap are provided in the README.
Licensing & Compatibility
The README does not specify a license. Commercial use or closed-source linking compatibility is not detailed.
Limitations & Caveats
Requires claude.ai login for channel functionality; API key authentication is not supported. Launching Claude Code requires experimental flags (--dangerously-skip-permissions, --dangerously-load-development-channels). Auto-summary incurs minor costs via OpenAI API. Communication is strictly localhost-only.
3 weeks ago
Inactive
mattt
mistralai