Skip to navigation

Build with Bakbak

Let a coding assistant add Bakbak to your app, using the documentation, resources and prompts built into the server.
View as Markdown

Ask your coding assistant to integrate Bakbak and it reads the documentation through read_docs and search_docs before it writes code. It gets the SDK methods, the audio format your platform needs and the error handling right, and takes real voice ids from list_voices instead of inventing them. The pages ship inside the server, so they match its release, need no network and use no credits.

  • “Add Bakbak TTS to my LiveKit agent, in Hindi.”
  • “Our Twilio voice bot uses another TTS; switch it to Bakbak and handle barge-in.”
  • “Stream Bakbak audio to the browser from my Next.js app without exposing the key.”
  • “Write a Go function that streams Bakbak audio over SSE.”
  • “Why does my Bakbak audio sound like static?”

Documentation pages

The documentation covers:

PageWhat it covers
start-hereWhich SDK, plugin or API fits each platform, and the facts every integration needs
best-practicesText, voices, transports, latency, formats, retries, concurrency, billing, security
livekitLiveKit Agents with livekit-plugins-bakbak
pipecatA Pipecat TTS service on the Python SDK
telephonyTwilio, Plivo, Exotel, Vonage and SIP: formats, playing and clearing audio
voice-agentsYour own speech-to-text → LLM → speech loop, with barge-in
webBrowsers, Next.js, FastAPI, serverless and mobile apps
long-formText over 5,000 characters, batch jobs and caching
raw-apiHTTP, SSE and WebSocket from any language, with a Go client
troubleshootingSymptoms, causes and fixes
python-sdk, javascript-sdk, livekit-plugin, examples/…The SDK and plugin references and their runnable examples
websocket-api, errors, output-formats, client-behaviorThe API references and the client contract

Every page is also an MCP resource, bakbak://docs/<page>, for clients that let you attach resources (in Claude Code, type @bakbak:).

Prompts

The server also offers three prompts. In Claude Code they are slash commands, for example /mcp__bakbak__integrate_bakbak twilio:

PromptWhat it does
integrate_bakbakAdds Bakbak to the open project for a platform you name (optional): reads the right guide, picks a voice, writes the code
review_bakbak_integrationReviews the project’s Bakbak code against the best practices
choose_voiceLists voices for a language, lets you hear a few, and gives the voice_id and model to use