Skip to main content

pipecat-akapulu

Pipecat processor for an Akapulu Labs talking avatar. Maintained by Akapulu Labs.

The AkapuluAvatar Pipecat plugin sits after your speech model. It sends assistant audio to the Akapulu Labs worker. The Akapulu Labs worker joins the Daily room already stored on the session and publishes the face and the played audio. It does not publish either.

Tested with Pipecat 1.14.0. Requires Pipecat 1.12.0 or newer.

Install

uv add pipecat-akapulu

Use

Create the Daily room yourself, then POST /api/live-sessions/ from your server with your Akapulu Labs API key before the bot starts. The body is avatar_id, show_ai_label, room_url, and avatar_token. The response is session_id.

from pipecat_akapulu import AkapuluAvatar

avatar = AkapuluAvatar(session_id=session_id)

The sample rate is the pipeline audio-out rate (PipelineParams.audio_out_sample_rate). It must be a positive multiple of 25 and must match the assistant audio frames.

Leave transport audio out and video out off. The Akapulu Labs worker is the Daily publisher for the face and the played audio.

The AkapuluAvatar Pipecat plugin connects to the Akapulu Labs worker in the background. When the pipeline starts, it forwards StartFrame right away so your voice bot keeps moving. It does not wait for the first face frame.

While the Akapulu Labs worker boots, the plugin pushes RTVI server messages into your voice-bot pipeline. Each message body has type status and these fields:

  • call_is_ready: whether the Akapulu Labs worker has published the first frame
  • completion_percent: how far startup has gotten (0 to 100)
  • latest_update_text: the latest human-readable startup line

Those are not Daily audio or video tracks. With RTVI on the call (for example @pipecat-ai/client-js in the browser), they arrive on the client as RTVI ServerMessage events over that same Daily connection. Use them for a loading spinner, percent, and copy. Keep the loading UI up until call_is_ready is true.

Example

examples/foundational.py creates a private Daily room, mints the browser, voice-bot, and Akapulu Labs worker tokens, then calls the Akapulu Labs API (POST /api/live-sessions/ with your Bearer API key). Deepgram Flux (flux-general-multi) hears the caller. OpenAI gpt-5.4-mini speaks, with reasoning off. Cartesia Sonic 3.6 speaks each finished sentence, using the Ariana voice. AkapuluAvatar sits after that audio. It prints a join URL. Open that URL. The bot greets when you join, and it listens only to that browser microphone. The first committed turn locks that language on Flux and on Sonic.

The example uses Clara, leaves This is AI off, and calls the Akapulu Labs production API.

The same voice stack, a local server, and a browser page are in akapulu-examples.

uv add "pipecat-ai[daily,deepgram,openai,cartesia]==1.14.0" pipecat-akapulu

Set DAILY_API_KEY and AKAPULU_API_KEY. Also set DEEPGRAM_API_KEY, OPENAI_API_KEY, and CARTESIA_API_KEY. Then:

python examples/foundational.py

Metadata

Release files for pipecat-akapulu 0.1.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pipecat-akapulu 0.1.7
File Size Uploaded Provenance Actions
pipecat_akapulu-0.1.7.tar.gz 22.8 kB Without provenance Details for pipecat_akapulu-0.1.7.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pipecat-akapulu 0.1.7
File Interpreter ABI Platform Actions
pipecat_akapulu-0.1.7-py3-none-any.whl Python 3 none any Details for pipecat_akapulu-0.1.7-py3-none-any.whl

Total release size: 33.9 kB

Release files / pipecat_akapulu-0.1.7.tar.gz

Download URL pipecat_akapulu-0.1.7.tar.gz
Size 22.8 kB
Tags Source
SHA-256 checksum
How to use checksums
f2e83865fca891455bf96ce4ae436f27c1a58b425324492f3e18801bd80210ed
BLAKE2b-256 checksum
How to use checksums
c4a6c335f7b3988214da4bbcd6d39ed4a1c8fbf259cb9392a51d7ebd9c9c3a01
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Release files / pipecat_akapulu-0.1.7-py3-none-any.whl

Download URL pipecat_akapulu-0.1.7-py3-none-any.whl
Size 11.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b1a50a9eb38af4ac33d16e5a45cbe67996e8fdae9d17c3babfee9e24632b7f71
BLAKE2b-256 checksum
How to use checksums
9f3ba3d82a9ba6613949e2496d33bc6a3d913a05dccd1fc532571ddac3efd0b7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Security for pipecat-akapulu 0.1.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page