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.0.tar.gz (145.9 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.0-py3-none-any.whl (65.9 kB view details)

Uploaded Python 3

File details

Details for the file plivo_mirror-0.4.0.tar.gz.

File metadata

  • Download URL: plivo_mirror-0.4.0.tar.gz
  • Upload date:
  • Size: 145.9 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.0.tar.gz
Algorithm Hash digest
SHA256 ff772e6c7508db9d2db17907328846b2642712fa23054bdb391fe7f62d5bd22d
MD5 85394962d1a59e561de872fcdb4a125b
BLAKE2b-256 88847ce91a1e2375f91a1e58c2d5bcc93a2e62351d7743f0c5e92058cffea0a4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: plivo_mirror-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 65.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for plivo_mirror-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1d02e04f7e99aa77e5bd86a4dd8fa0f67119446349760ef9b70d971530ebeaaf
MD5 4e0a2973a4a5e5439aeb8d04b02d4cc6
BLAKE2b-256 c08eabd9e9d682e3f3906998efbc6265d92a2efb6cc75de85769c66cd8c73ee3

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