anomalyco / anomalyco/opencode
[FEATURE]: OpenCode Remote Control
@Brendonovich is already working on this.
Since Sep 6, 2026.
- Dominant language
- TypeScript
- Stars
- 209k
- Forks
- 27.5k
- PR merge metrics
- PR metrics pending
Description
Feature hasn't been suggested before.
- I have verified this feature I'm about to request hasn't been suggested before.
Describe the enhancement you want to request
In corporate environments, developers run OpenCode on dev machines but may need to access it from a browser on a different workstation, behind corporate SSO.
opencode serve already exposes the full API over HTTP, and the web UI embedding API (AppInterface, PlatformProvider, ServerConnection) is well-designed for third-party consumers. These two together make remote access feasible today.
Similar to how Claude Code Remote Control lets users continue local sessions from any browser or mobile device, OpenCode could support a similar workflow — but routed through a self-hosted gateway with corporate OIDC auth.
What's missing is the glue:
- A way to discover and route to multiple dev machines from a single URL
- Corporate OIDC authentication in the browser flow
- A web entry point that wraps the OpenCode UI with user context
How it would work:
- Developer runs
opencode remote-controlon their dev machine — it authenticates via OIDC, startsopencode serve, and registers itself with a central gateway - Developer opens the gateway's web UI from any browser — authenticates via OIDC, sees their live sessions listed
- Clicking a session loads the full OpenCode web UI (embedded via
AppInterface), proxied through the gateway to the dev machine
Related: #45346 (remote server sessions as tabs) — the gateway would solve the discovery and routing layer that issue assumes is already in place.
I've been building a prototype and have it working end-to-end. The web entry point follows the same embedding pattern as packages/desktop. Would love to discuss whether this is something the project would want to support — open to a PR or a different approach.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.