Installation
Install agentduet 1.0.0 and
configure connector credentials. Requires Python 3.12+.
Step 1: Install
Or the latest stable release:
Import as agentduet. Core installs only websockets, httpx, and abxbus.
Add the provider SDK your bridge uses (for example google-genai,
openai-agents, or aws-sdk-bedrock-runtime). Integration tutorials list the
exact packages for each model.
Step 2: Verify
Step 3: Credentials
Get an API key and connector UUID at agentduet.com,
then put them in your environment (or a .env next to your script):
API key (typical)
mTLS (production)
Use client certificates instead of an API key. Same SessionManager surface
afterward.
SessionManagerConfig.create(...) accepts either (api_key + connector_uuid)
or (cert_path + key_path). There is no separate sandbox helper.
Optional: VoiceAgent adapters
If you want the high-level VoiceAgent runner
instead of a manual PCM bridge, install
agentduet-adapters for the
provider you call (gemini, grok, qwen, nova-sonic), or
pip install "agentduet[adapters]" to try all of them.
The adapters package is still a pre-release. Installing it by name needs
--pre:
The agentduet[adapters] extra does not, because its requirement already pins
a pre-release version. Prefer the direct agentduet-adapters[...] install for
production: [adapters] pulls every provider’s SDK, so a Gemini-only service
would also ship AWS and Qwen dependencies.
Integrations in this docs set use the direct SDK bridge.
Notes
- Pin
==1.0.0in production until you deliberately upgrade. - Match
CallAudioConfig.sample_rateto your model (often24000for Live / Realtime bridges).
