connect to your OpenCode servers on the go
💫 A lightweight mobile client that wraps the
OpenCode Web
UI as native Android and iOS apps. Connects to an already-running
OpenCode server over LAN or VPN / Tailscale.
Chat with the agent on your phone while the agent and the server run
on your computer and edit code and use all the tools available on it.
🖥️
🔃 Seamlessly continue sessions started on your computer from your phone, or vice versa. Available on Android, iOS and VS Code
opencode pair or pasting a link
OPENCODE_SERVER_PASSWORD)
prefers-color-scheme)
The app is a client. It connects to OpenCode running on the machine where you have your code and build tools, so that needs to be set up first. The app shows these steps too when you add a server.
# let your phone reach it (only needed once)
opencode service set hostname 0.0.0.0
# print a QR code and pairing links
opencode pair
In the app, add a server, then scan the QR code or paste a link. Your phone needs to be on the same Wi-Fi or VPN as your computer. Links work once and expire after 5 minutes.
opencode serve instead
opencode serve --hostname 0.0.0.0 --port 4096
A standalone server can't pair. In the app, choose Use URL and password instead and enter the password it prints.
Use a VPN such as Tailscale on both devices. You can also run
opencode pair --remote, which reaches your computer
through a tunnel. That exposes the server to the internet, protected
by its password.
Turn on OpenCode v1 server when adding the server.
# start a server without password
opencode web --hostname 0.0.0.0 --port 4096
export OPENCODE_SERVER_PASSWORD="your-secret-password"
opencode serve --hostname 0.0.0.0 --port 4096
When auth is enabled, the username defaults to
opencode in the app.