Real-time dual-boundary policy firewall for LLM voice agents.
Project description
plivo-mirror v4 — dual-boundary policy firewall
Real-time policy firewall for LLM voice agents. It guards two boundaries before anything reaches the caller or the world:
- Speech boundary (LLM tokens → TTS): false facts, unauthorized verbal commitments, missing disclosures.
- Action boundary (tool call → execution): wrong/unauthorized actions, prompt-injection-driven tool calls, policy violations.
v4 is a major version of the same plivo-mirror package. It does not
reuse v3's three-tier scorer; it is a clean rebuild around a single
grounded verifier and a SessionState-as-source-of-truth design. See the
repo-root CLAUDE.md for the full architecture and build plan.
This package is built in phases. Phase 1 (current): core contracts + session state store + policy compiler.
cd v4 && pip install -e ".[dev]" && pytest tests/ -q
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file plivo_mirror-0.4.0rc1.tar.gz.
File metadata
- Download URL: plivo_mirror-0.4.0rc1.tar.gz
- Upload date:
- Size: 82.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2c2875dcf5a83f7cbc8e9e616acc2cc9852d73a42f91b0c5be96ef3576fccd68
|
|
| MD5 |
ca75b5b715c29800900d6a8bf8917167
|
|
| BLAKE2b-256 |
e607d1350b6eea703710ba0f60a4e9a3d524acaeca950c5a0a485bc8a5d7ae28
|
File details
Details for the file plivo_mirror-0.4.0rc1-py3-none-any.whl.
File metadata
- Download URL: plivo_mirror-0.4.0rc1-py3-none-any.whl
- Upload date:
- Size: 63.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1441ca5db44450f53667fd85f5d8ac585acdc3e30179b91ec64905fdf18cb507
|
|
| MD5 |
5b1b6b9c880b82121a06791f898e1a2c
|
|
| BLAKE2b-256 |
1ff07e1a393ec0b8ff0baa957eabec5f1e1cb5285e811d2a4412f21c852744fe
|