Draw, write and speak on your iPad. Send it to Claude Code or Codex on your Mac.
Quick start · Documentation · Contribute · MIT license
Sketch an idea, circle the part you mean, or hold the mic to explain it. Press Send and your agent receives the marks, words and board images together. Read its answer in your agent session.
iPad beta: Reflex is a public TestFlight beta for iPadOS 26 or later.
Left: a board ready to Send. Right: pairing with the 6-digit code from your agent.
You need the iPad beta, a Mac with Node.js 22 or later, Git, and a working Claude Code or Codex installation. No Reflex account or server setup is needed.
Paste this in your Mac’s terminal, in the folder where you use Claude Code:
claude mcp add reflex -- npx -y "github:JohanSardar/reflex#npx" mcpStart a new claude session in that folder so it loads the server. Say “connect my iPad” and allow Reflex’s tools if Claude Code asks. Your agent gives you a six-digit code.
Add this block to ~/.codex/config.toml (replace an existing Reflex block rather than adding a duplicate):
[mcp_servers.reflex]
command = "npx"
args = ["-y", "github:JohanSardar/reflex#npx", "mcp"]
tool_timeout_sec = 300Start a new Codex session and say “connect my iPad to Reflex”. Your agent gives you a six-digit code.
- Open Reflex, tap the connection button at the top right (a laptop), and enter the code from your agent. Allow Local Network access when iPadOS asks.
- Draw or write on the board, then tap Send. You can also hold the mic to speak; releasing it sends your words.
- Read the answer in Claude Code or Codex. Your agent waits for the next Send through
wait_for_user.
Pairing tries the same Wi-Fi and nearby connections first, then the relay if needed. The code also approves the agent that gave it to you. It works once, expires after ten minutes, and closes after five failed attempts. Keep it private.
If the agent doesn’t see Reflex, or pairing stalls, see troubleshooting.
iPad → Mac Link → your agent. The iPad keeps your board locally. A Send packages your new marks, their context, spoken words and board images. The Mac Link stores it and delivers it to approved agents through MCP. The agent answers in its own session; it cannot draw on your canvas.
Drawing stays local until you Send. Speech recognition runs on the iPad. Paired device traffic is encrypted end to end, including when it passes through the relay. The relay can see connection addresses, timing and traffic volume, but cannot read your content. The agent and its AI provider receive what you send and apply their own data policies. This is a beta, not an independently audited security product.
Read privacy and security for the trust boundaries, the relay guide to self-host or turn the relay off, and SECURITY.md to report a vulnerability privately.
| Part | What it does |
|---|---|
| apps/ipad/ | Native iPad app: PencilKit canvas, voice and Send |
| agent/ | MCP server and CLI for Claude Code, Codex and other receivers |
| link/ | Mac background service: pairing, approvals and durable Send delivery |
| relay/ | Forwards encrypted connections when devices are apart |
| dist/ | Small prebuilt CLI bundle used by the npx install |
| docs/ | User guides, architecture, specification and research |
The npx workflow copies changed builds and the nearby Wi-Fi helper to a small npx branch. Installing Reflex doesn’t download the iPad source or build the app.
- Documentation: troubleshooting, privacy, relay and developer references.
- Contributing: build locally and show a change working.
- Project standards research: Happy, Immich and LocalSend compared with Reflex.
- Report a bug or report a security issue privately.
Reflex is open source under the MIT license.

