Apaki

Open source, free to use and to self-host

Myrlin Apaki

Every Claude Code and Codex session on your PC, in one window.

Apaki finds your sessions and opens Claude Code and Codex in the same panes, side by side. Myrlin Glass switches accounts, Claude gets a browser pane of its own, and your phone picks up any session through an encrypted relay. It is free and open source, and you can run the relay yourself.

For Windows, with a Mac build in testing. iPhone app in TestFlight. Read the source.

A conversation in Apaki on the PC that says Maya's iPhone 16 took this session, with the message sent from the phone and Claude's reply
The same conversation in the Apaki phone app, with the message sent from the phone and Claude's reply

The phone picks up a session that is open on the PC. The PC says the phone has it and keeps up with the conversation. Recorded in step from the real app, on made-up demo data.

The Myrlin Glass panel over Apaki's sidebar: the live Claude account, two more subscriptions and an API key, each with what it has left

See every account, and switch in one click

Myrlin Glass is built in. Its card at the bottom of the sidebar shows the live Claude and Codex accounts and how much each has left. Pick another subscription, or move to an Anthropic API key when a limit is close, and the conversation's billing follows. When Glass switches by itself, open conversations move with it before their next message.

  • A conversation that moves to an API key keeps its context. It continues in the same Claude Code session file, so nothing forks, and you can move it back.
  • Billing is per conversation: one pane can run on your subscription while another runs on a key, labelled with the dollars it has left.
  • Apaki can keep an idle API-key session's prompt cache warm, with a daily cap. Measured on Opus 5.5 after 68 minutes: the next turn of a kept-warm conversation cost $0.125, and the same conversation left cold cost $0.478.

Every session on this PC, already listed

Apaki reads Claude Code's own transcripts, so the list has the sessions you started in a terminal, headless runs and background workers too. A session open in a terminal window shows up within about two seconds, marked working or waiting, and opens in a pane with a click.

Apaki's session list: sessions working and waiting in terminal windows, and a Codex session among them
The list
  • Search finds sessions by words and by meaning. The index and the embedding model run on your PC, and nothing is uploaded to search.
  • Not sure which one it was? Ask Claude: it reads the best matches and says why each one fits.
  • Sessions stay in Claude Code's files. Continue one in a terminal with /resume, then come back to it here.
  • Codex threads are in the list too, with a view of their own, and the same search finds them.

Claude Code and Codex, side by side

Your Codex threads sit in the same list as your Claude sessions, including the ones from the Codex app, and the same search finds them. Open one and it runs as a pane next to Claude's, in any tab, with the Codex app's own choices and approvals.

A Codex pane asking to apply its changes, with Approve once, Approve for this session and Deny, beside a Claude pane that is writing; under each, its composer with its own model, effort, mode and account
Codex GPT models with their own efforts, the Codex app's Read only, Auto and Full access, and approvals that show the command or the diff. Claude Code Its models, effort and permission modes, on the account Myrlin Glass has live.
  • Enter queues and Ctrl+Enter steers in a Codex pane as in a Claude one, and Codex's slash commands, /review, /diff and /compact among them, are in the same menu.
  • Glass shows the Codex account's 5-hour and weekly limits beside Claude's. Apaki never writes Codex's config file; its settings go to each thread.

Up to six conversations in every tab

Shift-click a session to open it beside the others, or drag it onto the edge of a pane to split. Each pane is a full Claude Code or Codex conversation with its own model, effort and permission mode, and each one streams on its own.

Four conversations from one tab, each in its own pane.

A message steered into a running turn, a queued message with its Steer button, and the composer with the context meter
Queue and steer
  • Enter queues your next message while Claude works. Ctrl+Enter steers it into the turn that is running.
  • What Claude Code reports shows in the conversation: hook output, API retries, usage warnings and compaction.
  • A Tasks button lists each conversation's subagents and background shells, and opens any of them in a viewer that follows it live.
  • Close the window and the sessions keep running. Tabs, splits, drafts and scroll positions are saved as you work and come back after a crash.

A git worktree for each piece of work

Start a conversation in a new worktree from the Starts in sheet, with the branch named from your first message. The sidebar's Worktrees view groups conversations by repository and branch, and every pane shows its branch and what changed, like fix-flaky-checkout +11 -2.

The branch label fix-flaky-checkout +11 -2 on a conversation, with its changes open in a diff viewer beside it
  • View changes opens a diff viewer beside the conversation: everything since the branch left its base, or only what is not committed yet.
  • Commit, push, open a pull request with gh, or merge into the base. Each action shows the commands it will run first.
  • Remove is refused while a worktree has uncommitted or unpushed work, and merged worktrees are offered for cleanup in one prompt.
  • The phone shows the same branches and changes; its actions need Full access.

Claude browses in a pane, not in your Chrome

Ask Claude to check a page and it opens in a browser pane beside the conversation. Claude reads the page as an outline of numbered links, buttons and fields, then clicks, types, goes back and takes screenshots while you watch the same page.

