{"data":{"slug":"datafog-datafog-python","name":"datafog-python","tagline":"Offline PII firewall for AI agents and LLM apps","github_url":"https://github.com/DataFog/datafog-python","owner":"DataFog","repo":"datafog-python","owner_avatar_url":"https://avatars.githubusercontent.com/u/133826506?v=4","primary_language":"Python","stars":72,"forks":14,"topics":["agent-security","ai-agents","anonymization","claude-code","compliance","data-privacy","data-protection","de-identification","guardrails","litellm","llm","llm-security","nlp","pii","pii-detection","pii-redaction","privacy-engineering","python","sdk"],"archived":false,"github_pushed_at":"2026-09-10T07:06:12+00:00","maintenance_label":"Very active","stars_delta_30d":6,"url":"https://www.graphcanon.com/tools/datafog-datafog-python","markdown_url":"https://www.graphcanon.com/tools/datafog-datafog-python.md","api_url":"https://www.graphcanon.com/api/graphcanon/tools/datafog-datafog-python","graph_url":"https://www.graphcanon.com/api/graphcanon/graph?tool=datafog-datafog-python","description":"Offline PII firewall for AI agents and LLM apps: fast local detection and redaction, Claude Code hook, LiteLLM guardrail. Zero network calls, one dependency.","homepage_url":"https://datafog.ai","license":"MIT","open_issues":8,"watchers":2,"ai_summary":"Provides fast local detection and redaction of personally identifiable information (PII) with no network calls and minimal dependencies.","readme_excerpt":"# Core install (regex engine)\npip install datafog\n\n---\n\n## Quick Start\n\n```python\nimport datafog\n\ntext = \"Contact john@example.com or call (555) 123-4567\"\nclean = datafog.sanitize(text, engine=\"regex\")\nprint(clean)","github_created_at":"2023-06-22T11:50:50+00:00","created_at":"2026-07-15T10:44:32.962266+00:00","updated_at":"2026-09-20T04:26:24.886625+00:00","categories":[{"slug":"ai-agents","name":"AI Agents","url":"https://www.graphcanon.com/categories/ai-agents","markdown_url":"https://www.graphcanon.com/categories/ai-agents.md","api_url":"https://www.graphcanon.com/api/graphcanon/categories/ai-agents"},{"slug":"llm-frameworks","name":"LLM Frameworks","url":"https://www.graphcanon.com/categories/llm-frameworks","markdown_url":"https://www.graphcanon.com/categories/llm-frameworks.md","api_url":"https://www.graphcanon.com/api/graphcanon/categories/llm-frameworks"}],"tags":[{"slug":"agent-security","name":"agent-security"},{"slug":"anonymization","name":"anonymization"},{"slug":"claude-code","name":"claude-code"},{"slug":"compliance","name":"compliance"},{"slug":"data-privacy","name":"data-privacy"},{"slug":"data-protection","name":"data-protection"},{"slug":"de-identification","name":"de-identification"},{"slug":"guardrails","name":"guardrails"}],"trust":{"provenance":{"is_fork":false,"github_id":657135455,"owner_type":"Organization","methodology":"github_public_v1","parent_repo":null,"near_duplicate_slugs":[]},"computed_at":"2026-09-13T06:00:29.951Z","maintenance":{"label":"Very active","score":96,"methodology":"github_public_v1","releases_90d":17,"days_since_push":2,"last_release_at":"2026-09-10T07:06:15Z","stars_delta_30d":6,"open_issues_delta_30d":2},"security_summary":{"status":"ok","scanner":"osv@v1","low_count":0,"high_count":0,"last_scan_at":"2026-07-15T10:44:34.582Z","medium_count":0,"scan_profile":"deps","critical_count":0}},"capability_facts":{"scan":{"source":"repo_scan","observed_at":"2026-09-13T06:00:30.389Z"},"languages":{"value":["python"],"source":"github.language","observed_at":"2026-09-13T06:00:30.389Z"},"license_spdx":{"value":"MIT","source":"github.license","observed_at":"2026-09-13T06:00:30.389Z"}},"decision_facts":{"hosting":null,"pricing":null,"requirements":null,"constraints":null,"when_to_use":["If you require rapid, offline detection and redaction of personally identifiable information without network calls or extensive dependencies.","To integrate a lightweight pii-detection system into existing AI agents or LLM applications that needs to adhere strictly to compliance standards."],"when_not_to_use":["When your application needs cloud-based processing capabilities beyond local pii detection and redaction offered by datafog-python.","If the need arises for advanced networked security features such as real-time threat intelligence updates, which datafog-python with its offline nature does not provide."],"source":"enrich:decision_facts","observed_at":"2026-07-16T19:24:08.306Z"},"constraint_facets":null,"decision_summary":[{"label":"Adopt for","value":"datafog-python is an offline PII firewall for AI agents and LLM apps, featuring fast local detection and redaction of PII with minimal dependencies."}]}}