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.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| brisvox-0.1.2.tar.gz | 8.0 kB | With provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| brisvox-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 16.1 kB
Release files / brisvox-0.1.2.tar.gz
| Download URL | brisvox-0.1.2.tar.gz |
|---|---|
| Size | 8.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7a25108dbe8af31b3233e65767d8b386da6fb9771dfb1775578fd567be060bc4
|
|
BLAKE2b-256 checksum How to use checksums |
2e34d38f905ea196358f438ae292f1537dfdbfbaf0775c2e804235e9b6b3712c
|
| 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 23, 2026.
Transparency logRelease files / brisvox-0.1.2-py3-none-any.whl
| Download URL | brisvox-0.1.2-py3-none-any.whl |
|---|---|
| Size | 8.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
83db7ba9ce4bce7883b6ab3bede779b625ceaffb7b032ad5b02c70ee416d8eb7
|
|
BLAKE2b-256 checksum How to use checksums |
1dbec41b454c9f0a4d249491ddf8ae8399460c53d8b18af95b0c97d145ae490b
|
| 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 23, 2026.
Transparency logSecurity for brisvox 0.1.2
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
All 2 files in this release have been uploaded with provenance metadata.
Attestation for brisvox-0.1.2.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 23, 2026.
Transparency logA 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.