Skip to content

agents: support token mode - #1129

Draft
davidzhao wants to merge 3 commits into
mainfrom
agent-dev-token-mode
Draft

davidzhao wants to merge 3 commits into
mainfrom
agent-dev-token-mode

Conversation

@davidzhao

Copy link
Copy Markdown
Member

when running in user based auth mode, lk agent dev can function without using any API key/secret. it'll generate a worker token that gets passed to the agent SDK via LIVEKIT_TOKEN.

it'll periodically refresh this token via the agent dev protocol.

this removes the previous mode where it asks the user for a key when we are not able to create a pair for them (due to permissions).

depends on: livekit/protocol#1984, livekit server support, agent SDK releases

when running in user based auth mode, lk agent dev can function without
using any API key/secret. it'll generate a worker token that gets passed
to the agent SDK via `LIVEKIT_TOKEN`.

it'll periodically refresh this token via the agent dev protocol.

this removes the previous mode where it asks the user for a key when we
are not able to create a pair for them (due to permissions).
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