Skip to content
项目

关于

The One Dashboard every Voice Agent needs

网站与应用开发

这些数字如何统计

可以做什么

  • Call inspection: transcript, turns, LiveKit events, the agent's spans and reported usage, in one drawer. Opt-in recordings play beside the transcript.
  • Turn diagnosis: speech to text, turn detection, model first token, tools and voice first audio on the turn's own clock. Overlapping stages are shown as overlapping, never added up.
  • Issues: problems found on many calls become one issue, with the calls as evidence. Resolve, ignore, tag or archive them; a resolved issue that comes back shows as regressed.
  • Every LiveKit layer: media server rooms and participants, SIP trunks and call legs, egress and ingress jobs, and agent workers with jobs, load, CPU and memory.

实测星标增长

24小时
0
7天
0
15天
+1
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

VoiceGateway

Find how many calls your voice agent carries before it starts to fail.

The open-source capacity test and call profiler for LiveKit voice agents.

Capacity test

A real capacity report for the agent demo-runner on one c7i.xlarge server: 16 calls at once with every call answered, refused past that; 7 servers like it for 100 calls at once; a chart of calls carried with median and p95 answer time per step.

One command places real test calls at your LiveKit agent, 1, 2, 4 and up to --max at once, 60 s per step, until it refuses, drops or slows down. You get the number it carries, why it stopped, and a report you can send to your team:

export LIVEKIT_API_KEY=... LIVEKIT_API_SECRET=...
go run ./cmd/voicegateway capacity --livekit-url wss://your-project.livekit.cloud --agent my-agent --max 32

Run it from a clone with Go 1.26; no database or console is needed. The Docker image carries the command from the release after 1.0.0-preview.11. It writes capacity-report.html, capacity-report.md and capacity-report.json to the folder.

A real run. examples/capacity/receptionist-c7i-xlarge is the report above, from a receptionist agent on one AWS c7i.xlarge server (4 vCPU, 8 GB) on 15 Nov 2026: the HTML, Markdown and JSON files and the terminal summary.

What it costs you

Every test call is a real call. It runs your agent's own speech to text, model and voice providers, and they bill you for it. A run to --max 32 places up to 32 calls, kept up as each step adds more, for about 63 call-minutes in all, plus the steps it re-tests between the last pass and the first fail. VoiceGateway adds no charge. The command explains this and asks before it places a call, unless you pass --yes.

Limits

  • LiveKit agents over WebRTC only. Phone (SIP) callers are not tested.
  • The agent must be idle: the test stops if a real call reaches it. Run it against a staging deployment.
  • Not measured: the agent servers' CPU and memory, time per stage (speech to text, model, voice) and answer quality.
  • Capacity tests are off on VoiceGateway Cloud. Run the command, or a self-hosted install.
  • The machine running the test must keep up. Its CPU is in the report, and a busy tester ends the run as inconclusive.

Profile every call

Opening a captured LiveKit call in the VoiceGateway console: the call list, the call's transcript and recording, then the diagnosis of each turn with speech-to-text, turn detection, model and voice timings.

VoiceGateway profiles LiveKit voice calls from the phone line to the model. Every call gets one view: the transcript and recording, each turn's timings, the agent's spans, and the media server, SIP, egress and agent workers around it. You see where a call slowed down or went wrong, and which layer did it.

[!NOTE] V1 preview. Self-host the Go backend and console against your own LiveKit project today. Alert delivery is still being built (roadmap). VoiceGateway Cloud, the same product hosted, opens at voicegateway.dev.

Features

The console Overview: median answer time on a gauge, every turn against the response budget, and the Live wire from callers through the phone bridge and media server to the agent and its models.
  • Call inspection: transcript, turns, LiveKit events, the agent's spans and reported usage, in one drawer. Opt-in recordings play beside the transcript.
  • Turn diagnosis: speech to text, turn detection, model first token, tools and voice first audio on the turn's own clock. Overlapping stages are shown as overlapping, never added up.
  • Issues: problems found on many calls become one issue, with the calls as evidence. Resolve, ignore, tag or archive them; a resolved issue that comes back shows as regressed.
  • Every LiveKit layer: media server rooms and participants, SIP trunks and call legs, egress and ingress jobs, and agent workers with jobs, load, CPU and memory.
  • Live: a project-scoped feed pushed from the worker, with stale and disconnected sources marked as such.
  • For your team and tools: organisations, roles and invites, Google, GitHub or Auth0 sign-in, project API keys, an MCP server for coding agents, signed embeds for your own pages, and a Python SDK for custom call fields.
  • Alerts: seven rules preview on your real calls today; delivery by email and webhook is next.

