smara.studio
Engine v1.2 Active · 158ms
API Docs

AURA Website Assistant

Live Voice Persona configured for site_id: demo

API Key: sk_live_••••••••2026
Monthly Quota
124 / 500
Minutes used (24.8%)
Conversations
842
↑ 34% this week
Avg Voice Latency
158ms
DirectML iGPU Speed
Tool Actions
319
Page actions & conversions
Quick Embed Snippet
Paste this single tag into your website's HTML header, custom HTML block, or before </body>.
HTML Integration (Webflow, Shopify, WordPress, Framer, React, HTML)
<script src="https://smara.space/embed.js" data-api-key="sk_live_smara2026"></script>
Active Knowledge & Personality
Current persona and website rules running on your avatar.
Persona: You are Muktaa, a warm and confident AI website persona for AURA. You greet visitors by voice, answer product/service questions, and execute page actions live.

Active Knowledge: Products & Services, Booking Consultations, Pricing Plans, Return/Refund Policy, International Support.
Avatar Persona & Tone
Configure who your avatar is, how they speak, and their first greeting.
Knowledge Base & FAQ Studio
Add company info, pricing FAQs, service details, and custom Q&As so your AI persona provides instant, accurate answers for your website.
Enabled Universal Tool Actions
Select dynamic page actions your avatar can execute live on your website (SaaS, Agency, E-Commerce, EdTech, Real Estate).

navigate_page

Scrolls or navigates visitor to specific page/section (Pricing, Features, Docs).

open_contact_modal

Opens contact form, lead booking, or callback form on voice command.

search

Executes site-wide keyword search across pages, blogs & catalog.

change_theme

Toggles dark mode / light mode visually on request.

add_to_cart

Adds matching product or plan tier to shopping cart (for E-Commerce / SaaS).

checkout

Opens cart checkout modal and begins purchase flow.

Resource & Product Catalog
Products, services, courses, or property listings your avatar can recommend, describe, and link to.
Allowed Origin Domains & CORS Protection
Restrict API key and WebSocket streaming calls to authorized domain origins to prevent unauthorized site embeds.

Strict Domain Origin Matching

Automatically close connection with HTTP 403 Forbidden if request Origin does not match allowed list.

IP Bucket Rate Limiting

Limit requests to 60 conversations per minute per client IP address.

Production Ephemeral Session Tokens (Anam AI / HeyGen Architecture)
Generate short-lived client session tokens on your backend server so secret API keys are never exposed in public HTML.
Backend Session Generator Endpoint (Node.js / Express)
app.post('/api/create-avatar-session', async (req, res) => {
  const response = await fetch('https://api.smara.space/v1/sessions', {
    method: 'POST',
    headers: {
      'Authorization': `Bearer ${process.env.SMARA_SECRET_KEY}`,
      'Content-Type': 'application/json'
    },
    body: JSON.stringify({ site_id: 'demo', ttl: 3600 })
  });
  const data = await response.json();
  res.json({ session_token: data.session_token });
});
API Authentication & Keys
Use this secret key to authenticate your widget or direct WebSocket streaming sessions.
Ready-to-Paste HTML Script Tag
<script 
  src="https://smara.space/embed.js" 
  data-api-key="sk_live_smara2026"
  data-position="bottom-right"
  data-theme="dark"
  data-size="64"
  data-accent-color="#FF6200">
</script>
Interactive Avatar Sandbox
Test your avatar persona with its updated knowledge base and tool calls right inside the dashboard.
Open Full Store Demo ↗
https://yourwebsite.com/demo

Simulated Customer Website

Click the floating avatar widget in the corner or use the test panel on the right to speak to your configured persona.

Live Event Inspector

[ready] Simulator listening for avatar events...