Skip to content

Migrate to agora-agents 2.3.x - #23

Merged
plutoless merged 1 commit into
mainfrom
fix/agora-agents-2.3.x
Jun 18, 2026
Merged

Migrate to agora-agents 2.3.x#23
plutoless merged 1 commit into
mainfrom
fix/agora-agents-2.3.x

Conversation

@plutoless

Copy link
Copy Markdown
Contributor

What

Adapts this quickstart to agora-agents 2.3.x, which carries a breaking API change: the Agora client moved into the Agent constructor, and the agent name was removed from it (the SDK now auto-assigns a unique session name when omitted).

Changes

  • Client bound at construction (Agent(client=…) / new Agent({ client }) / NewAgent(client, …))
  • Dropped client from the session call (create_async_session / createSession / CreateSession)
  • Dropped the explicit agent name (SDK auto-assigns)
  • Version floor bumped to 2.3.x

Verification

Existing tests/build pass, and verified end-to-end against live Agora (agent provisions and stops cleanly).

🤖 Generated with Claude Code

@plutoless
plutoless merged commit 2c95b9f into main Jun 18, 2026
16 checks passed
@plutoless
plutoless deleted the fix/agora-agents-2.3.x branch June 18, 2026 02:44
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