Redact · Mask · Remove
Remove what you don’t need.
Replace sensitive values with typed placeholders, mask them with optional partial visibility, or remove them from the text.
Explore transformations ↗Detect sensitive information in text and structured records, then choose how to protect it before passing it to a model, a log, or another system.
DataFog Core runs in your application, with SDKs for Rust, Python, Node.js, and browsers.
python -m pip install datafog-core
No separate service to deploy. Installation guide ↗
Different workflows need different protections. Select the information to transform, apply rules by entity type, and exempt approved values.
Redact · Mask · Remove
Replace sensitive values with typed placeholders, mask them with optional partial visibility, or remove them from the text.
Explore transformations ↗Pseudonymize
Use keyed pseudonymization when repeated values need consistent replacements. Your application supplies the key provider.
Understand pseudonymization ↗Tokenize · Restore
Use provider-backed tokenization for reversible replacements. Your provider owns storage and authorization; Core checks the request scope.
See tokenization and restoration ↗Redaction, masking, and removal work across all SDKs. Pseudonymization and tokenization use application-supplied providers in Rust, Python, and Node.js.
Scan for findings, transform selected values, or combine both in one operation. The same Core defines the privacy behavior across SDKs.
Installation guide ↗Already using the datafog Python package? Core has a separate package and API. Follow the migration guide.
# pip install datafog-core
from datafog_core import scan_and_transform
result = scan_and_transform(
"Contact ada@example.invalid",
{"transform": {"default": {"strategy": "redact"}}},
)
print(result.text)
# Contact [EMAIL]
Explore DataFog’s existing agent and gateway integrations. Each has its own setup and release path; Core adoption is a separate next step.
Existing integration
A plugin for checking sensitive data in agent tool calls.
Plugin setup and current capabilities ↗Python package adapter
An in-process guardrail adapter for the LiteLLM gateway.
Adapter setup and examples ↗Existing integration
The fogclaw plugin brings PII detection and redaction to OpenClaw.
Explore fogclaw ↗We’re working toward consistent detection and transformation across SDKs, agents, and gateways. Core provides the shared engine. Integrations connect it to workflows and decide when to allow, warn, block, or transform.
Available in Core today
Next direction
Read the Core 0.3.0 release notes ↗ · Follow the Core roadmap ↗
Performance varies by workload. See the 0.3.0 benchmark methodology and results.
Start with a scan, choose a transformation, and connect DataFog to your workflow.