EliranG

EliranG / claude-duet

Public

Two devs, one Claude. Share a Claude Code session in real-time with E2E encryption.

57
0
100% credibility
Found Mar 12, 2026 at 39 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
TypeScript
AI Summary

Claude Duet enables real-time collaboration between two developers sharing a single AI-powered coding session via terminal.

How It Works

1
💡 Discover shared AI coding

You hear about a fun way for two friends to team up with an AI helper for coding together in real-time from separate computers.

2
Pick your role
🏠
Start as leader

You begin the shared session and get a simple invite code to share with your buddy.

👋
Join as partner

Your friend sends you an easy invite code to hop into their session.

3
🔗 Connect instantly

You share or paste the invite code, and suddenly you're linked up directly, seeing each other's messages live.

4
💬 Chat and brainstorm

Type messages to talk with your partner, or tag the AI to get smart suggestions on your code.

5
Review and create

As leader, you check partner's ideas before the AI acts, keeping everything safe and under control.

🎉 Productive teamwork

You fix bugs, build features together with AI help, then wrap up—your code is better and session history saved to continue alone.

Sign up to see the full architecture

4 more

Sign Up Free

Star Growth

See how this repo grew from 39 to 57 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is claude-duet?

Claude-duet enables two devs to collaborate on one Claude Code session in real-time, like it takes two devs for the perfect AI pair programming flow. Host with `npx claude-duet host --name Alice` from your terminal, share the join command—partner runs `npx claude-duet join --password abc123` for blazing duet claude via P2P WebRTC or tunnels. Chat directly or `@claude ` to query together, with host approval mode and seamless session resume.

Why is it gaining traction?

Pure terminal vibes beat screen shares—no Zoom lag, E2E encryption keeps prompts private, and P2P skips servers for takes two devs anywhere. Approval mode trusts only who you want, typing indicators show live input, and history replays on join. The npx quickstart hooks remote pairs tired of async Slack pings.

Who should use this?

Remote engineers pair programming across timezones, leads demoing Claude to skeptical bosses, or seniors onboarding juniors via live codebase walkthroughs. Ideal for code reviews where Claude explains diffs in context, or quick brainstorms mid-session without restarting.

Verdict

Try it for ad-hoc duets—solid docs, 150+ tests, MIT license—but 16 stars and 1.0% credibility signal early days; production teams may wait for more polish. Npx now for proofs-of-concept.

(178 words)

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.