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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for agentforge_guard_presidio-0.3.1.tar.gz
Algorithm Hash digest
SHA256 60530ee990b5f161c723e5e2c98b9e744fc863c619f4d66e6e781001fefc2cd5
MD5 7c23aff30ef7c7dbb1cfb64f78e97fb0
BLAKE2b-256 4061946902a5007cf65fdc9583a4eab3a8881cae70cd55a687660e84d91e85ec

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for agentforge_guard_presidio-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e07fc7371968752f20b90761f9a06d766dd31e952f703291c09b7ed5f7e0ab45
MD5 56778c602356f58618c6e5d87e563bd8
BLAKE2b-256 2c701b1fad75ac48fd3f7292c1a5889e58ba509c4dd1f8a034a340786ea3b02c

See more details on using hashes here.

Provenance

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