Iblai Api Agent Privacy logo

Iblai Api Agent Privacy

Organization
iblai
iblai-api-agent-privacy

Configure an ibl.ai agent's Privacy Router via the platform API — enable PII detection, choose the allow/redact/mask/block action, select entity types (PERSON, EMAIL_ADDRESS, US_SSN, …), set the privacy response, and toggle output filtering (saved through the agent settings endpoint) — and review the organization’s PII/PHI detection audit log (privacy-flags). Use when controlling how the agent handles personal data or auditing what sensitive data flowed through the agents.

Overview

Publisheriblai
Repositoryvibe
Skill nameiblai-api-agent-privacy
Stars
229
Forks
8
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by iblai on GitHub. Read the source before you install it.

Installation

Install the Iblai Api Agent Privacy AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/iblai/vibe/tree/main/skills/agents/iblai-api-agent-privacy
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/iblai/vibe.git /tmp/vibe
mkdir -p .claude/skills
cp -r /tmp/vibe/skills/agents/iblai-api-agent-privacy .claude/skills/iblai-api-agent-privacy
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Iblai Api Agent Privacy in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Iblai Api Agent Privacy on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Iblai Api Agent Privacy is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

iblai-api-agent-privacy

Configure an agent's Privacy Router via the API: enable PII detection, pick the allow / redact / mask / block action and the entity types to watch, set the response returned when PII is caught, and toggle output filtering — all saved through the single settings/ endpoint — plus review the organization’s read-only PII/PHI detection audit log (privacy-flags). Use when controlling how the agent handles personal data or auditing what sensitive data flowed through the agents. The UI twin is /iblai-vibe-agent-privacy.

Auth & conventions

  • Base URL: https://api.iblai.app
  • Header: Authorization: Api-Token $IBLAI_API_KEY on every request.
  • Path vars: {org} = $IBLAI_ORG, {username} = $IBLAI_USERNAME, {mentor} = the agent's unique id (e.g. d17dc729-60fd-4363-81a0-f67d9318b03e).
  • Settings writes go through one endpoint — PUT …/users/{username}/mentors/{mentor}/settings/ — sending only the changed field(s). It accepts JSON, multipart/form-data and form-encoded bodies; prefer JSON, which keeps privacy_entities a plain array (the Privacy tab sends JSON).
  • Not connected yet? Run /iblai-api-login first to populate IBLAI_ORG, IBLAI_USERNAME, and IBLAI_API_KEY.

Reads

  • GET https://api.iblai.app/dm/api/ai-mentor/orgs/{org}/users/{username}/mentors/{mentor}/settings/ — load the current privacy fields.
  • GET https://api.iblai.app/dm/api/ai-mentor/orgs/{org}/users/{username}/mentors/{mentor}/public-settings/ — privacy-router state for anonymous (unauthenticated) requests.
  • GET https://api.iblai.app/dm/api/ai-mentor/orgs/{org}/users/{username}/privacy-flags/?mentor={mentor}&rail={pii|phi}&action_taken={redact|mask|block|allow}&source={text_prompt|file_text|file_image|file_pdf|llm_response|memory_retrieval}&session_id={id}&username={u}&start_time={iso}&end_time={iso}&search={q}&ordering={field}&page={n}&page_size={n} — list every PII/PHI detection recorded across the organization (read-only audit log). Each row reports the rail that fired (pii/phi), the action_taken, the source, and detected_entities — the entity types only (e.g. ["EMAIL_ADDRESS", "US_SSN"]), never the raw detected values. File-sourced rows also carry file_name, file_content_type, file_size, and file_reference. The actor is named by username, email, and user_full_name (all three are null for a since-deleted user, since identity resolves through the user relation). search matches username, session_id, and file_name.
  • GET https://api.iblai.app/dm/api/ai-mentor/orgs/{org}/users/{username}/privacy-flags/{id}/ — retrieve a single detection.

