
Curb
Open-source TypeScript framework from KugelAudio for building voice agents as React components.

About Curb
Curb: Voice Agents Your Coding Agent Can Build and Improve
Curb is an open-source TypeScript framework for voice agents from KugelAudio, the team behind elbic. You write the agent as React components, so the model only sees the instructions and tools that fit the current state of the call. Coding agents such as Claude Code or Cursor can build, test and improve it from the terminal.
Key Features
Dynamic Prompting in React: The prompt is a React tree that follows your state, with components, state and hooks working as usual.
Conditional Tools: A tool your code does not render is not in the request, so the model cannot call it.
Skills: Each job gets its own instructions and tools, and the model opens it when the call needs it.
Voice Pipeline Included: Speech to text, text to speech, turn-taking and interruptions are built in, on top of LiveKit Agents.
Confirmations and Procedures: The agent asks before a tool runs, and step-by-step procedures reveal one step at a time.
Human Handoff: Transfer the caller to a person, with a fallback when nobody answers.
Conversation Tests: Save a whole call as a scenario and run it with
npx curb test, with no microphone.Swappable Providers: LLM, STT and TTS are props: KugelAudio, Anthropic, OpenAI, Azure, Deepgram, ElevenLabs or Cartesia, plus any MCP server for tools.
Typed Tools: Tools are typed with TypeScript and Zod, and inputs are validated before your code runs.
Use Cases
Phone agents: Receptionists and booking lines that check availability and book or cancel appointments.
Claims and support: Agents that verify a caller before opening a claim or a ticket.
Agent teams: Developers who let a coding agent write, test and fix the voice agent.
Pricing
Open source: Free under the Apache 2.0 license, self-hosted on your own servers with your own LiveKit.
Hosted on KugelAudio: Connect a GitHub repository and every push that passes its checks goes live; switched on per organization on request.
Status: Curb is in pre-release, and its APIs may still change.
Getting Started
Website: https://curbjs.com
GitHub: github.com/Kugelaudio/curb.js
Quickstart:
npm create curb.js(Node.js 22.12 or newer)
Curb lets developers build voice agents as React code that a coding agent can test and improve, then run them on their own servers or on KugelAudio.