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.4.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.4-py3-none-any.whl (9.3 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for agentforge_guard_presidio-0.2.4.tar.gz
Algorithm Hash digest
SHA256 5db2844397d8ab5d53e129a663be10f1c59fa892b12624c8e2ff5181f3973211
MD5 d7d3fbaaad09e80b96d6c294876d3710
BLAKE2b-256 00367706828767f19d96a492115e698c199c6a8a4cafa2acaea34c5e391fa312

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for agentforge_guard_presidio-0.2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 66c73277ae8da7d83fd0cfc3474c90fb9cb69b1e8190ace2180936d5279ed02f
MD5 df32c57c98e98667c4b6bf0df4721c69
BLAKE2b-256 abcb1a7f0b6845c326c3d4fe12141777f77b2205fb20ab24d601ace7d47d9764

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