Show the AI notice on the first message
AIDisclosureLabel tells people they are talking to an AI system, in 24 EU languages. A hook lets you attach your own marking to generated output. Preview all 24 languages in Label Studio →
For teams, vibe-coders & developers shipping AI in the EU
Spurvik wraps your model client. It shows the AI notice, logs every call without storing prompt text, and holds risky agent actions until a person says yes.
MIT on npm · TypeScript, Python, Shopify, WP, MCP & n8nHosted in Frankfurt
Chat
Event log
Agent action
stripe.refunds.create · €240
Product
Each one runs inside your own app, next to the model call it covers.
AIDisclosureLabel tells people they are talking to an AI system, in 24 EU languages. A hook lets you attach your own marking to generated output. Preview all 24 languages in Label Studio →
Each call gets a keyed fingerprint, chained to the one before it. The key stays on your server. Records stay in Frankfurt.
router.requestApproval() sends signed Approve and Block links to Slack, Microsoft Teams, email and more. Your callback checks the link before the agent continues.
await router.requestApproval({
gateId, actionName, summary,
});
Your AI Act controls should live in a few lines of code, not in six months of legal memos.
How it works
One package from npm, MIT licensed. Runs in your own stack.
npm install spurvikwithSpurvik wraps OpenAI, Anthropic, Gemini, Vercel AI SDK, Mastra & LangGraph in TypeScript — or drop spurvik_guard.py into FastAPI, LangChain & PydanticAI.
Events, approvals and the Obligations Map in one place. Try the sandbox with no login.
import OpenAI from "openai";
import { withSpurvik } from "spurvik";
const ai = withSpurvik(new OpenAI(), {
apiKey: process.env.SPURVIK_API_KEY,
signingSecret: process.env.SPURVIK_SIGNING_SECRET,
contentHash: {
mode: "keyed",
secret: process.env.SPURVIK_CONTENT_HASH_SECRET,
},
baseUrl: process.env.SPURVIK_BASE_URL,
riskTier: "limited_art50", // your own classification
});
// use ai exactly like the OpenAI client
const res = await ai.chat.completions.create(req);
Mint your free SPURVIK_API_KEY in 10s (no password): Create free account → · Or run npx spurvik setup
# curl -fsSLO https://spurvik.com/r/spurvik_guard.py
from spurvik_guard import send_telemetry_event
res = client.chat.completions.create(model="gpt-4o", messages=msgs)
# Keyed HMAC-SHA256 digest — 0 bytes of prompt text stored
send_telemetry_event(
prompt,
res.choices[0].message.content or "",
model_provider="openai",
model_version="gpt-4o",
)
FastAPI, LangChain, PydanticAI & Django examples: Open Python Cockpit →
Add an EU AI Act Article 50 AI notice to this app with Spurvik (free, MIT licensed).
1. Add this line just before </body> in the main HTML file or root layout, so it loads on every page:
<script src="https://spurvik.com/badge.js" data-system="[Name of your AI assistant]" data-theme="auto" defer></script>
2. If the app has a chat or AI assistant panel, add <div data-spurvik-badge></div> directly above the message input, so people see the notice before they send their first message.
3. Keep <html lang="..."> set to the page language. The notice switches to the matching EU language automatically (all 24 are built in).
4. If this app calls an AI model from a server (Supabase Edge Function, Next.js route handler or Express), follow the server steps at https://spurvik.com/lovable-bolt-replit-eu-ai-act. Keep every Spurvik key in server secrets only, never in VITE_ or NEXT_PUBLIC_ variables, and never log user prompts.
5. Do not add cookies, analytics or other tracking for this change.
Rather have us do it? Done-For-You 24h setup, €199 once
Pricing
Prices exclude VAT. Card, Apple Pay, Link & EU VAT ID invoice via Stripe (adds VAT where it applies) · SEPA invoice available. B2B only (solo founders & agencies welcome).
The SDK and local MCP server for one app.
Hosted approvals and records for a live product.
High-volume logs, webhook export & Annex IV draft.
Custom volume for larger organisations.
FAQ
spurvik_guard.py helper. Shopify themes (.liquid), WordPress/WooCommerce (.zip) and Webflow load badge.js, a local MCP server works in Cursor, VS Code and Claude Code, and a community node works in n8n.White-label your AI notice for €19/mo, hand our engineer your URL for €199 once, or start free with 10,000 events/mo.