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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for agentforge_guard_presidio-0.4.0.tar.gz
Algorithm Hash digest
SHA256 ea37d77dd26e417effb19497aa0a6846c4fbbbceed6a67a2d66a90f86ccf54d6
MD5 5e8c446e9a183ff54650b0c89a230770
BLAKE2b-256 aaec43a2d0b05ec2e4ace284fc08b0fc072d387d79293547d4d87100b8dcffe6

See more details on using hashes here.

Provenance

The following attestation bundles were made for agentforge_guard_presidio-0.4.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.4.0-py3-none-any.whl.

File metadata

File hashes

Hashes for agentforge_guard_presidio-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b3e1687c4192eca5fa657b569763c218800d110d4f8a04a2b360e60f3aba2887
MD5 f0673b34c52f933034926a839e13f892
BLAKE2b-256 d83fc75a8313ec96026f1669a6b2bbd98b356afbc667b58e079d43c76fac4a6b

See more details on using hashes here.

Provenance

The following attestation bundles were made for agentforge_guard_presidio-0.4.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