OneSay JavaScript SDK on GitHub (opens in a new tab)
Task Voice, Realtime RTC and Agents in the browser, in TypeScript.
- TypeScript
git clone https://github.com/OneSay-AI/onesay-js-sdk.gitQuickstarts, SDK reference and the MCP server for OneSay Cloud. Pick a path below and have an agent talking in a few minutes.
Preview: features and APIs may change.
From sign-up to a working call.
Talk to an AI voice agent on OneSay Cloud’s Voice Call test page in a few minutes, then run the same conversation in code with the JavaScript SDK. Includes limits and common errors.
Send audio and receive a Task result over the OneSay Realtime WebSocket, then Realtime RTC with publications, subscriptions and explicit Agents.
Use Task voice from an ESP-IDF application and get started with the Realtime RTC component. Build and flash included; credentials are a separate guide.
Let a board start a call under its owner’s standing Delegation. Covers the request, the HTTP 202 answer, refusal cases and what a call costs.
Complete agents to read, run and copy.
A demo agent that keeps your day: reminders, plans and quick answers.
Guests order at the table in their own language. The kitchen gets one ticket.
Taken by voice, 3 languages
Entry points, states and capabilities.
Supported environments, Task and RTC entry points, session states and declared capabilities.
The component, Task and RTC entry points, and declared capabilities with their limits.
The SDK for iPhone and iPad apps.
Let an AI client work with your account.
The OneSay MCP server for AI clients: sign-in, tools, resources and prompts. Every tool calls the public Control API, so your account’s permissions still decide.
Read the code, open an issue or send a pull request.
Task Voice, Realtime RTC and Agents in the browser, in TypeScript.
git clone https://github.com/OneSay-AI/onesay-js-sdk.gitTask Voice, Realtime RTC and Agent calls on ESP32-S3 boards, Mosaico included.
git clone https://github.com/OneSay-AI/onesay-esp32-sdk.git