Skip to content

Add the agent HTTP endpoints data plane protocol - #1728

Draft
theomonnom wants to merge 1 commit into
mainfrom
theo/agent-http-endpoints
Draft

Add the agent HTTP endpoints data plane protocol#1728
theomonnom wants to merge 1 commit into
mainfrom
theo/agent-http-endpoints

Conversation

@theomonnom

@theomonnom theomonnom commented Aug 20, 2026

Copy link
Copy Markdown
Member
  • AgentHttp namespace in livekit_agent.proto: worker-dialed data wires speaking AgentHttp.Frame (one frame per websocket binary message: attach handshake, opaque HTTP/1.1 data bytes, eof, typed reset, two-level credit — per-stream windows + a shared connection window on stream 0)
  • Endpoint manifest + instance_id + endpoint_protocol on RegisterWorkerRequest; negotiated endpoint_settings (attach token, wire pool size) on the response; wire flow-control parameters ride each attach response instead
  • draining/seq on UpdateWorkerStatus; GoAway for control-connection drain
  • ValidateDeployment tightened to a URL-safe charset (deployment is a URL path segment)

Frame envelope adapted from #1725. Based on the livekit-server go.mod pin; rebases forward with it.

@changeset-bot

changeset-bot Bot commented Aug 20, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 2480d74

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

AgentHttp namespace in livekit_agent.proto: worker-dialed wires speak
AgentHttp.Frame (attach handshake, opaque HTTP/1.1 data bytes, eof/reset,
two-level credit), manifest + instance_id + endpoint_protocol in
RegisterWorkerRequest, negotiated endpoint_settings in the response,
draining/seq in UpdateWorkerStatus, GoAway. ValidateDeployment tightened to
a URL-safe charset.
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