What you’ll need
- Bolna API key — from platform.bolna.ai -> Developers -> API Keys (
bn-...) - Your local LiveKit Agents repo (Python or TypeScript)
- Optional (only if you use LiveKit SIP trunks):
LIVEKIT_URL,LIVEKIT_API_KEY, andLIVEKIT_API_SECRET
Step-by-step migration
1
Set your Bolna API key
2
Scan your repo (dry run)
Point The scanner reads your
--path at your LiveKit project folder. Nothing is created on Bolna yet:.py, .ts, .js, and .env files to find Agent classes, AgentSession configs (STT/LLM/TTS), on_enter greetings, @function_tool definitions, and multi-agent handoffs.3
Apply the migration
./bolna-migration-out/:tool-webhook-scaffold.ts— starter HTTP server for your local@function_toolhandlerssip-cutover.md— exact Bolna SIP edge IPs and URI to update at your carriersdk-cutover.md— drop-in replacement for LiveKit Client SDK using@bolna/web-call
4
Host your tool functions & test in Bolna
Because Bolna runs your voice pipeline in the cloud, local
@function_tool business logic runs as HTTPS webhooks:- Move your tool logic into
tool-webhook-scaffold.ts(or your existing backend) and deploy it. - Paste the deployed URLs into the Tools tab of your agent in platform.bolna.ai.
- Run a test call in Agent Studio.
Where everything lands in Bolna
Things to handle manually
- Local tool execution: Deploy your
@function_toolbusiness logic behind HTTPS (use the generatedtool-webhook-scaffold.ts). - LiveKit-hosted phone numbers: Cannot be ported out automatically — buy a number on Bolna or connect your carrier via SIP trunk.
- WebRTC video / avatars /
MCPServerHTTP: Flagged in the gap report; Bolna focuses on voice pipelines (use@bolna/web-callfor browser/mobile voice).