OpenCode Mobile is the AI coding agent companion built for developers who self-host opencode. Connect your Android phone to your opencode server and run AI-powered coding sessions from anywhere — watch diffs land, approve tool calls, and guide Claude, GPT-4, or Gemini in real time.
WHAT IT DOES
OpenCode Mobile is a thin client for the opencode CLI (github.com/sst/opencode). It speaks the opencode HTTP + SSE API, so every AI coding session on your workstation or server is instantly reachable from your phone. All AI model calls go through your own server — your API keys, your code, your infrastructure. Nothing passes through our servers.
CORE FEATURES
• Real-time streaming chat — watch your AI coding assistant think and respond token by token, just like a desktop terminal
• File diff viewer — see every code change the agent proposes before you approve it; no surprise rewrites
• Tool-call approval — review and approve or reject file writes, shell commands, and other agent actions from your phone
• Multi-session management — start, resume, and switch between AI coding sessions without losing context
• Biometric unlock — fingerprint or face unlock keeps your sessions private on shared or lost devices
CONNECTION OPTIONS
• Local Wi-Fi — zero config when phone and dev machine are on the same network
• Tailscale — connect securely across networks without opening ports
• Cloudflare Tunnel — public HTTPS endpoint for your opencode server in minutes
• ngrok — quick ad-hoc tunnels for demos or one-off remote sessions
WHO IT IS FOR
• Developers running opencode on their workstation who want to check in from their phone
• Engineers away from their desk who want to review or steer long-running AI coding jobs
• Teams self-hosting AI developer tools who want a polished mobile interface
• Open-source contributors who want an MIT-licensed alternative to proprietary AI coding apps
GETTING STARTED
Install opencode on any machine: npm install -g opencode-ai, then run opencode serve. Open the app, tap Connect, paste your server URL. Your AI coding agent is now on your phone.
OPEN SOURCE
MIT licensed. Source code at github.com/dzianisv/opencode-mobile. Contributions welcome.
PRIVACY
OpenCode Mobile does not collect your code, prompts, or AI responses. All traffic goes from the app directly to YOUR opencode server. Optional Sentry crash reporting collects only device model, OS version, and stack traces.