Skip to content

Release/v2.0.0#27

Merged
digitallysavvy merged 28 commits into
mainfrom
release/v2.0.0
May 28, 2026
Merged

Release/v2.0.0#27
digitallysavvy merged 28 commits into
mainfrom
release/v2.0.0

Conversation

@digitallysavvy
Copy link
Copy Markdown
Collaborator

@digitallysavvy digitallysavvy commented May 22, 2026

Summary

  • Bumps the Python SDK to v2.0.0.
  • Aligns ConvoAI token generation around integer uid input.
  • Removes the redundant avatar RTC token helper from the public API.
  • Adds AgentKit parity updates for v2.7, including typed options, aliases, greeting configs,
    constants, avatar token automation, Generic Avatar, xAI Grok, and turn pagination helpers.
  • Fixes session typing issues reported by mypy.

Validation

  • python3 -m compileall src/agora_agent/agentkit src/agora_agent/pool_client.py
  • python3 -m pytest -q
  • git diff --check

fern-api Bot and others added 15 commits May 20, 2026 20:38
Generated by Fern
CLI Version: unknown
Generators:
  - fernapi/fern-python-sdk: 4.37.0
Bumps the package version to v1.5.0 and re-exports the generated v2.7
core types as public AgentKit aliases so callers can import config,
response, vendor, and turn-detection types directly from
 and . Adds the xAI Grok and
Vertex AI MLLM wrappers to the vendor namespace alongside the existing
generic and live avatar wrappers.
Adds xAI Grok Realtime and Vertex AI MLLM wrappers, and aligns MLLM
config serialization with the generated core types. LLM vendors now
accept typed greeting_configs and serialize them through the generated
model shape, including interruptable.
Adds the GenericAvatar vendor wrapper and extends avatar validation
helpers for generic and RTC-backed avatars. Session-derived fields such
as agora_appid, agora_channel, and agora_token can now be validated
after AgentSession enrichment.
Aligns Agent and AgentSession with the generated v2.7 request shape.
MLLM sessions no longer require TTS, LLM, or STT, and enabled avatars
are rejected when MLLM is configured. AgentSession now enriches generic
and RTC avatars with session context, auto-generates avatar tokens,
validates TTS sample rates from vendor-specific fields, and adds
paginated get_turns/get_all_turns helpers with fail-fast pagination
guards.
Covers MLLM and avatar guardrails, generic avatar enrichment and token
generation, vendor config serialization, turn pagination, and agent-level
field overrides for both cascading and MLLM sessions.
Documents MLLM sessions without TTS, avatar cascading constraints,
GenericAvatar session enrichment, turn pagination, and v2.7 error
handling. Updates README examples and adds the errors reference page.
@digitallysavvy digitallysavvy requested a review from plutoless May 22, 2026 02:12
@digitallysavvy digitallysavvy self-assigned this May 22, 2026
chenyuguo-agora and others added 13 commits May 27, 2026 15:22
The compat distribution delegates to agora_agent via __getattr__ and
documents both import paths in its README.
Build and verify the compat wheel re-exports, gate publish on compat-build,
simplify version checks with poetry version, wait for primary package on
PyPI, and retry compat publish on failure.
Update installation guide, root README, and changelog for the renamed
distribution while keeping the agora_agent import path.
Extend __getattr__ and __all__ so vendor classes, presets, and helpers
are importable via `from agora_agent import ...`. Add tests and update
class docstring examples to use the root import path.
Replace split agentkit import paths across guides, concepts, and reference
pages. Correct architecture to three layers and consolidate installation
layout.
Fix README title, table of contents, and duplicate MLLM section. Consolidate
quick-start imports to the root path. Correct the v2.0.0 type alias entry.
Rewrite getting-started auth and quick-start for app credentials with
the builder API. De-emphasize presets and align index, BYOK, and README
with the recommended onboarding path.
…paths in Fern ignore.

Consolidate migration notes into the installation guide with next-step links, add a brief README pointer, and exclude README, compat, and workflow files from Fern generation.
Remove duplicated low-level client examples from the README, de-emphasize legacy auth modes, refocus the low-level API guide on AgentKit with telephony escape hatches, and update Agora-managed model terminology.
Introduce named LLM vendor classes with correct request serialization, export them from the package root, and add tests covering each provider's config shape.
Add Groq, Vertex AI, Bedrock, Dify, and Custom LLM to vendor references, simplify README and index navigation, and align quick-start and terminology with Agora-managed model language.
@digitallysavvy digitallysavvy merged commit 978002f into main May 28, 2026
4 checks passed
@digitallysavvy digitallysavvy deleted the release/v2.0.0 branch May 28, 2026 02:06
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.

2 participants