You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Streamline Python docs and README for app-credentials-first onboarding.
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.
`Agora` generates the required ConvoAI REST auth and RTC join tokens automatically when you provide `app_id` and `app_certificate`. AgentKit then inspects the builder-provided vendor configs and infers the matching supported `preset` values for reseller-backed models, so you do not pass vendor API keys in this flow.
149
+
`Agora` generates the required ConvoAI REST auth and RTC join tokens automatically when you provide `app_id` and `app_certificate`. AgentKit inspects the builder-provided vendor configs and infers Agora-managed configuration for supported models, so you do not pass vendor API keys in this flow.
152
150
153
151
### BYOK version of the same builder flow
154
152
@@ -187,7 +185,7 @@ Migrating from `agora-agent-server-sdk` on PyPI? Use `pip install agora-agents`;
187
185
188
186
## BYOK
189
187
190
-
If you want to bring your own vendor credentials instead of using Agora-managed presets, use the BYOK guide:
188
+
If you want to bring your own vendor credentials instead of using Agora-managed models, use the BYOK guide:
191
189
192
190
-[BYOK Guide](./docs/guides/byok.md)
193
191
@@ -217,187 +215,6 @@ API reference documentation is available [here](https://docs.agora.io/en/convers
217
215
218
216
A full reference for this library is available [here](https://github.com/AgoraIO-Conversational-AI/agent-server-sdk-python/blob/HEAD/./reference.md).
219
217
220
-
## MLLM Flow (Multimodal)
221
-
222
-
For real-time audio processing using OpenAI Realtime, Gemini Live, Vertex AI, or xAI Grok, use the MLLM (Multimodal Large Language Model) flow instead of the cascading ASR -> LLM -> TTS flow. MLLM mode does not require separate TTS, STT, or LLM vendors. See the [MLLM Overview](https://docs.agora.io/en/conversational-ai/models/mllm/overview) for more details.
The SDK also exports an `async` client so that you can make non-blocking calls to our API. Note that if you are constructing an Async httpx client class to pass into this client, use `httpx.AsyncClient()` instead of `httpx.Client()` (e.g. for the `httpx_client` parameter of this client).
335
-
336
-
```python
337
-
import asyncio
338
-
339
-
from agora_agent import AsyncAgora, MicrosoftTtsParams, Tts_Microsoft
Uses HTTP Basic Auth with Customer ID and Secret from Agora Console. Avoid for new integrations — the same credentials are sent on every request instead of minting fresh tokens.
77
-
78
-
```python
79
-
client = Agora(
80
-
area=Area.US,
81
-
app_id="your-app-id",
82
-
app_certificate="your-app-certificate",
83
-
customer_id="your-customer-id",
84
-
customer_secret="your-customer-secret",
85
-
)
86
-
```
51
+
The generated client still supports pre-minted REST tokens and HTTP Basic Auth for legacy integrations. Do not use those modes for new session integrations. Use app credentials so AgentKit can mint short-lived ConvoAI REST auth and RTC join tokens for each session.
0 commit comments