← All posts

OpenCode mobile: use OpenCode from your phone with Sesori

Illustration of a developer using Sesori on a phone in a sunny field

OpenCode is one of the best AI coding agents available right now. It is open source, model agnostic, terminal native, and fast. The catch is that it lives in your terminal, on your laptop. The moment you close the lid, the session is paused. The moment you want to keep working away from your computer, the workflow falls apart.

Sesori is what we built to fix that. It is the mobile client for OpenCode. In practice, it turns OpenCode mobile into a native workflow instead of a patched together remote terminal setup. It is not a separate IDE, not a cloud sandbox, and not a parallel copy of your setup. It feels native because it talks directly to your real OpenCode session. No patches, no wrappers, no SSH gymnastics, and no extra intermediary tools. Your real OpenCode session, running against your real repo on your real machine, shows up on your phone over an end to end encrypted link. This post walks through what that looks like in practice and how to set up OpenCode on your phone with Sesori.

Why OpenCode mobile matters

The honest answer: because the interesting part of an AI coding session is mostly thinking, not typing. Reading a diff, deciding whether the agent’s plan is right, redirecting it when it isn’t, and watching a test run do not need a 16 inch screen. They need attention, a small amount of input, and a session that stays alive.

If you’ve ever pulled out your phone to check on a long OpenCode run, you’ve already felt the gap. The problem is not only wanting to work on the go. It is also not wanting to constantly check in on the work from your computer just to see whether the agent is done, answer a question, or approve the next step. SSHing into your own laptop from a phone keyboard is not a real workflow. tmux in Termius is closer, but you still do not get voice, diff rendering, or session continuity. The right experience should work while you are waiting in line, waiting to get your car fixed, or anywhere else you are away from your desk. Sesori is what the OpenCode mobile experience would look like if it were built for the phone from day one.

What the OpenCode mobile workflow actually does

Three things, basically.

It surfaces your active OpenCode session on your phone. Whatever the agent is doing on your laptop, whether that is planning, editing files, running shell commands, or waiting for your approval, shows up live in the mobile app. You see the same stream you would see in your terminal, formatted for a screen you can hold.

It lets you reply. Type a prompt, or hit the mic button and say it. The phone sends it to the bridge running on your laptop, which feeds it straight into the OpenCode session. The agent does not know or care that the prompt came from a phone two cities away. To it, it is just another turn.

It keeps the session alive when the phone is offline. This is the part most people do not realize they want until they have it. If you lose signal in a tunnel, OpenCode keeps running on your laptop. When the phone reconnects, anything the agent produced in the gap streams in. You do not lose a turn.

OpenCode mobile setup

The whole installation is about two minutes. The mental model is: OpenCode on your laptop, Sesori Bridge on the same machine, Sesori app on your phone, same account on both sides.

1. Install OpenCode and connect your model provider.

curl -fsSL https://opencode.ai/install | bash
opencode auth login

2. Install Sesori Bridge on your laptop.

curl -fsSL https://api.sesori.com/install.sh | bash

Or, if you’d rather pull it through npm:

npx @sesori/bridge

3. Run the Bridge.

sesori-bridge

The bridge starts and manages its own local OpenCode connection, then waits for the app to attach. The relay it connects to is end to end encrypted, with X25519 for the handshake and XChaCha20-Poly1305 for the stream. The relay itself only ever sees opaque binary. It cannot read your code, your prompts, or the model’s responses. The bridge is open source if you want to verify that yourself.

4. Install Sesori on your phone and sign in with the same account. Sesori is live on the App Store and Google Play, so OpenCode mobile is available on both iPhone and Android. Once you sign in, the session running on your laptop shows up on the phone automatically. No QR code and no copied and pasted token.

That’s it. The full instructions, including troubleshooting, live in the docs.

What OpenCode mobile feels like in practice

The thing that surprised us most was how continuous it feels. You start an OpenCode prompt at your desk, leave the desk, keep going on the phone, and come back later if you want. It is still one session. There is no “import,” no “sync,” and no second copy of the codebase floating around. You are not tied to the desk anymore, and you do not need to carry the whole setup with you. The session still lives where it always lived: on your machine.

Voice is the other thing worth calling out. Typing a long prompt on a phone keyboard is miserable; speaking one takes three seconds. We expected to use voice for short interjections (“yes, do that”, “no, try jest instead”) and ended up using it for full prompts, because it is just faster. Spoken prompts run through the same pipeline as any other prompt would.

Common questions

Do I need to connect Sesori to an existing OpenCode server? No. Sesori Bridge starts and manages its own local OpenCode connection for you. The setup is intentionally simple: install OpenCode, install the Bridge, run sesori-bridge, then open the app on your phone.

Does Sesori run OpenCode in the cloud? No. OpenCode runs on your laptop, against your repo, using your model API keys. Sesori is purely a remote control layer. Your code never leaves your machine; the relay only carries encrypted bytes between the bridge and the app.

Does the laptop need to be on? Yes. The bridge has to be running for the phone to see the session, the same way your laptop has to be running for OpenCode to do anything. Sleeping laptop = paused session. We’ve thought about a “wake-on-prompt” mode for the future, but right now it’s intentional: you control when the bridge is reachable.

Is there an Android version? Yes. Sesori is on iOS and Android with feature parity, and the workflow is the same on both.

Try OpenCode mobile

Sesori is available now, and the bridge is open source and always will be. If you already use OpenCode and the workflow above sounds like something you’d want, the fastest way to try it is:

curl -fsSL https://api.sesori.com/install.sh | bash
sesori-bridge

Then install Sesori from the App Store or Google Play, sign in, and pick up the session from your phone. If you’d rather poke at the architecture first, the docs cover everything from the wire protocol to the threat model.

This is the workflow that made us actually want to keep using OpenCode on the move. We hope it does the same for you.

Coming soon