Developers

Ship a voice agent from your terminal.

A REST API for agents, conversations, knowledge and simulations, with a reference server you can run locally today. Realtime audio streaming and SDK packages are in development.

Quickstart

Three calls to a working agent

Run the reference APInpm run api starts it on port 7802 with a seeded demo organisation (see the repository README).
Create an agent from a templatehealthcare, banking, ecommerce or generic.
Converse in text modeEach turn returns the reply, entities, tool calls and trace.
# 1. Sign in to the reference API (server/ in this repository)
curl -s -X POST http://localhost:7802/v1/auth/login \
  -H 'content-type: application/json' \
  -d '{"email":"owner@demo.syvix.test","password":"<from server/README>"}'

# 2. Create an agent from the healthcare template
curl -s -X POST http://localhost:7802/v1/agents \
  -H "authorization: Bearer $TOKEN" -H 'content-type: application/json' \
  -d '{"name":"Clinic front desk","template":"healthcare","languages":["en-IN","hi-en"]}'

# 3. Run a text-mode conversation turn
curl -s -X POST http://localhost:7802/v1/agents/$AGENT_ID/converse \
  -H "authorization: Bearer $TOKEN" -H 'content-type: application/json' \
  -d '{"session":null,"input":"Mujhe Dr. Kavya Rao ke saath appointment chahiye"}'
Concepts

The building blocks

Agents and versions

In development

A versioned spec: template, languages, voice, greeting, instructions, tools, escalation. Publish promotes a version to live.

Tools with conditions

Live demo

Each tool declares preconditions and a postcondition; the orchestrator verifies before the agent confirms.

Simulations

In development

Run scenarios with assertions from CI and block a publish on regressions.

Webhooks

In development

Signed events for calls, actions and handoffs.

Realtime audio

Planned

WebSocket session for bring-your-own-audio applications.

Provider interfaces

In development

SpeechRecognizer, SpeechSynthesizer and ReasoningProvider — mock today, Riva and NIM adapters documented.

Webhooks

Event types

Payloads are JSON, signed with HMAC-SHA256 in the x-syvix-signature header. Delivery is in development.

EventWhenPayload
call.startedA call or session began{ "callId", "agentId", "channel", "startedAt" }
call.endedA call ended{ "callId", "outcome", "durationSec", "summary" }
action.completedA tool call passed its postcondition{ "callId", "tool", "argsHash", "result" }
action.failedA tool call errored or failed its postcondition{ "callId", "tool", "error", "retrying" }
handoff.requestedThe agent requested a human{ "callId", "reason", "summary", "target" }

Building something on SYVIX?

Tell us about your use case — we’re prioritising SDKs and connectors by what developers need first.