Skip to main content

Microsoft Presidio PII detector for AgentForge guardrails

Project description

agentforge-guard-presidio

Microsoft Presidio PII detection + anonymisation for AgentForge guardrails (feat-018).

Adds the presidio validator to the agentforge.yaml modules.guardrails.output section:

modules:
  guardrails:
    output:
      - presidio:
          entities: ["EMAIL_ADDRESS", "PHONE_NUMBER", "PERSON",
                     "CREDIT_CARD", "US_SSN", "IP_ADDRESS"]
          score_threshold: 0.5
          action: "redact"   # "redact" | "score-only"
agentforge add module guard-presidio

The default score_threshold of 0.5 is Presidio's recommended balance between recall and false positives. Set lower for stricter redaction, higher to reduce noise. action: "score-only" reports the violations without modifying the content.

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

agentforge_guard_presidio-0.2.3.tar.gz (8.5 kB view details)

Uploaded Source

Built Distribution

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

agentforge_guard_presidio-0.2.3-py3-none-any.whl (9.3 kB view details)

Uploaded Python 3

File details

Details for the file agentforge_guard_presidio-0.2.3.tar.gz.

File metadata

  • Download URL: agentforge_guard_presidio-0.2.3.tar.gz
  • Upload date:
  • Size: 8.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.12 {"installer":{"name":"uv","version":"0.11.12","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for agentforge_guard_presidio-0.2.3.tar.gz
Algorithm Hash digest
SHA256 d82d9bc884c48cb01e1eb98760477d7dd8bde8d5cae1c7f8345f95a9fb99fccb
MD5 b1f1ab438f588367b10a0c737c87493f
BLAKE2b-256 43fe414a5dfecd3cfa3f01dac5fb69d78ee6552b3ab642ec90bc4eeb6b9e0e8a

See more details on using hashes here.

File details

Details for the file agentforge_guard_presidio-0.2.3-py3-none-any.whl.

File metadata

  • Download URL: agentforge_guard_presidio-0.2.3-py3-none-any.whl
  • Upload date:
  • Size: 9.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.12 {"installer":{"name":"uv","version":"0.11.12","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for agentforge_guard_presidio-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 2025663eef3e150bc98a2f5a44609312b664b2b407d63f8d4d5556d3ff19b7c3
MD5 7b34ee1e086d0020874444a02edbc8d8
BLAKE2b-256 3427f0dcfacfe8a6d32c76a0223088aa31b081383845b405b00669f325bf4550

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