AgiCloud

Often you need an AI agent to work on a real document: an invoice, a contract, a customer email, or a log file. However, those documents contain personal data (PII, short for Personally Identifiable Information).

This tutorial explains what AgiCloud's PII section does and how to use it to protect privacy before handing documents over to AI agents.

Why use PII anonymization?

When you chat with a cloud AI agent, the text you attach is sent to the external AI model. With AgiCloud's PII plugin, you can strip personal data from texts and documents before any agent sees them:

[Screenshot: AgiCloud PII section showing analyzed text with placeholders replacing personal data]

Step 1: Turn on the PII plugin

If you do not see PII in the main menu yet, enable it first:

  1. Open the menu and go to Settings → Plugins.
  2. Find the PII card.
  3. If it says Not installed, press Install. If it says Off, flip the switch to On.
  4. The PII section will now appear in the main menu.

[Screenshot: PII plugin card enabled in "Settings → Plugins"]

Step 2: Anonymize a text or a document

  1. Open the PII section from the main menu.
  2. Under What do you want to anonymize, choose:
    • A text: to paste a message, email, or snippet directly into the Text box;
    • A document (PDF, TXT, MD): to upload a .pdf, .txt, or .md file from your phone or computer.
  3. (Optional) If there are specific categories of data you want to keep visible, expand Categories to leave in the clear and check the ones you want to exclude.
  4. Check the Reversible dictionary option:
    • Checked (recommended): your browser remembers the mapping between placeholders and original values so you can restore real names in the agent's reply;
    • Unchecked: anonymization is permanent and cannot be reversed.
  5. Press the Anonymize button.

[Screenshot: PII form showing "A text" / "A document", "Categories to leave in the clear", and the "Anonymize" button]

Step 3: Review the result

Once analysis finishes, use the view buttons at the top of the Result card to inspect the output:

  1. Anonymized text: shows the clean text with placeholders, ready to copy with the Copy button.
  2. Highlighted: shows the original text with all detected personal data highlighted.
  3. Data found: displays a table listing every Category, Placeholder, and original Value found.
  4. PDF (only when you upload a PDF): shows a preview of the redacted pages and the Download the anonymized PDF button.

[Screenshot: "Result" card in the PII section showing "Anonymized text", "Highlighted", "Data found", and the PDF page preview]

Step 4: Save for the agent and attach in Chat

To let an agent work on the document without ever exposing the original data:

  1. Scroll down to the Save for the agent card (below the result).
  2. Pick the Project folder you are working in.
  3. Press Save in pii-clean/. AgiCloud writes only the anonymized version (without the dictionary) into the pii-clean/ subfolder of your project.
  4. Open your conversation in the Chat section.
  5. Tap the paperclip icon (Attach files) next to the message box and choose Anonymized documents (PII).
  6. Select the file you just saved and press Attach: the agent will read and work only on the anonymized file.

[Screenshot: "Save for the agent" card with the "Save in pii-clean/" button, and the "Anonymized documents" dialog in Chat]

Step 5: Decode the agent's reply back to original values

When the agent replies using placeholders (for example: "I drafted the letter for [PERSONA_1] at [INDIRIZZO_1]"), you can put the real values back in seconds:

  1. Go back to the PII section and expand Decode: put the original values back at the bottom of the page.
  2. Paste the agent's reply into Text with the placeholders (e.g. the agent's reply).
  3. Below the box, your browser immediately displays the text with the original names and values restored.
  4. When you are done and want to wipe the saved mapping from your browser, press Delete dictionary.

[Screenshot: "Decode: put the original values back" panel showing the decoded text and the "Delete dictionary" button]


Next step

You have completed the Beginner Level tutorials! Now let's move on to the Intermediate Level and see how to connect your Claude, Cursor, Codex, Google/agy, and OpenCode accounts:

👉 05 — Connecting your agent accounts