dzianisv/opencode-mobile

OpenCode Mobile — open-source Android client for the OpenCode AI coding agent. Run AI coding sessions from your phone against your self-hosted server over Tailscale. Available on F-Droid.

What it solves

AI coding agents usually live on your laptop, so you can't check in on them or give them instructions when you're away. OpenCode Mobile lets you connect to your own self-hosted opencode server from an Android phone, so you can browse sessions, stream responses, review file diffs, and approve or reject tool calls while on the go. It also includes an offline demo that shows the whole agent workflow without needing a server.

How it works

OpenCode Mobile is a thin client. It speaks the opencode HTTP + SSE API, handling session listing, message sending, streaming replies, and file-change events. You run the opencode server yourself (with a password) on your machine or VPS, then add a connection in the app using a local network IP, a Cloudflare tunnel, ngrok, or Tailscale. All AI model calls happen on your server with your own API keys — the app never touches them and never proxies your code through third-party servers. The app stores server credentials securely in the Android Keystore, and lets you review and approve tool calls before the agent executes them. A built-in demo mode plays back a scripted bug-fix session using the real chat, diff, and permission UI, so you can evaluate the experience without any setup.

Who it's for

Developers who already use the opencode coding agent and want to monitor or drive it from an Android phone. It's also useful for anyone curious about how an AI agent works end-to-end, thanks to the offline demo. The app is independent and community-built — not affiliated with opencode — but it works with any opencode server you run yourself.

Highlights

  • Offline demo: tap "Try a Demo" to see the agent reason, grep, diff, and ask for permission in about 30 seconds
  • Multi-connection support: manage servers over local network, Cloudflare Tunnel, ngrok, or Tailscale
  • Biometric unlock (Face ID, Touch ID, fingerprint) to protect the app and individual message sends
  • Streaming chat with token-by-token responses straight from your server
  • Inline side-by-side diff viewer for every file change the agent makes
  • Tool-call approval UI — review and approve or reject before execution
  • Secure credential storage in the OS keystore, with no analytics SDKs and telemetry only if you opt in

Related

  • Project
  • Project
  • Project
  • Project