Local Development Setup
Before you start coding, ensure that you’ve completed the Quickstart guide. You’ll need:- Your API key from playground.aivoco.com
- An Agent ID created using the Create Agent endpoint
- Access to the WebSocket URL to connect your speech agent
WebSocket Connection
The ROSE model communicates in real time over WebSocket. To connect your application:Agent Lifecycle
You can manage your voice agents through the REST API. Common operations include:| Action | Endpoint |
|---|---|
| Create Agent | POST /agents |
| Get Agent | GET /agents/{id} |
| Update Agent | PUT /agents/{id} |
| Delete Agent | DELETE /agents/{id} |
Connecting with Telephony
To use your agent for voice calls, connect the WebSocket endpoint to your telephony provider. We provide an example integration with Twilio in Outbound Telephony Integration, but you can use any telephony system that supports audio streaming. If your preferred provider is not listed, you can reach out at 📧 [email protected] for custom integration support.Testing and Debugging
Testing locally
Testing locally
You can test your agents using the ROSE WebSocket without deploying to production.
Simply connect using your API key and agent ID from the playground.
Simply connect using your API key and agent ID from the playground.
Audio debugging
Audio debugging
Record incoming and outgoing audio locally to verify audio stream quality.
Use tools like
Use tools like
ffmpeg or sox to capture and inspect audio packets.Inspecting responses
Inspecting responses
The WebSocket will send both audio and transcript events.
Log all message events in your client for better observability.
Log all message events in your client for better observability.
Retrieving Transcriptions
After your calls are completed, you can retrieve full conversation transcripts using theGET /transcriptions/{call_id} endpoint.
This allows you to analyze and store the conversation context for your business logic or analytics layer.
Next Steps
- Build and deploy your own ROSE voice agent
- Connect with your telephony or VoIP system
- Retrieve and analyze transcripts
- Launch your AI-powered conversations
© 2025 AIVOCO | ROSE — Real-Time Speech-to-Speech Intelligence