Skip to main content

dTelecom for Pipecat

Use dTelecom streaming speech in a Pipecat pipeline, or join a dTelecom room with the RTC transport. Speech services accept a dTelecom Cloud client or a single-use speech key with a refresh callback.

Install dtelecom-pipecat for speech services. Install dtelecom-pipecat[rtc] to send audio and application messages in a room. Supply the URL, participant token and ranked fallbacks from your backend. Room credentials and speech credentials have different scopes.

Use DTelecomSTTService and DTelecomTTSService from dtelecom_pipecat, or import DTelecomTransport from dtelecom_pipecat.transport. Each component can be used independently. Recognition expects mono PCM and associates transcripts with the input participant. Synthesis produces 48 kHz mono PCM. Service readiness and partial retirement events carry the original service metadata in SpeechSessionFrame.

The room voice agent uses dTelecom for its room, recognition and voice, and OpenRouter for its LLM. Set the dTelecom Cloud variables and the LLM credentials on the server. The example issues the bot's grant and prints the generated room name. Give a browser participant its own grant for that room through your backend. The example uses the provider's final recognition result to propose a turn end. When using Pipecat's own turn strategy, leave propose_turns=False.

To synthesize SSML, pass an entire document to the speech client or use a Pipecat TTS service configured with input_format="ssml" where the upstream processor provides one complete document per request. Optional watermarking requires server support. For translation or file jobs, a Pipecat function or processor can call the same CloudClient used to issue the room grant.

Run the room example

Install the RTC extra and Pipecat's OpenRouter integration in the same environment. Set DTELECOM_CLOUD_URL, DTELECOM_API_KEY, DTELECOM_API_SECRET, and OPENROUTER_API_KEY on your server. Use the same room name in the agent and your browser grant issuer.

python -m pip install 'dtelecom-pipecat[rtc]' 'pipecat-ai[openrouter]>=1.17,<1.18'
ROOM_NAME=voice-demo python examples/room_agent.py

For a browser client and local grant issuer, use the FastAPI example with DTELECOM_EXAMPLE_ROOM=voice-demo.

Call another Cloud service from a Pipecat tool

An LLM tool can invoke translation on demand. Reuse the call ID as the idempotency key if the operation is retried. Register the handler for the corresponding tool schema in your existing pipeline.

from pipecat.services.llm_service import FunctionCallParams

async def translate(params: FunctionCallParams):
    request = await cloud.translate(
        params.arguments["text"],
        params.arguments["target"],
        idempotency_key=params.tool_call_id,
    )
    await params.result_callback(request.model_dump(mode="json"))

Metadata

Release files for dtelecom-pipecat 0.1.0

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

Source distribution (sdist)

Source distribution for dtelecom-pipecat 0.1.0
File Size Uploaded Provenance Actions
dtelecom_pipecat-0.1.0.tar.gz 12.8 kB With provenance Details for dtelecom_pipecat-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for dtelecom-pipecat 0.1.0
File Interpreter ABI Platform Actions
dtelecom_pipecat-0.1.0-py3-none-any.whl Python 3 none any Details for dtelecom_pipecat-0.1.0-py3-none-any.whl

Total release size: 25.3 kB

Release files / dtelecom_pipecat-0.1.0.tar.gz

Download URL dtelecom_pipecat-0.1.0.tar.gz
Size 12.8 kB
Tags Source
SHA-256 checksum
How to use checksums
4319592aec01b10e371836c492324838055209a1a3b9bfe57ca1a435f21ecaf8
BLAKE2b-256 checksum
How to use checksums
e27496822ec452793550e4d6bccadaf4b5d585962f52c09c6e766853019100fc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 28, 2026.

Transparency log

Release files / dtelecom_pipecat-0.1.0-py3-none-any.whl

Download URL dtelecom_pipecat-0.1.0-py3-none-any.whl
Size 12.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7f0d9193731396005be061e9533924dbbf57448b26c561a5d00c855cc77dc1fa
BLAKE2b-256 checksum
How to use checksums
71e2376e9220fa9957784945bbc1c45ccc858f22e7d75a5d531e59385fc0a4f9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 28, 2026.

Transparency log

Security for dtelecom-pipecat 0.1.0

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for dtelecom_pipecat-0.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 28, 2026.

Transparency log

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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files Full provenance

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