Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

plivo_mirror-0.4.0rc1.tar.gz (82.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

plivo_mirror-0.4.0rc1-py3-none-any.whl (63.1 kB view details)

Uploaded Python 3

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

Hashes for plivo_mirror-0.4.0rc1.tar.gz
Algorithm Hash digest
SHA256 2c2875dcf5a83f7cbc8e9e616acc2cc9852d73a42f91b0c5be96ef3576fccd68
MD5 ca75b5b715c29800900d6a8bf8917167
BLAKE2b-256 e607d1350b6eea703710ba0f60a4e9a3d524acaeca950c5a0a485bc8a5d7ae28

See more details on using hashes here.

File details

Details for the file plivo_mirror-0.4.0rc1-py3-none-any.whl.

File metadata

File hashes

Hashes for plivo_mirror-0.4.0rc1-py3-none-any.whl
Algorithm Hash digest
SHA256 1441ca5db44450f53667fd85f5d8ac585acdc3e30179b91ec64905fdf18cb507
MD5 5b1b6b9c880b82121a06791f898e1a2c
BLAKE2b-256 1ff07e1a393ec0b8ff0baa957eabec5f1e1cb5285e811d2a4412f21c852744fe

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page