AI support voice agent: answer, look up, resolve, escalate
An AI agent answers your support line, looks up accounts in your system, resolves routine calls and escalates the rest with a summary. KES 4.00 a minute.
UPDATED
AI voice agentAI agentsCustomer support
Start with a Kenyan number for KES 500 a month
Incoming calls are free and outgoing calls are KES 3.00 a minute, billed per second. Top up by M-Pesa or card.
A Sautikit AI support agent answers your support line, looks up the caller's account in your own system, resolves the routine calls and passes the rest to your team with a summary of what the caller already said. It costs KES 4.00 a minute, metered per second, and incoming calls are free.
It is built for internet providers, lenders, SACCOs, shops and utilities where most calls are a balance check, an outage question, a payment confirmation or a plan change.
The caller dials your support number and the agent answers straight away, with no queue.
The caller explains the problem in their own words.
The agent asks for an account number or the phone number on the account, and looks the account up in your system.
The agent answers from live data: "Your payment of 2,500 shillings arrived at 10:42 this morning and your connection is active until the 30th."
If the caller disputes a charge, asks for a person or needs something the agent is not allowed to do, the agent hands the call to your team with a summary.
const api = "https://api.sautikit.com/v1";const headers = { Authorization: `Bearer ${process.env.SAUTIKIT_API_KEY}`, "Content-Type": "application/json",};const agent = await fetch(`${api}/agents`, { method: "POST", headers, body: JSON.stringify({ name: "Support line", base_prompt: "You are the support agent for a home internet provider. Help callers with " + "payment status, outages and plan questions. Always look the account up " + "before you answer an account question. If the caller disputes a charge or " + "asks for a person, hand over.", model: "sautikit-flash", max_call_minutes: 10, }),}).then((r) => r.json());// agent.tool_signing_secret is returned here once. Store it.
A tool is an HTTP endpoint on your side. You describe its inputs, and the agent decides when to call it and fills in the values from the conversation.
await fetch(`${api}/agents/${agent.id}/tools/${crypto.randomUUID()}`, { method: "PUT", headers, body: JSON.stringify({ name: "lookup_account", description: "Fetch an account's plan, balance, last payment and any outage in its area.", url: "https://api.example.com/agent/accounts/lookup", method: "POST", parameters: { type: "object", properties: { account_number: { type: "string", description: "For example HN-20481" }, phone: { type: "string", description: "Phone number on the account" }, }, }, timeout_ms: 5000, }),});
Whatever JSON your endpoint returns goes back into the conversation, and the agent answers the caller in plain language. Each request is signed with the agent's signing secret in the X-Sautikit-Signature header, so your endpoint can refuse anything that did not come from your agent. Add more tools the same way to open a ticket, log a fault or change a plan.
mode: "always" puts the agent on every call. mode: "after_hours" with a schedule keeps your team on the line during working hours and the agent on nights and weekends. The routing guide shows both.
When the agent hands over, Sautikit POSTs the reason and a summary to your handover_callback_url:
{ "sessionId": "HD_a1b2c3d4-e5f6-7890-abcd-ef1234567890", "callerNumber": "+254720000000", "status": "CallHandover", "handover": { "agent_id": "9d2b1f53-8c0e-4f1d-9a6b-5d3a8c47e9f0", "agent_name": "Support line", "reason": "caller disputes a charge", "summary": "Account HN-20481. Caller was charged twice on 3 November. Both payments show on the account. Caller wants one refunded." }}
Reply with voice actions. A dial rings one person, and a queue places the caller in your support queue:
{ "actions": [ { "say": { "text": "Let me get a member of the team on the line." } }, { "dial": { "number": "+254720000009", "timeout": 30 } } ]}
The person who picks up has the account number, the facts and the request in front of them.
Listen while it talks. A caller who interrupts is heard, and the agent adjusts.
Pass the caller to a specialist agent on the same call, for example from general support to billing.
End the call when the caller is done.
Stay within a limit.max_call_minutes caps every call, 15 minutes by default.
Fall back safely. If no AI seat is free, the call follows the number's normal routing and the caller never hears an error.
Every call is recorded. GET /v1/calls/{id}?transcript=1 returns the transcript with each tool call and its inputs, so you can check exactly what the agent looked up and said.
If you want your own model to run the conversation, return a stream action from the number's voice callback. Sautikit sends the live call audio to your WebSocket and plays back the audio you send.
Set true to hold the call open for as long as the stream runs. Without it the call ends after about a second.
outputSamplingRate
8000 or 16000. Use 16000 for AI models. This is the rate sent to your socket.
bidirectionalSamplingRate
The rate of the audio you send back. Set it whenever you play audio into the call.
statusCallback, statusEvents
Where Sautikit POSTs stream-started, stream-stopped and stream-error.
Your WebSocket server must accept the audio.drachtio.org subprotocol. It receives 16-bit PCM frames and sends PCM back on the same socket. Streaming costs KES 0.50 a minute on top of the call rate, and your model provider bills you for the model. The full field list is in the voice actions reference.