Skip to main content

brisvox (Python)

pip install brisvox

The Python SDK of brisvox, a Rust engine for real-time voice agents, under the short package name. brisvox depends on brisvox-agent (the same release, pinned exactly) and re-exports its whole public API: brisvox.Agent is brisvox_agent.Agent. Install either name; the docs and the SDK reference use brisvox_agent.

from brisvox import Agent, Session, UserText

agent = Agent("luigi", system_prompt="You are Luigi's host.", greeting="Hi, Luigi's here!")

@agent.tool                                   # JSON schema from the type hints
async def opening_hours(day: str) -> str:
    """Opening hours of the restaurant on a weekday."""
    return "12:00 to 22:00"

@agent.on_user_text
async def heard(session: Session, event: UserText) -> None:
    if "bye" in event.text.lower():
        await session.end("Goodbye!")         # speaks the farewell, then ends the call

agent.run(port=8765)                          # then: BRISVOX_AGENT_URL=ws://127.0.0.1:8765

The brisvox server connects out to this agent over a WebSocket, one connection per call. The server is a separate program: the prebuilt brisvox-server binary, the container image, or the brisvox crate for a server with your own Rust tools. Python 3.11 or newer.

License

Licensed under either of Apache License, Version 2.0 (LICENSE-APACHE) or the MIT license (LICENSE-MIT) at your option.

Metadata

Release files for brisvox 0.1.3

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

Source distribution (sdist)

Source distribution for brisvox 0.1.3
File Size Uploaded Provenance Actions
brisvox-0.1.3.tar.gz 8.0 kB With provenance Details for brisvox-0.1.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for brisvox 0.1.3
File Interpreter ABI Platform Actions
brisvox-0.1.3-py3-none-any.whl Python 3 none any Details for brisvox-0.1.3-py3-none-any.whl

Total release size: 16.1 kB

Release files / brisvox-0.1.3.tar.gz

Download URL brisvox-0.1.3.tar.gz
Size 8.0 kB
Tags Source
SHA-256 checksum
How to use checksums
b7ce0df912d56f417b257567d52829754ec5ff5bfa2fd89a16fe2dfd590ef2f6
BLAKE2b-256 checksum
How to use checksums
bf1e8aabd71fb7e8294c9068e1b69c48f7fda572495bfb8d58bbe9fe1c2b77ed
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 31, 2026.

Transparency log

Release files / brisvox-0.1.3-py3-none-any.whl

Download URL brisvox-0.1.3-py3-none-any.whl
Size 8.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
497a21c5c21b1e6e92c43e272676b0faa1df6624ffdf545b02962bf6b00da534
BLAKE2b-256 checksum
How to use checksums
bcffa48888d3ec97d774dc3cb9818d8ede309ada12988c52f4417422d791595d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 31, 2026.

Transparency log

Security for brisvox 0.1.3

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 brisvox-0.1.3.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 Oct 31, 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.

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