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.3.0.tar.gz (8.7 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.3.0-py3-none-any.whl (9.3 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for agentforge_guard_presidio-0.3.0.tar.gz
Algorithm Hash digest
SHA256 736c4b138a0e80355b4faea2c73e244b68ac0895799828de6ee5a6196dedbec0
MD5 7e542acac97a9dcac6f5ec1cd5bd1814
BLAKE2b-256 40b4d93ccc8b428f1dffc970dc6484634df7d20559ddd60f66600a74fa1081fa

See more details on using hashes here.

Provenance

The following attestation bundles were made for agentforge_guard_presidio-0.3.0.tar.gz:

Publisher: release.yml on Scaffoldic/agentforge-py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

File hashes

Hashes for agentforge_guard_presidio-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 75d6e157954a9e9a42fd6694b54a11cae3af8be60c359205b10fc2da407dc909
MD5 9002a3d5e726c78b9560e91a5ed25d8e
BLAKE2b-256 eb2fc103a240e98988f414bf50e5df4309377041dcf9f22ea653cad817407c49

See more details on using hashes here.

Provenance

The following attestation bundles were made for agentforge_guard_presidio-0.3.0-py3-none-any.whl:

Publisher: release.yml on Scaffoldic/agentforge-py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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