Step-by-step guide¶
This guide takes you from nothing to a privacy model that describes your own data, served to your AI agents over MCP and to your applications over HTTP. Follow the steps in order; each one ends with a check that it worked and a link to the next.
Everything runs on your own machines. The engine reads sample values in memory to classify them and never writes a data value anywhere.
| Step | You do | You end up with | Time |
|---|---|---|---|
| 1. Install | Install OPP Engine and the opp validator |
opp-engine --version works |
2 min |
| 2. Connect your data | Scan your first source with opp-engine scan |
Your privacy model, started | 5 min |
| 3. Generate the privacy model | Scan the rest with opp-engine scan; list and remove sources |
acme.opp.yaml and a review report |
2 min |
| 4. Review and customize | Certify findings, add your own concepts, ID formats and rules | A validated model in git | 15 min and up |
| 5. Test decisions | Run opp-engine check on real-looking text |
Decisions you understand and trust | 5 min |
| 6. Serve to agents over MCP | Connect Claude, Cursor or any MCP client | Agents that ask before they share | 5 min |
| 7. Deploy as a service | Run the engine over HTTP for gateways and applications | A decision point your systems can reach | 15 min |
You need: Python 3.10 or newer, a terminal, and read access to some of your data: a database, a folder of exports, or a few documents. No data at hand? Every step works with the example model.
Words used in this guide:
- Privacy model: one YAML file that says what your data holds, what is sensitive, and where each kind may go.
- Decision: the engine's answer before something is shared: allow, generalize, pseudonymize, redact, review or block, with the rule that decided and any obligations for the sender.
- Decision point and enforcement point: the engine decides. Whatever sends the content (your gateway, your application, or an agent) has to act on the decision.