Repository navigation
tring 0.4.0
The platform release: tring goes from voice-agent library to the open-source platform you build voice agents in.
Studio
- Flow builder: draw conversation flows on a canvas (say / ask / branch / tool / handoff / end), compile them server-side into an agent with numbered, transition-explicit instructions. Compiles are idempotent and the graph round-trips losslessly in the spec's metadata. Precise, node-addressed errors.
- Session replay: every studio session persists as an event stream; scrub through past calls in the same panels used live, costs and tool cards included.
- Microphone testing: hold-to-talk from the browser (AudioWorklet, 16 kHz uplink), with honest degraded states when a mic or STT slot is unavailable.
Core
- Eval harness:
python -m tring.eval evals/runs YAML conversation tests (expected tools, arguments, replies, latency) plus optional LLM judges; CI-ready exit codes. - Outbound campaigns: concurrency-bounded dialing with retries, quiet hours, Twilio answering-machine detection, and a live cost-per-outcome ladder computed from real campaign counts.
- Observability: OpenTelemetry span export, per-turn latency waterfalls, and a prompt-cache regression alarm.
- Telephony: FreeSWITCH dialplan generator for generic SIP, DTMF events, transfer-to-human tool.
- S2S: Gemini Live adapter; hybrid v2 downgrades mid-call from S2S to cascade with context carried over.
- Knowledge: retrieval providers (local BM25, Chroma, Qdrant) with speculative prefetch that searches while the caller is still talking.
505 tests. Live-verified: 10/10 vendor probes, and the flow builder + replay driven end to end in a real browser.