Documentation
Team Plus

Guardrails

Stop personal data, client names and secrets from reaching AI providers, and set plain-English rules for what the team uses AI for.

Guardrails are part of Team Plus. Owners and Admins set them up under Settings → Team → Controls → Guardrails. They apply in the team workspace to chat, regenerate, the quick tools, model comparison, Compare & Verify and the ARKA Code CLI. They check what members type, earlier messages in the conversation, and text from attached files.

How it works

Before a message is sent to an AI provider, ARKA-AI scans it for sensitive data. What happens next depends on the action you chose for that kind of data. Masking is the most useful: the AI never sees the real value, but the member gets a normal-looking answer.

Masking exampletext
What the member types:
  Write a follow-up to jane.doe@example.com about invoice 4471.

What the AI provider receives:
  Write a follow-up to [EMAIL_1] about invoice 4471.

What the member sees in the answer:
  Hi Jane, ... (sent to jane.doe@example.com)

The same value always gets the same placeholder within a conversation, so the AI can still refer to "[EMAIL_1]" consistently.

What it detects

Email addressesname@company.com
Phone numbersInternational and US formats
Payment card numbersChecked with the Luhn algorithm, so random numbers aren't caught
US Social Security numbers123-45-6789
Bank account numbers (IBAN)Checked with the IBAN checksum
IP addressesIPv4
API keys, tokens and passwordsOpenAI, Anthropic, AWS, GitHub, Stripe, Slack, Google keys, JWTs, private keys, database URLs with passwords, and password=… style values
Custom termsClient names, project code names and any other words you list

Actions

Choose an action for each kind of data:

OffNot checked.
WarnThe message is sent unchanged. The member sees a notice and the event is logged.
MaskThe value is swapped for a placeholder such as [EMAIL_1] before the message leaves ARKA-AI, then put back in the answer the member sees.
BlockThe message isn't sent. The member is told which kind of data stopped it, never the value itself.

Ready-made rule packs

Start from a pack, then adjust any setting:

  • Client confidentiality: Masks emails, phone numbers, IBANs, IP addresses and custom terms; blocks card numbers, SSNs and secrets. A good default.
  • Secrets only: Blocks API keys, passwords and card numbers; everything else is allowed.
  • Strict: Blocks any personal data or secret.

Plain-English rules

You can also write rules in your own words, such as Only work-related requests or No legal advice, and set each one to Block message or Allow and log. A small, fast AI model checks each request against your rules, after sensitive data has been masked.

Rules can't be perfect

Plain-English rules are judged by an AI model, so they will sometimes miss or over-flag a request. If the check doesn't answer within 8 seconds, the request goes ahead rather than leaving the member stuck. Use them for guidance; use the data detectors for anything that must never leave.

Checking answers

With Check answers on, ARKA-AI also scans each answer for sensitive data the AI added itself (for example, an email address that wasn't in the question). The member sees a notice and the event is logged. Answers aren't changed.

Testing and activity

The Try it box on the Guardrails card shows exactly what the AI provider would receive for any text you paste, without sending anything to an AI. Guardrail activity shows, for each kind of data, how many items were hidden, blocked, logged or found in answers. Like the activity log, it records counts and rule types, never message content or the values that were caught.

Setting it up

1

Open the Guardrails card

Go to Settings → Team → Controls. The Guardrails card appears once the team is on Team Plus.

2

Pick a rule pack

Client confidentiality is a good start for most teams.

3

Add custom terms

List client names, project code names and anything else that shouldn't leave the team.

4

Test, then save

Paste a realistic message into the Try it box to check the result, then save and switch guardrails on.

Limits

  • Detection is pattern-based. It won't recognise people's names unless you list them as custom terms.
  • It can't read text inside images.
  • Unusual formats can be missed; use the test box and the activity view to spot gaps, and add custom terms.
  • Guardrails don't apply in members' personal workspaces or in the mobile app.

Tested before release

On a 200-message test set, plus 40 extra messages written afterwards, the detectors caught every sensitive value and flagged none of the ordinary messages. Real messages will include formats those sets don't cover.