Skip to content

feat: add BrowserAgent driving contract with agent sessions#147

Merged
ndthanhdev merged 1 commit into
mainfrom
feat/browser-agent-driving-sessions
Jun 24, 2026
Merged

feat: add BrowserAgent driving contract with agent sessions#147
ndthanhdev merged 1 commit into
mainfrom
feat/browser-agent-driving-sessions

Conversation

@ndthanhdev

Copy link
Copy Markdown
Owner

Define the Browser Agent driving boundary in core-extension as a single agent that owns many sessions (wrapping the AI SDK v7 HarnessAgent):

  • BrowserAgentInputPort: session lifecycle (createSession/endSession), drive (sendMessage/cancel), reads (getSession/listSessions/getHistory), and a subscribe() progress stream.
  • New types: AgentSession/AgentSessionStatus/AgentCreateSessionParams, AgentSendMessageParams, and the AgentProgressEvent transcript union (session lifecycle + user/assistant messages + tool activity).
  • Update architecture diagrams: add AgentSessionRegistry Core node and note the HarnessAgent wrapping; nodes stay 'planned' (dashed).

No container binding yet — implementation, the driving package, the LLM/harness adapter, and apps/agent-ui remain a later pass.

Define the Browser Agent driving boundary in core-extension as a single
agent that owns many sessions (wrapping the AI SDK v7 HarnessAgent):

- BrowserAgentInputPort: session lifecycle (createSession/endSession),
  drive (sendMessage/cancel), reads (getSession/listSessions/getHistory),
  and a subscribe() progress stream.
- New types: AgentSession/AgentSessionStatus/AgentCreateSessionParams,
  AgentSendMessageParams, and the AgentProgressEvent transcript union
  (session lifecycle + user/assistant messages + tool activity).
- Update architecture diagrams: add AgentSessionRegistry Core node and
  note the HarnessAgent wrapping; nodes stay 'planned' (dashed).

No container binding yet — implementation, the driving package, the
LLM/harness adapter, and apps/agent-ui remain a later pass.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@ndthanhdev
ndthanhdev merged commit d28993e into main Jun 24, 2026
5 checks passed
@ndthanhdev
ndthanhdev deleted the feat/browser-agent-driving-sessions branch June 24, 2026 18:35
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.

1 participant