| sidebar_position | 1 |
|---|---|
| title | Installation |
| description | Install the Agora Conversational AI Python SDK. |
- Python >= 3.8
pip install agora-agentspoetry add agora-agentsfrom agora_agent import Agent, Agora, Area, DeepgramSTT, OpenAIThe package installs as agora-agents and imports as agora_agent.
The SDK supports both synchronous and asynchronous usage:
- Synchronous — import
Agorafromagora_agentand use blocking method calls - Asynchronous — import
AsyncAgoraandAsyncAgentSessionfromagora_agentand useawaitwith all API calls
# Sync
from agora_agent import Agora, Area
# Async
from agora_agent import AsyncAgora, AsyncAgentSession, Area| Package | Purpose |
|---|---|
httpx (>= 0.21.2) |
HTTP client for sync and async requests |
pydantic (>= 1.9.2) |
Data validation for vendor configuration and API types |
typing_extensions (>= 4.0.0) |
Backported type hints for Python 3.8+ |
- Authentication — configure your credentials
- Quick Start — build your first conversational agent
The PyPI distribution was renamed from agora-agent-server-sdk to agora-agents in v2.0.0. Install agora-agents; the import path remains agora_agent.
The legacy PyPI name remains available as a compatibility shim that re-exports agora-agents. See compat/agora-agent-server-sdk.
For release and version details, see changelog — Migration notes.