Dev48
Language
  • About
  • Services
  • Industries
  • Technologies
  • Articles
  • Contacts
Book a call
    Home/Articles/Introducing plivo cli for voice agents
Dev48

© 2026 · All rights reserved.

Introducing Plivo CLI for voice agents

Источник: Plivo

Introducing Plivo CLI for voice agents

Source: Plivo

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.

September 29, 2026•Updated: September 29, 2026

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

More in Telecom & Networks

All →
SpaceX prepares to send Starship rocket to orbit for first timeПресса
SpaceX

SpaceX prepares to send Starship rocket to orbit for first time

Un compromiso renovado para el Mercado Único
Telefónica

Un compromiso renovado para el Mercado Único

Verizon offers new Motorola foldable phones
Verizon

Verizon offers new Motorola foldable phones

Sanitize and Validate Phone Numbers for e-commerce
Vonage API Platform

Sanitize and Validate Phone Numbers for e-commerce

¿Por qué el liderazgo es estratégico para la evolución de la Gestión Administrativa Avanzada?
Telefónica

¿Por qué el liderazgo es estratégico para la evolución de la Gestión Administrativa Avanzada?

Press Releases
SES

Press Releases

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