Dev48
Language
  • About
  • Services
  • Industries
  • Technologies
  • Articles
  • Contacts
Book a call
    Home/Articles/Introducing plivo cli for voice agents
Dev48
info@dev48.org+375 29 320-40-96WhatsApp@isky_by

© 2026 · All rights reserved.

Introducing Plivo CLI for voice agents

Source: Plivo•September 29, 2026 at 11:12 AM

Introducing Plivo CLI for voice agents

Your agent handles the conversation. The phone call is where it breaks. Connect it over Audio Streaming or SIP trunking, check the integration before you dial, and find out what really happened when a call fails.

Getting a voice agent onto a phone call is the part that pulls you out of your editor. You configure the connection in one console tab and attach a number in another. Then a call fails, you get a hangup code, and you guess.

Today we are releasing Plivo CLI, a command line interface to the Plivo APIs, built for developers shipping voice agents and for the coding agents working alongside them.

There are two common ways to put a voice agent on the phone network, and the CLI covers both:

  • Audio Streaming: Your agent speaks WebSocket. Plivo streams the call’s audio to it and, on a bidirectional stream, plays back the audio it sends.
  • SIP trunking: Your agent speaks SIP. Plivo routes calls to it over a trunk.

Either way you keep the stack you already have and use Plivo for the connection to real calls.

Install and log in

One binary, no runtime. macOS, Linux and Windows, with Scoop and shell installers in the installation guide. Login happens in your browser, so your password never touches the CLI.

Stream call audio to your agent

Test your WebSocket connection before attaching a phone number, then take real calls on your local agent.

  • Test: plivo voice streams test sends Plivo-format audio and counts replies. A live call still checks whether the returned audio plays correctly.
  • Forward: plivo voice streams forward tunnels inbound call audio to your laptop, with no tunnel account needed. Use a test application.

Start with the Pipecat guide.

Connect your agent over SIP

Manage the Plivo side of your SIP connection from the terminal:

  • Connect: Create trunks, manage authentication and attach phone numbers with plivo sip and plivo numbers.
  • Inspect: Read SIP call records for hangup causes and transport details when a call fails.

Configure routing to your agent on the platform too. The LiveKit setup guide covers both sides.

Get answers without leaving the terminal

Use plivo ask for questions about building with Plivo. For an Audio Streaming or other Voice API call, diagnose explains what happened, the likely cause and what to change.

For SIP calls, inspect the call record with plivo sip calls get.

Give your coding agent the context

Bundled skills teach your coding agent how to use the CLI, Audio Streaming, SIP trunking and Voice XML. They install locally with no network call.

The CLI also supports JSON output for API commands, --dry-run previews and explicit confirmation for commands that spend money.

Get started

Choose WebSocket or SIP trunking, then use the CLI to connect your agent.

Plivo CLI is open source under Apache 2.0. Tell us how it goes with plivo feedback, or file an issue on the repository.

Team Plivo

Plivo Blog

← All articles

What this article says

More in Telecom & Networks

All →
Gemini 4 Hydrogen vs 3.8 Flash in a voice agent with broken tools
LiveKit

Gemini 4 Hydrogen vs 3.8 Flash in a voice agent with broken tools

WiFi 8 : exploitez toute la puissance de votre fibre pour le streaming et le gaming
TP-Link

WiFi 8 : exploitez toute la puissance de votre fibre pour le streaming et le gaming

Call Recording Redaction Now Available for Voice API and TeXML
Telnyx

Call Recording Redaction Now Available for Voice API and TeXML

How Tuzla engineers keep billions of emails moving
Infobip

How Tuzla engineers keep billions of emails moving

Nokia strengthens partnership with Aalto University with €1.5 million donation and expanded R&D collaboration for future technology research and talent
Nokia

Nokia strengthens partnership with Aalto University with €1.5 million donation and expanded R&D collaboration for future technology research and talent

Beyond Connectivity: Exploring the Quantum Front with EPB Quantum Lab
Amdocs

Beyond Connectivity: Exploring the Quantum Front with EPB Quantum Lab

More from Plivo

Best WhatsApp API Platforms for Ecommerce & D2C Brands in 2026
Plivo

Best WhatsApp API Platforms for Ecommerce & D2C Brands in 2026

Best AI Tools for Post-Purchase Upsell & Retention in 2026
Plivo

Best AI Tools for Post-Purchase Upsell & Retention in 2026

8 AI Tools for Ecommerce Returns & Refund Call Automation
Plivo

8 AI Tools for Ecommerce Returns & Refund Call Automation

8 Best AI Tools for Abandoned Cart Recovery via Calls & Messaging (2026)
Plivo

8 Best AI Tools for Abandoned Cart Recovery via Calls & Messaging (2026)

Best AI Tools for COD Confirmation Calls & RTO Reduction in 2026
Plivo

Best AI Tools for COD Confirmation Calls & RTO Reduction in 2026