Skip to content

feat: Integrate Browser Streaming Service with AI Orchestrator Service #32

Description

@braden-seaborn

Description

Integrate the existing browser streaming service with the AI Orchestrator service to enable real-time visualization and user control of Playwright-controlled Chromium browsers during automation sessions.

Background

The streaming/input service logic is already implemented. Now we need to connect it to the Playwright browser running in Weave, allowing users to watch automation in real-time and take manual control when needed.

Requirements

Integration Tasks

  • Connect existing streaming service to the AI Orchestrator's Playwright browser instances
  • Route browser viewport data from AI Orchestrator to the streaming service
  • Pipe user input from stream back to Playwright in AI Orchestrator
  • Handle session handoff between AI automation and manual user control

Multi-tab Support

  • Stream multiple browser tabs/contexts simultaneously
  • Provide tab switching UI in the frontend
  • Maintain correct input routing to active tab

Performance & Monitoring

  • Implement configurable FPS caps (15fps, 30fps, 60fps)
  • Add adjustable resolution settings
  • Stream health metrics dashboard:
    • Latency measurements
    • Frame drop rate
    • Connection status
    • Bandwidth usage

Acceptance Criteria

  • Streaming service connects to Weave's Playwright browser
  • Users can view live browser viewport during automation
  • Users can take manual control and interact with the page
  • Multi-tab navigation works seamlessly
  • FPS/resolution settings are configurable
  • Health metrics are visible in real-time

Later TODOs

  • When the user interacts with the web-browser, it pauses the LangGraph agents and any deterministic automation.

Metadata

Metadata

Labels

P1High PriorityenhancementNew feature or request

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions