Repository navigation
Description
Summary
Orca browser tabs can currently be automated through the Orca CLI browser command surface (orca snapshot, orca click, orca fill, orca exec --command ...). Add a way for users/agents to control the same Orca browser tabs directly with agent-browser as an additional path, not a replacement for the Orca CLI.
Motivation
Agents that already have the agent-browser skill installed expect to use commands such as agent-browser snapshot, agent-browser click @e1, and agent-browser --provider <name> .... Today, those commands do not know how to discover Orca browser tabs unless routed through orca commands.
This would let agents use the familiar agent-browser workflow against Orca's embedded browser while preserving the existing orca CLI workflow.
Proposed shape
Implement an Orca-owned agent-browser provider plugin or equivalent provider entry point. agent-browser already supports browser.provider plugins that return a CDP URL. Orca already has an internal CDP proxy for browser tabs via the existing AgentBrowserBridge/CdpWsProxy path.
A possible flow:
- User/Orca configures an
orcaagent-browser provider, for exampleAGENT_BROWSER_PROVIDER=orcaplus anAGENT_BROWSER_PLUGINS/agent-browser.jsonentry. agent-browser --provider orca snapshotinvokes an Orca provider command.- The Orca provider command talks to the running Orca daemon/runtime, resolves the active worktree/browser page, ensures a CDP proxy exists, and returns
browser.cdpUrl. - agent-browser connects to that CDP endpoint and runs its normal snapshot/interact workflow.
Requirements / acceptance criteria
- Existing Orca CLI browser commands continue to work unchanged.
- The new path is clearly documented as an additional direct
agent-browserintegration. - Users can run direct
agent-browsercommands against an Orca browser tab after setup, ideally withagent-browser --provider orca ...or plainagent-browser ...when Orca configures the default provider. - Targeting should handle the active Orca worktree/browser tab and ideally support explicit browser page/worktree selection.
- The integration should consider SSH/remote runtime cases; a remote agent may not be able to reach a desktop-local
127.0.0.1CDP proxy without forwarding or daemon brokering. - The provider/attach lifecycle should avoid racing with existing Orca CLI browser commands and should clean up stale sessions/proxies.
Notes
This likely does not require changes in agent-browser core. The cleanest first implementation may be in Orca: add a provider command that implements agent-browser.plugin.v1 with browser.provider capability and returns the CDP URL for an Orca browser tab. A follow-up agent-browser docs/skill update could advertise the Orca provider once the Orca side exists.
Activity