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.4

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.4
File Size Uploaded Provenance Actions
brisvox-0.1.4.tar.gz 8.0 kB With provenance Details for brisvox-0.1.4.tar.gz

Built distribution (wheel)

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

Total release size: 16.1 kB

Release files / brisvox-0.1.4.tar.gz

Download URL brisvox-0.1.4.tar.gz
Size 8.0 kB
Tags Source
SHA-256 checksum
How to use checksums
2ed1c0fc4c2394ad56e09235f6ebd1de63d9a082d10077bc7d3f81e9f5c6656f
BLAKE2b-256 checksum
How to use checksums
0529cd517bb371f32c59731d54ea24b1adc9b9fadf918c3cc3798c0145d2ccd6
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 Nov 17, 2026.

Transparency log

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

Download URL brisvox-0.1.4-py3-none-any.whl
Size 8.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0748d6458cf691c84ef57bf058b51fb2a4c963854981766ce600d665c7e0e5fe
BLAKE2b-256 checksum
How to use checksums
18f3fcfb89feb6cef6c9ec13503f765a6e4f7108e7634d382a86dc85a73a9957
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 Nov 17, 2026.

Transparency log

Security for brisvox 0.1.4

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.4.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 17, 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