{"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":79,"forks":15,"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-10-05T08:34:56+00:00","maintenance_label":"Active","stars_delta_30d":7,"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-10-22T06:00:51.584142+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-10-22T06:00:50.300Z","maintenance":{"label":"Active","score":82,"methodology":"github_public_v1","releases_90d":14,"days_since_push":16,"last_release_at":"2026-10-05T08:34:58Z","stars_delta_30d":7,"open_issues_delta_30d":0},"security_summary":{"last_scan_at":"2026-07-15T10:44:35.902197+00:00","scan_profile":"deps","status":"ok","critical_count":0,"high_count":0,"medium_count":0,"low_count":0,"scanner":"osv@v1","scan_id":"11a150d5-0edd-48af-ac4f-33575bef7369","pending_review_count":0}},"capability_facts":{"mcp":{"method":"github-tree-and-contents@2","reason":"No explicit MCP server declaration was found in the inspected manifests. Other layouts and implementations were not tested.","source":"repo_scan","status":"unknown","revision":"cf81370dfd7a667d05969f38b88ebad9e38c94c1","source_url":"https://github.com/DataFog/datafog-python/tree/cf81370dfd7a667d05969f38b88ebad9e38c94c1","observed_at":"2026-10-22T06:00:50.800Z","server_manifest":null},"scan":{"method":"github-tree-and-contents@2","source":"repo_scan","status":"complete","version":2,"coverage":{"scope":"bounded-repository-manifests","tree_complete":true,"selected_files":0,"candidate_files":0},"revision":"cf81370dfd7a667d05969f38b88ebad9e38c94c1","source_url":"https://github.com/DataFog/datafog-python/tree/cf81370dfd7a667d05969f38b88ebad9e38c94c1","observed_at":"2026-10-22T06:00:50.800Z","observations":[{"path":"@revision","bytes":3715,"status":"present","revision":"cf81370dfd7a667d05969f38b88ebad9e38c94c1","source_url":"https://github.com/DataFog/datafog-python/commit/cf81370dfd7a667d05969f38b88ebad9e38c94c1","http_status":200,"observed_at":"2026-10-22T06:00:50.970Z"},{"path":"@tree","bytes":58502,"status":"present","revision":"cf81370dfd7a667d05969f38b88ebad9e38c94c1","source_url":"https://github.com/DataFog/datafog-python/tree/cf81370dfd7a667d05969f38b88ebad9e38c94c1","http_status":200,"observed_at":"2026-10-22T06:00:51.167Z"},{"path":"docker-compose.yml","reason":"not-listed-in-complete-tree","status":"not-found","revision":"cf81370dfd7a667d05969f38b88ebad9e38c94c1","source_url":"https://github.com/DataFog/datafog-python/tree/cf81370dfd7a667d05969f38b88ebad9e38c94c1","observed_at":"2026-10-22T06:00:51.167Z"},{"path":"Dockerfile","reason":"not-listed-in-complete-tree","status":"not-found","revision":"cf81370dfd7a667d05969f38b88ebad9e38c94c1","source_url":"https://github.com/DataFog/datafog-python/tree/cf81370dfd7a667d05969f38b88ebad9e38c94c1","observed_at":"2026-10-22T06:00:51.167Z"},{"path":"mcp.json","reason":"not-listed-in-complete-tree","status":"not-found","revision":"cf81370dfd7a667d05969f38b88ebad9e38c94c1","source_url":"https://github.com/DataFog/datafog-python/tree/cf81370dfd7a667d05969f38b88ebad9e38c94c1","observed_at":"2026-10-22T06:00:51.167Z"},{"path":"package.json","reason":"not-listed-in-complete-tree","status":"not-found","revision":"cf81370dfd7a667d05969f38b88ebad9e38c94c1","source_url":"https://github.com/DataFog/datafog-python/tree/cf81370dfd7a667d05969f38b88ebad9e38c94c1","observed_at":"2026-10-22T06:00:51.167Z"},{"path":"pyproject.toml","reason":"not-listed-in-complete-tree","status":"not-found","revision":"cf81370dfd7a667d05969f38b88ebad9e38c94c1","source_url":"https://github.com/DataFog/datafog-python/tree/cf81370dfd7a667d05969f38b88ebad9e38c94c1","observed_at":"2026-10-22T06:00:51.167Z"},{"path":"server.json","reason":"not-listed-in-complete-tree","status":"not-found","revision":"cf81370dfd7a667d05969f38b88ebad9e38c94c1","source_url":"https://github.com/DataFog/datafog-python/tree/cf81370dfd7a667d05969f38b88ebad9e38c94c1","observed_at":"2026-10-22T06:00:51.167Z"}]},"languages":{"value":["python"],"method":"github-tree-and-contents@2","source":"github.language","revision":"cf81370dfd7a667d05969f38b88ebad9e38c94c1","source_url":"https://github.com/DataFog/datafog-python/tree/cf81370dfd7a667d05969f38b88ebad9e38c94c1","observed_at":"2026-10-22T06:00:50.800Z"},"license_spdx":{"value":"MIT","source":"github.license","observed_at":"2026-10-22T06:00:50.800Z"}},"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":"Unverified catalog guidance: datafog-python is an offline PII firewall for AI agents and LLM apps, featuring fast local detection and redaction of PII with minimal dependencies."}]}}