Voice Agent Quickstart: Build in 10 Minutes with Orga SDK (Copy-Paste Code)
Feb 10, 2026
Prerequisites
Before getting started, make sure you have:
An active account in the Orga AI Dashboard.
Your personal API Key.
Node.js installed in your development environment.
Step 1: Installing the SDK
The Orga SDK is the primary tool for interacting with our multimodal agents. You can add it to your JavaScript or TypeScript project using your preferred package manager:
Bash
Step 2: Agent and Client Configuration
To initiate communication, you first need to configure the client with your API Key and define the agent’s parameters, such as the model and system instructions.
JavaScript
Step 3: Managing Audio and Video Events
The Orga SDK operates asynchronously, emitting events based on the conversation's state. For a seamless integration, it is essential to set up listeners for these key events:
onConnect: Confirmation that the WebSocket tunnel is successfully open.
onSpeechStarted: Triggered when the agent detects the user has started speaking.
onSpeechFinished: Indicates that the agent's response has ended.
JavaScript
Step 4: Secure Session Termination
To optimize resource usage and token consumption, always ensure the connection is closed once the interaction ends:
JavaScript
Conclusion
By leveraging the Orga SDK abstraction layer, there is no need to configure separate audio servers or complex model orchestration systems. With these steps, you now have a functional agent capable of maintaining fluid, real-time dialogues.
Next Steps:
Check the full documentation at docs.orga-ai.com
Need a product demo? Request it here.



