What Oshara gives you
A configured AI voice agent that runs on Oshara’s infrastructure. You connect to it through one of two integration paths:
| Path | What you do | Best for |
|---|---|---|
| Widget | Add a one-line <script> tag to your site | Any website that wants a floating “Talk to us” button |
| API | Call REST endpoints from your backend | Native apps, custom UIs, server-issued sessions, agent-filled forms |
Both paths use the same backend at https://api.oshara.ai.
What you can integrate
Widget integration
- Embed the widget on any HTML page — floating voice button, mic, live transcript (Quickstart)
- Brand the widget — colors, logo, FAB label, panel size (Appearance)
API integration
- Start sessions from your backend — inject user context, keep credentials server-side (Sessions)
- Noise cancellation — Krisp or DeepFilterNet3, configured per character or in a custom UI (Noise Cancellation)
- Form handling — define forms, receive submissions at your endpoint, fetch from managed storage (Form Handling)
- Dynamic form control by voice — agent opens, reads, and submits forms in real time over the data channel (Voice Form Control)
- Pre-fill forms via API — defaults, session metadata, conversation context, or direct injection (Form Pre-fill)
- Connect your APIs as agent tools — endpoints the agent can call mid-conversation (Agent Tools)
Architecture
┌─────────────────────────────────────────────────────────────────┐
│ Your website / app │
│ │
│ ┌─────────────────────────────────────────────────────────┐ │
│ │ Oshara Widget (script tag) OR Your custom UI │ │
│ │ • Mic / speaker UI • LiveKit SDK │ │
│ │ • Live transcript • Your form renderer │ │
│ │ • Noise cancellation • Your branding │ │
│ │ • Agent-driven forms │ │
│ └───────────────────────┬─────────────────────────────────┘ │
└──────────────────────────┼──────────────────────────────────────┘
│ WebRTC + Data Channel
▼
┌──────────────────────────────────────────────────┐
│ Oshara backend (https://api.oshara.ai) │
│ • Session tokens • Appearance + form schema │
│ • Form responses • Character management │
└──────────────────────────────────────────────────┘Base URL
https://api.oshara.aiThe widget script is served from:
https://api.oshara.ai/widget.jsWhere to start
- Embedding on a website → Widget integration guide
- Calling from your backend → API Integration Overview
- Building a custom form UI driven by voice → Voice Form Control
Last updated on