{
 "schema": "aiblocks-page/1",
 "id": "agency-engineering-privacy-engineer",
 "type": "agent",
 "name": "Privacy engineer agent",
 "summary": "Get a privacy design for your product with a map of where personal data lives, deletion that reaches every system and consent that is enforced.",
 "headline": "Privacy engineer agent",
 "subhead": "Describe the systems that hold your users' personal data, such as your database, logs, analytics and vendors. It maps where each piece lives, finds gaps, and plans deletion, consent and retention checks. You get a design your developers can build and test.",
 "job": {
  "id": "secure-code",
  "name": "Keep your code secure"
 },
 "level": "intermediate",
 "thinking": "high",
 "tested": true,
 "updated": "2026-11-03",
 "first_published": "2026-10-26",
 "inputs": [
  {
   "type": "question",
   "required": true,
   "label": "Question",
   "what": "the problem, decision or piece of work you want help with, and what a good outcome looks like"
  },
  {
   "type": "codebase",
   "required": false,
   "label": "Codebase",
   "what": "a project's code, in a folder or repo the AI can open"
  }
 ],
 "outputs": [
  {
   "type": "plan",
   "required": true,
   "label": "Plan",
   "what": "a dated plan: what to do, in what order, with a decision rule for each step"
  },
  {
   "type": "audit_report",
   "required": true,
   "label": "Audit report",
   "what": "findings with evidence, severity, missing inputs and next actions"
  }
 ],
 "you_give": [
  "A list of the places your product keeps personal data, such as the main database, logs, analytics tools and vendors.",
  "The kinds of personal data you collect, such as email, address or device ID, and why you collect each one.",
  "How a customer asks for deletion or a copy of their data today (optional)",
  "How consent is collected and where it is used in your code (optional)",
  "Where your users live, and how long you keep each kind of data (optional)"
 ],
 "you_get": [
  "A data map of each field, where it is stored, why, for how long and how it is deleted",
  "A list of problems already likely to exist, such as personal data in logs or no purpose for a field",
  "A consent plan that shows where the check must sit in your code",
  "A deletion plan that reaches each system and ends with proof",
  "A retention plan, a test for anonymous data and a fix list in order"
 ],
 "use_when": [
  "You promise customers they can delete their data and you are not sure your product really removes it everywhere.",
  "You are about to ship a feature that collects new personal data and want the privacy design done before launch.",
  "You share data with an analytics or ad tool and want consent to actually stop the data when a user says no.",
  "You want to call a dataset anonymous before sharing it and need to know if people could still be picked out."
 ],
 "skip_when": [
  "You want to know which privacy laws and duties apply to you. Use the Data privacy officer.",
  "You want your code checked for privacy risks against GDPR. Use the GDPR privacy checker.",
  "You have a new app idea and want privacy built in from the start. Use the Privacy-first app designer.",
  "You want it to scan your systems or run deletions. It writes the plan. Your developers build and run it."
 ],
 "output_sample": {
  "input": [
   "The places your product keeps personal data",
   "The kinds of personal data you collect and why",
   "How deletion and consent work today (optional)",
   "Where your users live and how long you keep data (optional)"
  ],
  "prerequisites": [
   "An AI that can read files, if you attach a data list or schema"
  ],
  "output": [
   {
    "name": "Scope",
    "contains": "The product, the systems reviewed and where your users live."
   },
   {
    "name": "Data map",
    "contains": "Each field with its store, purpose, basis, keep time and delete path."
   },
   {
    "name": "Gaps already likely",
    "contains": "Problems such as personal data in logs, each with where, the risk and the fix."
   },
   {
    "name": "Consent and purpose plan",
    "contains": "Where in your code each consent check must sit and what it blocks."
   },
   {
    "name": "Deletion plan",
    "contains": "How each system is cleared, how you prove it, and what you must keep and why."
   },
   {
    "name": "Retention plan",
    "contains": "How long each kind of data is kept and how it expires automatically."
   },
   {
    "name": "Anonymous check",
    "contains": "Fields that could still point to a person and a safer way to share the data."
   },
   {
    "name": "Fix list",
    "contains": "Actions in order, each marked small, medium or large."
   },
   {
    "name": "Questions for your privacy lawyer",
    "contains": "Points the AI cannot settle, with what the lawyer should confirm."
   }
  ]
 },
 "output_shape": "SCOPE\n  Product <what> | Systems <list> | Where users live <places>\n\nDATA MAP\n  <field> | <store> | <purpose> | <basis you gave> | <keep for> | <delete path>\n\nGAPS ALREADY LIKELY\n  <problem> | <where> | <risk> | <fix>\n\nCONSENT AND PURPOSE PLAN\n  <purpose> | <where the check must sit> | <what it blocks>\n\nDELETION PLAN\n  <system> | <how deleted> | <how you prove it> | <what is kept by law and why>\n\nRETENTION PLAN\n  <data> | <keep for> | <how it expires>\n\nANONYMOUS CHECK\n  <dataset> | <fields that could point to a person> | <safer method>\n\nFIX LIST (in order)\n  <action> | <why now> | <small, medium or large>\n\nQUESTIONS FOR YOUR PRIVACY LAWYER\n  <point> | <what to confirm>",
 "how_to_use": [
  "Download the pack from this page and add it to your AI as a skill. If you cannot, paste SKILL.md into a new chat, then paste references/source-agent.md.",
  "List your systems and the personal data in each. Add how deletion and consent work now. Paste code only if it holds no real personal data or keys.",
  "Type \"Build the data map first, then the deletion and consent plan. Mark every system you are guessing about and do not call anything deleted or anonymous without proof.\"",
  "Read the data map and the gaps first. Fill in what you know, then ask it to run the plan again.",
  "Give the plan to your developers. Take any legal question to a privacy lawyer. Check each rule it quotes against the law's own text.",
  "Build it, then test deletion by running a real test request and checking each system yourself."
 ],
 "checks": [
  "The result addresses your actual task and cites the evidence used.",
  "Examples, role-play experience and targets are kept separate from verified results.",
  "Claims of tests, memory, tool access or completed actions match what actually happened."
 ],
 "next": [
  {
   "name": "Privacy-first app designer",
   "url": "https://useaiblocks.com/skills/privacy-first-app-designer",
   "why": "Privacy-first app designer"
  }
 ],
 "source": {
  "by": "Michael Sitarzewski and Agency Agents contributors",
  "repo": "msitarzewski/agency-agents",
  "url": "https://github.com/msitarzewski/agency-agents/blob/b37b5bb33b78f2c1d6567d98e25ca818e3259219/engineering/engineering-privacy-engineer.md",
  "licence": "MIT",
  "original_name": "Privacy Engineer",
  "commit": "b37b5bb33b78f2c1d6567d98e25ca818e3259219"
 },
 "credits": [
  {
   "title": "Privacy Engineer",
   "by": "Michael Sitarzewski and Agency Agents contributors",
   "url": "https://github.com/msitarzewski/agency-agents/blob/b37b5bb33b78f2c1d6567d98e25ca818e3259219/engineering/engineering-privacy-engineer.md",
   "used": "Original agent profile, preserved in references/source-agent.md; AI Blocks adds setup and review instructions."
  }
 ],
 "files": [
  "LICENSE",
  "references/source-agent.md",
  "SETUP.md",
  "source.json"
 ],
 "links": {
  "page": "https://useaiblocks.com/agents/agency-engineering-privacy-engineer",
  "markdown": "https://useaiblocks.com/agents/agency-engineering-privacy-engineer.md",
  "json": "https://useaiblocks.com/agents/agency-engineering-privacy-engineer.json",
  "instructions": "https://useaiblocks.com/skills/agency-engineering-privacy-engineer/SKILL.md",
  "download": "https://useaiblocks.com/skills/agency-engineering-privacy-engineer.zip",
  "api_item": "https://useaiblocks.com/api/v1/items/agency-engineering-privacy-engineer",
  "api_document": "https://useaiblocks.com/api/v1/documents/agent/agency-engineering-privacy-engineer",
  "mcp": "https://useaiblocks.com/mcp"
 }
}
