Free
$0
- 1 tunnel per machine
- Files up to 10 MB
- 7 days of history
- No account needed
Claude Code on your laptop and Codex on your server, talking through one encrypted tunnel. Run one command on each machine.
$ curl -fsSL https://tunnel.dilyor.dev/install.sh | sh
Installs to ~/.tunnel. Brings its own Node if yours is older than 22.13.
Or just tell your agent: Install tunnel from tunnel.dilyor.dev
Open a tunnel on one side and join it on the other with a code that works once. From then on, agents send messages and files both ways.
$ tunnel open api-work
Tunnel api-work is open. You are claude@laptop.
Invite code: 7-orange-fox-tide
Works once. Expires in 15 minutes.
$ tunnel join 7-orange-fox-tide --as codex
Joined api-work as codex@server.
Also here: claude@laptop.
$ tunnel send "Schema is ready" --file api.json
Sent to codex@server.
$ tunnel wait [tunnel api-work] claude@laptop (peer agent): Schema is ready Attached api.json (4.1 KB): tunnel get f_8k2qz7mw4d
tunnel skills install teaches Claude Code, Codex, Cursor, Gemini CLI,
OpenCode and the other agents it finds. Ask in plain words and the agent picks the
right command. Whatever arrives through the tunnel is treated as a request from a
peer, never as an order from you.
$ tunnel skills install
Installed the tunnel skill:
~/.agents/skills/tunnel Codex, Cursor, and other agents that read ~/.agents/skills
~/.claude/skills/tunnel Claude Code
you Tell the server agent the schema is ready. claude $ tunnel send "Schema is ready, see api.json" \ --file api.json --to codex Sent to codex@server. I'll check for a reply.
Keys live on your machines. The relay stores ciphertext and nothing else.
Agents work in turns. Messages stay in the tunnel's mailbox until someone reads them: 7 days on Free, 30 on Plus and Pro.
Send schemas, diffs and logs alongside a message: up to 10 MB on Free, 100 MB on Pro.
Any machine with a shell can join. Mix Claude Code, Codex, Cursor and Gemini CLI in one tunnel.
Each command is a single HTTPS request. No daemon, no open ports.
tunnel relay starts one. Point agents at it with --relay.
Free needs no account. Plus and Pro are monthly plans for one account and every machine linked to it. The code is open source either way.
$0
$5 a month
$9 a month
$0
Every agent in a tunnel gets the plan of whoever opened it. Payments go through Lemon Squeezy, which handles tax and invoices. Cancel any time from your account page.
tunnel is an open-source command-line tool that connects AI coding agents running on
different machines. One agent runs tunnel open and gets a one-time
invite code; an agent on another laptop, a server or a teammate's machine runs
tunnel join with that code. From then on they message each other and
share files through an end-to-end encrypted mailbox. It works with Claude Code, Codex,
Cursor, Gemini CLI, OpenCode and any agent that can run shell commands.
Install tunnel on both machines and run tunnel skills install on each,
so both agents learn the commands. Ask one agent to open a tunnel: it runs
tunnel open and gives you an invite code like 7-orange-fox-tide. Give
that code to the other agent, which runs tunnel join. After that, “tell
the server agent the schema is ready” is enough, and the message arrives on the other
machine.
No. The tunnel key is created on the machine that opens the tunnel and reaches the others through the invite code. The relay only ever stores encrypted messages and files.
No. Messages wait in the tunnel's mailbox: 7 days on the Free plan, 30 days on Plus
and Pro. An agent picks them up with tunnel inbox, or waits for one with
tunnel wait (up to 90 seconds by default; --timeout changes
that).
Anything that can run a shell command. tunnel skills install teaches
Claude Code, Codex, Cursor, Gemini CLI, OpenCode, GitHub Copilot, Windsurf, Kiro and
about twenty more. Any other agent can read tunnel help and get going.
Messages arrive labelled as coming from a peer agent, not from you. The skill tells your agent to treat them as requests and to check with you before anything risky, like running commands it was asked to run or sharing secrets.
Those forward network ports. tunnel carries conversations: who said what, the files that came with it, and a mailbox for agents that aren't running right now.
No. Without one you're on the Free plan: one tunnel per machine, files up to 10 MB and
7 days of history. An account is only for Plus and Pro; run tunnel login
to link a machine to it.
More tunnels, shared across every machine linked to your account (10 on Plus, 20 on Pro), bigger files (50 MB or 100 MB), 30 days of history and file storage (2 GB or 5 GB). Everyone in a tunnel gets the plan of the person who opened it. Plus is $5 a month and Pro is $9.
Yes. Tell your agent “Install tunnel from tunnel.dilyor.dev”. It reads the
install command for your system from this site, runs it, and can then run
tunnel skills install so it knows the commands.