UNPKG

@ponderai/web

Version:

Ponder Web SDK – easiest way to build voice AI agents for the web

40 lines (24 loc) 1.27 kB
# Ponder Web SDK Add ultra‑realistic voice agents to any website with **Ponder**. Ponder lets users talk with your application just like they would with a human. In one line of code, add ultra-realistic voice assistants that can interact with your UI and assist users in getting things done. --- ## ✨ Features - **One‑line provider** enable voice assistance on any page, plug and play ponder componenet, or build your own UI using the API - **Bring‑your‑own actions** expose any javascript function to the assistant - **Bring‑your‑own model** choose amongst all the popular llms or bring your own - **Real‑time VAD** built‑in voice activity detection, interruptions and streaming audio - **Natural speech playback** assistant responses are spoken in near real‑time (~500ms with gpt-4o) --- ## Installation ```bash npm install @ponderai/web ``` --- ## Quick Start First create an assistant on https://useponder.ai - pick a voice, model and provide base instructions that govern the knowledge and behaviour of the assistant. Then: ```javascript import Ponder from "@ponderai/web"; const ponder = new Ponder({assistantId: "my-assistant-id", host: "https://api.useponder.ai"}) ``` Checkout docs at docs.useponder.ai