AI Sidecar added to SWML
Attach an AI observer to a live call with the
ai_sidecar SWML method. The sidecar listens to
both sides, evaluates the conversation after each customer turn, and sends agent-facing output
to your application as webhook callbacks. It never speaks on the call.
- Define what to watch for with
prompt, and set which leg is the customer withcustomer_role. - Output arrives as webhook events, including
insight,turn,tool_call, andfinal. - Tool calling through SWAIG functions and MCP servers lets the sidecar act on your systems mid-call.
Use it for live agent coaching, compliance flags, supervisor alerts, or CRM triggers.
ai_sidecar and live_transcribe can’t run on the same call.