A drop-in proxy that swaps personal data for placeholder tokens before it reaches OpenAI or Anthropic — then restores the real values in the response. Plus deterministic prompt injection blocking. One line of code.
This demo runs sAIfety's actual detection logic, ported to JavaScript, entirely in your browser. Nothing you type here is sent anywhere — which is rather the point.
It's the question on every security questionnaire, every GDPR review, every enterprise deal. Right now your honest answer is "yes, and we asked them nicely not to keep it." sAIfety changes the answer to "no — it never leaves our infrastructure."
sAIfety is a transparent proxy — it speaks the same API as OpenAI and Anthropic. Sign up, add your AI key, and point your code at sAIfety.
Create a free account at app.saifety.dev. Add your OpenAI or Anthropic API key — we store it encrypted and never log it.
Point your OpenAI or Anthropic client at sAIfety instead of the AI API directly. Use your proxy key. That's the only code change.
Use the dashboard to configure which guardrails apply — PII redaction, prompt injection blocking, topic filters. Changes take effect instantly.
Six guardrails run on every request and response, configurable per tenant.
Personal data becomes placeholder tokens before the model sees it, and becomes real again in the response — streaming included. Or choose one-way redaction, or block outright.
Weighted signature scoring over normalized text catches jailbreaks and instruction overrides — including homoglyph, zero-width, fullwidth, leetspeak, and base64 evasion. Deterministic, no LLM.
Blocks requests that mention any topic you configure as off-limits. Useful for brand safety, legal compliance, or competitive reasons.
Inspects model responses before they reach your users, blocking hate speech, slurs, and harmful content.
Enforce a maximum response length, or require the model's response to conform to a JSON schema — useful for structured data pipelines.
Every request is logged — tenant, API used, outcome, reason if blocked, and message preview. Queryable via API or the dashboard.
Most "AI safety" products scan your traffic with… another AI, run on their servers. That doubles your latency, adds a per-request bill, and hands your data to a second vendor. sAIfety's detection is pure rules — which is exactly what your compliance team wants to hear.
Regex, unicode normalization, and weighted scoring — no model call, no GPU, no variance. The same input always produces the same decision, and you can read exactly why in the audit log.
LLM-based scanners charge per token to inspect your tokens. sAIfety's checks cost nothing per request, at any volume, and never rate-limit your traffic.
Self-host with one Docker command. The PII vault is in-memory and per-request; detection needs no external API. Nobody — including us — sees your traffic. Try answering a security questionnaire with that.
Compatible with the official OpenAI and Anthropic SDKs in Python and JavaScript — no wrapper libraries, no lock-in.
# The only change needed in your entire codebase from openai import OpenAI client = OpenAI( api_key="sk-saifety-...", # ← your proxy key base_url="https://app.saifety.dev/v1", # ← add this ) # Everything else stays identical response = client.chat.completions.create( model="gpt-4o", messages=[{"role": "user", "content": "Hello!"}], )
// The only change needed in your entire codebase import OpenAI from "openai"; const client = new OpenAI({ apiKey: "sk-saifety-...", // ← your proxy key baseURL: "https://app.saifety.dev/v1", // ← add this }); // Everything else stays identical const response = await client.chat.completions.create({ model: "gpt-4o", messages: [{ role: "user", content: "Hello!" }], });
# Works with the official Anthropic SDK too from anthropic import Anthropic client = Anthropic( api_key="sk-saifety-...", # ← your proxy key base_url="https://app.saifety.dev", # ← add this ) response = client.messages.create( model="claude-sonnet-4-20250514", max_tokens=1024, messages=[{"role": "user", "content": "Hello!"}], )
A live dashboard shows every request in real time — what was blocked, why, and by which guardrail. Edit your guardrail rules per-tenant directly from the UI. No YAML files, no restarts.
Run sAIfety on your own infrastructure for free — forever. Or use our hosted service and skip the ops work entirely.
Free tier included. No credit card required.