Writes

  • PUT …/mentors/{mentor}/settings/ — update privacy fields (send only changed keys):
    json
    {
      "enable_privacy_router": "boolean",
      "privacy_action": "allow|redact|mask|block",
      "privacy_entities": "string[] (PERSON, EMAIL_ADDRESS, US_SSN, …)",
      "privacy_response": "string",
      "enable_privacy_output_filter": "boolean",
      "disable_chathistory": "boolean  (Incognito policy: Always Incognito)",
      "disable_privacy_mode": "boolean  (Incognito policy: Never Incognito)"
    }

Example

Enable the Privacy Router to redact names, emails, and SSNs, with a custom response and output filtering on (only the changed fields are sent):

bash
curl -X PUT \
  "https://api.iblai.app/dm/api/ai-mentor/orgs/$IBLAI_ORG/users/$IBLAI_USERNAME/mentors/$MENTOR/settings/" \
  -H "Authorization: Api-Token $IBLAI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "enable_privacy_router": true,
    "privacy_action": "redact",
    "privacy_entities": ["PERSON", "EMAIL_ADDRESS", "US_SSN"],
    "privacy_response": "Please remove personal information and try again.",
    "enable_privacy_output_filter": true
  }'

Notes

  • A field left out of the PUT is left unchanged — never resend the whole object.
  • privacy_action is one of allow, redact, mask, or block (default redact); block stops the turn and returns privacy_response, redact/mask rewrite the detected PII, and allow leaves the message as is (detections are still recorded in privacy-flags).
  • The two Incognito flags are the agent tier of chat privacy: disable_chathistory makes every conversation incognito (nothing saved to history or memory, for anyone); disable_privacy_mode takes Incognito away from users of this agent (a user whose default is Incognito is saved anonymized instead). Set at most one: with both true the backend checks disable_chathistory first and behaves as Always Incognito (chat-privacy-effective/?mentor= answers mode: disabled, source: mentor; no history is written), while the agent's Privacy tab shows the record as Never Incognito. The organization gate, the user default and the per-session flip are in /iblai-vibe-incognito.
  • privacy_entities is a list of detector names: PERSON, EMAIL_ADDRESS, PHONE_NUMBER, US_SSN, CREDIT_CARD, LOCATION, DATE_TIME, US_PASSPORT, US_DRIVER_LICENSE, IP_ADDRESS, IBAN_CODE, MEDICAL_LICENSE, US_BANK_NUMBER. An empty list uses the defaults. In multipart/form-data, repeat the key per entity.
  • enable_privacy_output_filter applies the same detection to the agent's output, not just the user's input.
  • Use the public-settings/ read to confirm the state applied to anonymous (unauthenticated) requests.
  • privacy-flags/ is a read-only audit log — there are no write/delete verbs. A row is recorded at every detection point (text-prompt input, LLM response output, uploaded files, and memory retrieval), so it captures more than just the input rail. rail distinguishes PII (pii) from PHI (phi) detections.
  • Privacy flags store entity types only, so a detection is still audited even on a private turn where the raw prompt is withheld — detected_entities never contains the personal data itself.
  • Verified against the live schema (4.411.0) and a live round-trip of every field on 2026-10-02.

Frequently asked questions

What does the Iblai Api Agent Privacy AI skill do?

Configure an ibl.ai agent's Privacy Router via the platform API — enable PII detection, choose the allow/redact/mask/block action, select entity types (PERSON, EMAIL_ADDRESS, US_SSN, …), set the privacy response, and toggle output filtering (saved through the agent settings endpoint) — and review the organization’s PII/PHI detection audit log (privacy-flags). Use when controlling how the agent handles personal data or auditing what sensitive data flowed through the agents.

Why use Iblai Api Agent Privacy on TypingMind?

Because you install it once and use it with any model. Iblai Api Agent Privacy is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Iblai Api Agent Privacy in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/iblai/vibe/tree/main/skills/agents/iblai-api-agent-privacy. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Iblai Api Agent Privacy?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Iblai Api Agent Privacy?

As many as you like. As long as a model supports skills, you can use Iblai Api Agent Privacy with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Iblai Api Agent Privacy AI skill free?

Yes. It is published on GitHub by iblai under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