Community Project: claude-duet - real-time shared Claude Code sessions
Resolved 💬 2 comments Opened Mar 18, 2026 by EliranG Closed Apr 15, 2026
Hi team,
I built an open-source CLI tool called claude-duet that lets two developers share a Claude Code session in real time.
How it works:
- Host runs Claude Code locally (headless mode via the Agent SDK)
- Partner connects directly via WebRTC peer-to-peer
- Both see Claude's responses streamed live
- All communication is E2E encrypted (NaCl secretbox + scrypt)
- Host can review partner prompts before execution (approval mode)
Use cases:
- Invite a colleague to jump into your session for a quick brainstorm
- Pair program across offices with one shared Claude context
- Demo Claude Code to someone without screen sharing
- Code review with Claude explaining changes live
The guest doesn't need their own API key or Claude account - they just run a join command.
npx claude-duet host
GitHub: https://github.com/EliranG/claude-duet
Would love any feedback from the team, and happy to discuss how this could potentially integrate with Claude Code natively.
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