Unreported measurements stay unknown, never zero. Traces, usage and recordings appear only when the agent sends them.

How it fits

V1 observation boundary: phone/SIP connects through the LiveKit media server to a voice agent and its models. Webhooks, metrics, spans and session uploads reach VoiceGateway outside the audio path.

VoiceGateway stays outside the audio path. The V1 platform joins LiveKit webhooks, server metrics, agent spans and session uploads into one call view. If the profiler is unavailable, the agent's call must carry on. See the architecture and capture design.

Components

VoiceGateway components. LiveKit sends webhooks and metrics, and voice agents send spans and session uploads, to web. The dashboard and MCP read through web's API. web appends to a Redis stream and reads Postgres; worker consumes the stream and writes batches to ClickHouse. An S3 bucket holds opt-in recordings.

One Go binary runs as web (checks keys, takes data in, serves the API and dashboard) and worker (joins events into calls, writes to ClickHouse). A Redis stream is their only link. Postgres holds projects and keys, ClickHouse everything measured, and your own S3 bucket any recordings. make up starts all six. See ARCHITECTURE.md.

Quickstart

Self-host with Docker, git and make. The installer clones the release, starts the six services and runs the preflight checks:

curl -fsSL https://voicegateway.dev/install.sh | bash
cd voicegateway
make user-add [email protected]
make project-add NAME="Production"   # with LIVEKIT_URL, LIVEKIT_API_KEY and LIVEKIT_API_SECRET set

Sign in at localhost:8080. The Connect your agent panel gives the one variable your agent needs, LIVEKIT_OBSERVABILITY_URL, and the webhook URL for LiveKit. Start the agent session with record=True and place a call. Read the self-hosting guide or try the example agent.

Look around without LiveKit

Run the console on captured LiveKit sessions with Node.js 24 and npm:

git clone https://github.com/mahimailabs/voicegateway.git
cd voicegateway
npm --prefix dashboard ci
make dev

Open localhost:5180, choose Calls and open a call.

Inspect a real turn

Diagnosis of a captured call: five turns in 4 minutes 57 seconds, every measured answer over the 1.5 second budget. Turn 2 answers in 3.04 seconds, with a 668 millisecond end-of-turn delay, 685 milliseconds to the model's first token and 1.38 seconds to the voice's first audio.

In this captured call, the caller asks for the status of order 1042. Every measured answer is over the 1.5 s budget, and turn 2 is the slowest at 3.04 s. Its breakdown shows where the time went: 1.38 s to the voice's first audio, against 685 ms to the model's first token and a 668 ms end-of-turn delay. That makes the next step specific: the text-to-speech provider before the prompt.

Read the console docs

Upgrading from the API token

VOICEGATEWAY_API_TOKEN is gone. Create a key per project with voicegateway key create --org <org> --project <project> --name <name> (or in Settings, Access, API keys), send it as Authorization: Bearer <key>, then delete the variable.

The road to V1

V1 is 32 of 39 tasks done; the roadmap issue lists each one and what is left.

  • Self-hosted: runs on your infrastructure today as a preview. Follow Self-hosting.
  • VoiceGateway Cloud: the same product hosted, with self-serve sign-up and checkout. Follow voicegateway.dev.
  • Next: alert evaluation and delivery, more alert channels and a 1,000-call load test.

Current progress · Product scope · Decisions

Contribute

Pick an open issue, agree on scope and open a focused PR against main. Start with CONTRIBUTING.md.

From the repository root:

make test
make lint

These run the Go tests (container tests need Docker) and lint, plus the dashboard tests, lint and TypeScript checks. make up starts the six-service stack.

Community and security

Discord · Report a bug · Contributor code of conduct

Please report vulnerabilities privately using SECURITY.md.

License

Free to self-host. Code outside ee/ uses the MIT license; code inside it uses the Enterprise license. VoiceGateway Cloud hosts the same product. Read the boundary.

Sponsors

Sponsored by GitAds

探索相关项目

加载中…