Audio Interface
Interface First (Provider-Agnostic)
Hypothetical provider example
import asyncio
from glaip_sdk import Agent
async def main() -> None:
agent = Agent(name="my-agent", instruction="You are a helpful assistant.")
session = agent.create_audio_session(
implementation="my-provider",
config={
"provider": "my-provider",
"io": {"input_enabled": True, "output_enabled": True},
"my_provider": {"endpoint": "...", "token": "..."},
},
)
await session.run()
if __name__ == "__main__":
asyncio.run(main())SDK Usage (Minimum)
Custom implementation wiring (same interface)
Architecture Overview (Interface + Providers)
Current Implementation: LiveKit (Available Now)
Planned Implementation: Attendee / Meemo (TBD)
Provider Model
Turn Sequence (Audio -> STT -> AIP -> TTS)
Tool Call Visibility
Configuration Tips
Limitations
Troubleshooting
Symptom
Likely cause
Fix
Related Documentation
External References
Last updated
Was this helpful?