Skip to content

Conversation

@rcholic
Copy link
Contributor

@rcholic rcholic commented Jan 11, 2026

Goal: Modify AgentRuntime to accept any browser that conforms to BrowserBackendV0 protocol, including browser-use's BrowserSession.

Verdict: ✅ Feasible with moderate refactoring effort.

The main challenge is that AgentRuntime currently depends on two separate objects (AsyncSentienceBrowser + Playwright Page), while BrowserBackendV0 provides a unified interface. The refactoring is straightforward but requires careful handling of snapshot and page URL access patterns.

@rcholic rcholic marked this pull request as ready for review January 11, 2026 22:16
@rcholic rcholic merged commit ff859a0 into main Jan 12, 2026
0 of 6 checks passed
@rcholic rcholic deleted the fix_context branch January 12, 2026 01:18
@rcholic rcholic restored the fix_context branch January 12, 2026 01:18
@rcholic rcholic deleted the fix_context branch January 12, 2026 04:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants