A native Android companion for OpenCode.
Chat with your agent, explore your workspace, and open a real terminal from your phone.
Screenshots · Features · Compatibility · Build
Unofficial community project. Not affiliated with the OpenCode team.
| Pick up the conversation | Stay close to your workspace | Keep control |
|---|---|---|
| Native streaming chat, model and agent selection, attachments, and readable tool results. | Browse files, preview changes, switch projects, and work in a full interactive terminal. | Answer questions, approve permissions, stop runs, and reconnect without losing your place. |
Connect to your own remote servers, or run OpenCode on-device through Termux. Manage multiple connections and keep important sessions together in Favorites.
Real app screens. Select an image to view it at full resolution. Appearance may vary by version and theme.
| 01 / Your servers | 02 / Native chat | 03 / Favorites |
|---|---|---|
![]() |
![]() |
![]() |
| Remote connections and local runtime | Your agent, without the desktop | Important sessions, one place |
Explore six more screens: attachments, session actions, context, and settings
You need: Android 8.0+ and an OpenCode server reachable from your phone.
Download the latest APK from GitHub Releases and open it on your Android device. If prompted, allow installation from the browser or file manager you used.
Future updates can be checked from About. Automatic discovery also runs when you return to the app, subject to a 24-hour interval between completed checks; manual checks bypass the interval. What's new opens the release notes inside the app, with offline access after loading and a download/install button that stays visible while reading. In-app downloads are verified against their SHA-256, package/version, and signing certificate before Android's installer opens.
On the computer hosting your project:
opencode serve --port 4096 --hostname 0.0.0.0Important
0.0.0.0 listens on all network interfaces. Use a trusted network or VPN, configure authentication, and do not expose an unauthenticated server to the public internet. Use HTTPS when connecting over an untrusted network.
Open OC Remote, tap +, and enter your server URL, for example http://192.168.0.10:4096, along with the server's username and password if configured. Tap Connect, then Sessions.
Prefer to work entirely on your phone? The Local OpenCode card guides you through setup and launch using Termux.
- Native Material 3 chat: streaming responses, GFM Markdown, syntax-highlighted code, tables, copy actions, and scroll behavior that respects manual scrolling.
- Reading mode: translucent, blurred chat panels hide as you scroll toward newer messages and return on reverse scrolling or Back. Session activity remains visible, with optional hiding of Android system bars.
- Useful tool cards: expandable results, selectable shell output, diffs, and a headers-only mode to reduce rendering memory.
- Files within reach: open file links from chat, browse folders in a list or three-column grid, search filenames, and preview text, Markdown, images, PDFs, and static HTML. Back from a chat file link returns to chat; folder navigation stays within the project.
- File transfers: download, open, and share files, including large APKs on compatible V1 servers. V2 adds streamed uploads and text editing; available actions depend on the server API.
- Project changes: inspect working-tree and branch diffs, including deleted files, with colored additions/deletions, copying, line wrapping, and pinch zoom. V2 also supports committed-only comparisons.
- Attachments and Android sharing: send images, PDFs, text, source code, and configuration files from your device or another app.
- Model and agent controls: searchable model picker, provider icons, variants, model visibility, and agent selection.
- Context visibility: token breakdowns, cache usage, remaining context capacity, and session cost.
- Human-in-the-loop actions: ordered permission and question prompts, retry controls, and Stop for active runs.
- V2 request queue: view pending requests, cancel queued messages, or switch their delivery between queue and steer.
Phone volume-key shortcuts follow Termux: hold Volume Down for Ctrl, or Volume Up for:
| Key | Action |
|---|---|
| W / A / S / D | Up / Left / Down / Right |
| P / N | Page Up / Page Down |
| T / I / E | Tab / Insert / Escape |
| 1–9 / 0 | F1–F9 / F10 |
| H / U / L | ~ / _ / | |
| B / F / X | Alt+B / Alt+F / Alt+X |
| . | Ctrl+\ |
| Q / K | Show/hide extra keys (remembered per session) |
| V | Show Android volume controls |
Volume Down also supports Ctrl aliases: 2 → NUL, 3 → Escape, 4 → Ctrl+\,
5 → Ctrl+], 6 → Ctrl+^, 7 or / → Ctrl+_, and 8 → DEL.
Open an interactive PTY terminal over WebSocket without leaving the session.
Wide windows can dock the terminal beside chat with a draggable divider or expand it to the full workspace. Physical keyboards use terminal escape sequences; Ctrl+Shift+C/V copy and paste, Ctrl+wheel changes text size, and Shift keeps mouse selection/scrolling local when a TUI captures the mouse. Extra keys can be toggled and default to hidden with a physical keyboard. Terminal input honors bracketed-paste mode and requests no keyboard prediction or autocorrection.
| Input | Navigation | Recovery |
|---|---|---|
Dedicated extra keys, Ctrl/Alt latching, volume-key modifiers, and Ctrl+Alt+V paste |
Server-scoped terminal tabs, inertial scrollback, pinch zoom, and text selection | Viewport/keyboard-aware resizing, connection status, reconnect, and restart for exited tabs |
- Multiple servers: connect simultaneously, reorder remote cards, and cancel pending connections.
- Project organization: search and group sessions, revisit recent directories, and handle Windows and Unicode project paths.
- Cross-server Favorites: reorder sessions, filter by custom categories, and keep offline favorites visible.
- Session tabs: switch between sessions across servers, pin and reorder tabs, close other tabs or tabs to the right, and restore from a saved history of the last 100 closed tabs. Wide windows use a browser-style strip with hover details and mouse context menus; narrow windows show session tabs in a fullscreen switcher. Ctrl+Tab / Ctrl+Shift+Tab switch tabs, Ctrl+W closes a tab, and Ctrl+Shift+T restores one when connected terminal input does not own focus. Closing tabs never deletes sessions or stops the agent.
- Session actions: fork, compact, review, rename, revert, delete, and export JSON; sharing is available where supported by the server API.
- Fast history: show the newest 10 messages first, load the configured history target in the background, and fetch older pages on demand.
- Draft persistence: preserve text, attachments, and confirmed file mentions across navigation and app restarts.
- Read-only subagents: inspect child-session history and context without unsafe prompt controls.
Wide windows use one browser-style tab strip without a duplicate session header. The active session menu includes app settings and a saved full-width chat toggle. Short windows use a compact composer, while dialogs and menus adapt to the visible area and keyboard.
In wide mode, settings, sync, diagnostics, release notes, and server/file screens also open as tabs. The tab-search button sits at the left edge and opens a compact searchable popup rather than taking over the screen. Page tabs use the same pinning, closing, and saved restoration history as sessions, but the phone switcher and its history show sessions only. Desktop pages remain saved for wide mode. The tab strip shrinks tabs to fit before enabling scrolling, and keeps the add button visible.
| Appearance | Interaction | Connections |
|---|---|---|
| Light, dark, system, and true-black AMOLED themes | Adjustable chat and terminal fonts, code wrapping, and compact messages | Reconnect policies, background WakeLock, and keep-screen-on controls |
| Material You dynamic colors on Android 12+ | Configurable haptic duration/amplitude and a test action | Completion notifications with optional silent delivery |
| 15 languages | Reasoning expansion, turn dividers, and send confirmation | Local runtime authentication, LAN binding, proxy, and startup settings |
Favorites, categories, and session tabs can each be disabled without deleting saved data. Power-related controls are grouped together in Settings. Toggle image compression from the session menu; resolution and quality remain in Settings. AMOLED uses black panels, file tiles, menus, and notification surfaces with contrasting borders.
All supported languages
English · Russian · German · Spanish · French · Italian · Portuguese (Brazil) · Indonesian · Japanese · Korean · Chinese (Simplified) · Ukrainian · Turkish · Arabic · Polish
Translations are maintained with Lokit.
Settings sync works through GitHub Gist, WebDAV, or an Android document provider. Preferences, ordered remote servers, categories, assignments, Favorites, and hidden models travel together. Independent changes merge automatically; overlapping changes offer local/remote choices that retain unrelated edits.
Connection settings save automatically after editing; the automatic-sync switch takes effect immediately.
Server passwords are optional and encrypted with a separate passphrase. Sync credentials and local-runtime configuration remain device-specific.
Offline-aware screens retain cached content in read-only mode and show connection status. History processing uses response limits and disk-backed handling; diagnostics provide privacy-sanitized logs with export controls. Provider authentication and MCP management are available according to server capabilities.
OC Remote detects OpenCode V1 or V2 per connection.
| Server API | Availability |
|---|---|
| V1 | Existing native chat, terminal, session, and server-management workflows |
| V2 | Initial integration based on @opencode/cli 2.0.30, with filesystem support updated against 2.1.4 |
Note
OC Remote does not implement V2 configuration writes or native MCP OAuth; V1-style session sharing is unavailable on V2. Unsupported forms offer a web-client fallback. End-to-end V2 device verification is still pending; automated tests do not establish full live-server compatibility.
Known issues · Release history
Use JDK 17 and the Android SDK, or open the project in Android Studio, sync Gradle, and run on a device or emulator.
# Build the development APK
./gradlew assembleDebug
# Install on a connected device
adb install -r app/build/outputs/apk/debug/app-debug.apk
# Run unit tests and Android lint
./gradlew :app:test :app:lintFound a bug? Open an issue with your OC Remote version, OpenCode version, Android version, and reproduction steps. Attach a sanitized diagnostic export when possible; never include passwords or API tokens.
Have an improvement in mind? Browse open pull requests to avoid duplicate work, keep changes focused, and include tests for behavior changes.
OC Remote · Native Android access to your OpenCode servers
Download · Report a bug · Back to top
Source code: MIT License. The OC Remote name, logo, and app icon are subject to the trademark and branding policy; forks must use a distinct identity.