A checkout page in Apaki's browser pane, with Claude typing into the email field and its action shown above the page
  • Pages in the pane cannot reach the app or your sessions.
  • When Claude or a tool tries to open your system browser (vite --open, or Python's webbrowser), the page opens in Apaki instead.
  • Pages, documents, SVG, images and PDFs that Claude wants to show you open in a viewer beside the conversation, with every revision kept.

Pick up the same sessions on your phone

Open the Phone sheet on your PC and scan its code with the Apaki iPhone app or your phone's camera. Both screens show the same six digits; you allow the phone on the PC, and it stays paired until you remove it. The phone gets the session list, the conversations and the same Claude Code that runs on the PC.

Apaki's Phone sheet on the PC: Maya's iPhone 16 wants to connect, with the code 482 913, Deny and Allow
The phone at the same moment: Check the code, 482 913, Studio PC shows a code too
  • Free, with no account. The connection is end to end encrypted between the phone and the PC.
  • You choose on the PC what each phone may do: Full, No shell, or Chat only. The PC enforces it whatever the phone sends, and billing, accounts and pairing stay on the PC.
  • On the phone, your desktop's tabs are listed first. Open one the PC is using and the phone takes it over; the pane on the PC says so and keeps up with the conversation.
  • An Apaki account is optional: a passkey, with no email and no password. Sign in on another phone and your PCs are listed there, once you allow it on the PC.
  • Coming Sign in from any browser with your phone's passkey. Nothing is saved in that browser, and it signs out after 30 minutes without input (you can choose 5 to 240 minutes).

Nobody in between can read it, including us

Phone access is end to end encrypted between your phone and your PC. Your PC never accepts incoming connections: it keeps one outgoing connection to the relay, and the relay forwards sealed frames it cannot open.

Your PC and your phone each hold their own keys. Between them, the relay passes along frames that only the two ends can open.

What the relay cannot do

  • Read your prompts, replies, files or session list.
  • Change, replay or reorder a frame without the connection failing.
  • Pair a phone, pose as your PC or your phone, or connect to your PC.
  • Touch your Claude or Codex logins. They never leave the PC.

What it can see

  • IP addresses, when your PC and phones connect, and how much data moves.
  • With an Apaki account: its name, its passkeys' public keys, and a vault it cannot open.
  • Our relay code keeps no logs and platform logging is off. That part you have to take on trust.

Where the trust sits. The phone web page is code that apaki.myrlin.io serves, as with any web app. Before your PC shows a pairing code, it builds that page from its own code and checks that the site serves exactly that, and while phone access is on it checks again every hour. The iPhone app carries its own copy of the code and loads none of it from our site. If you would rather not trust our site at all, run your own relay and page.

P-256 key exchange, AES-256-GCM, fresh keys for every connection. The one-time pairing secret travels only in the part of the QR link after #, which browsers never send to a server. Claude Code itself still talks to Anthropic as it always does; this encryption covers the path between your phone and your PC.

Run your own relay
# relay/wrangler.jsonc: set "routes" to your hostname
cd relay
node ../apaki/scripts/build-web.mjs --release \
  --relay wss://relay.example.com
npx wrangler deploy --env=""

# then start Apaki with
APAKI_RELAY_URL=wss://relay.example.com
APAKI_WEB_URL=https://relay.example.com/

Open source, and yours to run

The desktop app, the phone app and the relay live in one public repository. Apaki needs no account, and pairing a phone through our hosted relay costs nothing.

If you would rather not depend on us at all, the relay is a single Cloudflare Worker. Deploy it to your own account (the free plan is enough for a few people), point Apaki at it with two settings, and the phone page comes from your server instead of ours.

Coming next

Apaki on a Mac

Apaki builds and runs on Apple Silicon Macs, with sessions, panes, search and phone access. The Mac download comes with a later release.

Apaki Cloud

Sign in from any browser and leave nothing behind, a Cloud button on the desktop that lists your machines, and a push to your phone when Claude asks or finishes. A paid option on our relay; a relay you run gets every feature.

Get Apaki

Apaki for Windows

The desktop app, with Claude Code and Myrlin Glass in the package. Sign in with Claude Code's own login, or use an Anthropic API key.

Download for Windows

Apaki for iPhone

Pairs with your PC by scanning its code and keeps its key in the Secure Enclave. In TestFlight now; the App Store comes later.

Join the TestFlight

The web app

Runs in any phone browser. Pair it from your PC's Phone sheet, or sign in with your passkey to see your PCs.

Open the web app

Questions

More in the FAQ

Is Apaki made by Anthropic?

No. Apaki is a Myrlin Labs project and is not affiliated with or endorsed by Anthropic or OpenAI. It runs the Claude Code and Codex you sign in to with your own accounts.

Does it change Claude Code?

No. Apaki runs Claude Code unmodified through Anthropic's Agent SDK, with Claude Code's own system prompt and every settings source, so your CLAUDE.md, skills, plugins, hooks, MCP servers and slash commands work as they do in a terminal.

Does it change Codex?

No. Apaki talks to Codex through its app-server, the protocol OpenAI's Codex app uses, and never writes Codex's config file. Model, effort and approvals are set for each thread.

What does it cost?

Apaki is free, and so is pairing a phone through our relay. Your Claude and Codex usage is billed by Anthropic and OpenAI as usual. Apaki Cloud, when it ships, will be a paid option on our hosted relay; a relay you run yourself gets the same features at no cost.

What leaves my PC?

Claude Code talks to Anthropic as it always does. Search, its index and its embedding model run locally. With phone access on, encrypted frames pass through the relay; without it, Apaki makes no connection to us.

Which platforms?

The desktop app is for Windows, and a Mac build for Apple Silicon is in testing. The phone side is the iPhone app (TestFlight for now) or the web app in any phone browser.