Closed as not planned
Closed as not planned
Copy link
Description
- I have verified this feature I'm about to request hasn't been suggested before.
Describe the enhancement you want to request
Agent-first platform foundation and a native browser agent for OpenCode.
Delivered as a stacked branch (browser-agent, 8 commits on top of dev):
- Agent manager lifecycle — coordinates agent instances for task execution.
- Background job fan-out with hierarchical cancellation — tests covering fan-out and cancel propagation through the hierarchy.
- Task graph DAG orchestrator — schedules dependent tasks as a DAG.
- Task graph background job bridge — bridges graph scheduling onto background jobs.
- Native
browsertool — 17 actions (open/close, navigation, click/fill/select/upload, screenshot/snapshot/eval, console/network/downloads drains, viewport, wait) returning real evidence (attachments, drained logs) for the mandatory web verification loop: modify → run the app → open the browser → test → collect evidence → fix → repeat. Web tasks must never be reported done just because they compile. browsersubagent — a minimal-permission subagent (browser access only) that works alongside the coding agent.- Node.js driver for Playwright — Playwright does not run under the bun runtime (its launcher and WebSocket client hang; verified), so
openwrites an embedded driver source to the temp directory and spawnsnode, speaking a JSON-lines stdio RPC for every action. Playwright stays an optional dependency: a missing package or missing Node.js fails with honest, actionable instructions — never simulated browser results.
Benefits: web work becomes verifiable with real browser evidence instead of build success, and agents get a durable, cancellable scheduling stack underneath.
Reacted by Joda Stößer
Metadata
Metadata
Assignees
Labels
No labels
Activity
github-actions commentedon Sep 27, 2026
This issue might be a duplicate of existing issues. Please check:
opencodejr commentedon Oct 28, 2026
Thanks for the detailed proposal! The request is a standalone browser tool (Playwright run in a Node.js child process) plus a browser-only
browsersubagent, so agents can check web work with real evidence instead of a passing build. It also covers a scheduling layer underneath: an agent manager, background-job fan-out with hierarchical cancellation, and a task-graph DAG.Some context for v2, which is where development now happens:
@opencode/plugin-browser. It exposes the desktop app's browser to agents through Code Mode (tools.browser.*) and covers most of the actions you list: tabs, navigation, click/fill/select, file upload, snapshot, screenshot, evaluate, wait, and console and network logs. It also includes a built-inbrowserskill for the verification workflow. It currently needs the desktop app's browser to be attached, so a headless browser for the CLI/TUI would be the new part.devbecame v2. A v2 version would most likely build on the existing browser plugin. The Playwright tool and the subagent could also be published as an external plugin.Related issues and PRs:
Maintainers will consider this.
neriousy commentedon Nov 12, 2026
Thanks for the suggestion. This isn't something we plan to build, so closing to keep the tracker focused.