AI Control Plane · Governance + Savings
SemanticGuard is the only AI control plane that pays for itself. Audit every tool call, enforce policy on the destructive ones, and cache the responses. Median 50% savings and 100% cache correctness on our public benchmark.
Governance-only tools cost you a line item. SemanticGuard funds itself with the LLM spend it eliminates. One line of code. OpenAI, Anthropic, Google, Azure, Bedrock, Mistral.
import { createOpenAI } from "@ai-sdk/openai";import { withSemanticGuard } from "@semanticguard/ai-sdk";const openai = createOpenAI({apiKey: "sk-...",fetch: withSemanticGuard({apiKey: "sg-your-key-here",}),});// All calls now cached + tracked automatically. Tool calls// in the response also feed the /dashboard/agents audit.const result = await generateText({model: openai("gpt-4o"),prompt: "Summarize this document...",});
Half one · Agent Governance
Every tool call your agents make gets audited, classified by risk, and adjudicated against your policy. One env var routes Claude Code (and any Anthropic-SDK client) through us. Enterprise governance tools charge $50K/year for less.
Audit every tool call
Every tool your LLM emits shows up in the Agent Activity feed with tool name, args, model, and full session attribution (user, run, workspace). Zero code changes if you already proxy through us.
Risk-classified in real time
Deterministic classifier grades every call as read, write, or destructive. Catches escalation cases: a benign run_shell wrapping rm -rf, a create_pr targeting main, a shell exec running terraform apply.
Policy engine, per tenant
Allow, deny, or require approval on tool calls by pattern, risk tier, workspace, or user. Sensible defaults ship on day one (deny destructive-in-prod, approve deploys, block PRs to main). Every rule edit shows up in the audit path within seconds.
One env var to audit, one hook to block
Set ANTHROPIC_BASE_URL to route Claude Code (and any Anthropic-SDK client) through us — cost, audit, and PII redaction in one env var, no code. Want to actually block destructive calls, not just record them? Add the optional guardrails hook (one npx install) for hard client-side enforcement at PreToolUse time.
Attribution built in
Send x-sg-user-id, x-sg-agent-run-id, and x-sg-workspace-tag headers to tie every action to a human and an agent session. Answers the SOC 2 question: which user, which agent, which tool, when.
On the roadmap
Human-in-loop approval inbox (Slack + email), blast-radius preview before destructive calls, and an MCP-layer proxy for non-Claude-Code agents. Ship order tracked on GitHub.
Half two · Cost savings · The moat
Self-validating intelligent caching with multi-layer verification and continuous AI-judged sampling. 50% median savings and 100% cache correctness on our public benchmark. This is the half no other governance tool offers.
Start with Shadow Mode to measure exactly what you would save on your real traffic. Enable caching when you are ready.
Spend
$12.9K
Would Save
$8.7K
Shadow Hits
142K
Where your requests went
You would save by end of month
$12.8K
Enable caching to start saving. Zero risk, instant rollback.
Cost
$4.2K
Saved
$8.7K
Hit Rate
67%
Cost vs Savings Over Time
Correctness
100%
Validated
847
Projected Monthly Savings
$12.8K
at $427/day from cache hits
67% saved vs without SG
Add fetch: withSemanticGuard() to your AI SDK config. Works with any provider.
See cost per request, per model, and exactly how much caching would save you. No cached responses served until you're ready.
Enable caching. Cache hits return in under 50ms. Multi-layer verification on every hit; sampled hits also AI-judged for correctness with failures flagged.
Install the SemanticGuard Vercel integration and we deploy the proxy into your own Vercel account, connected to your own Neon and Upstash. Prompts, responses, and cache all live in your tenant. Same SDK, same one-line code change.
The only LLM cache that proves its own correctness.
Self-validating cache
Multi-layer verification on every hit; sampled cache hits also judged by your own AI for correctness with failures flagged. 100% measured on our public benchmark.
Continuous learning
Your cheapest model learns what varies in your prompts. Names, IDs, dates, and more. Anything regex misses, your AI catches.
Fail-open design
If cache is down, requests go straight to your provider. Zero downtime risk.
Your keys, your data
Upstream API keys pass through at request time, never stored. Prompts logged only if you opt in. Full security posture.
Already using built-in prompt caching?
Provider prompt caching helps when the same exact prefix shows up again within minutes. That covers a small slice of real production traffic. SemanticGuard catches the rest.
Match type
Provider built-in
Byte-identical prefix only
SemanticGuard
Same meaning, even with different names, dates, or IDs
Across providers
Provider built-in
Locked to one vendor's cache
SemanticGuard
One cache across OpenAI, Anthropic, Google, Azure, Bedrock, Mistral
Across users in your org
Provider built-in
Each session on its own
SemanticGuard
One person's question can serve another
How long it lasts
Provider built-in
Minutes, then gone
SemanticGuard
As long as the answer stays fresh. Seconds for live data, hours for daily content, days for static reference
Setup
Provider built-in
Mark breakpoints or manage cache objects
SemanticGuard
One line of code. No prompt changes
What you save
Provider built-in
Discount on input tokens only
SemanticGuard
Full request eliminated. Input and output both
| Provider built-in caching | SemanticGuard | |
|---|---|---|
| Match type | Byte-identical prefix only | Same meaning, even with different names, dates, or IDs |
| Across providers | Locked to one vendor's cache | One cache across OpenAI, Anthropic, Google, Azure, Bedrock, Mistral |
| Across users in your org | Each session on its own | One person's question can serve another |
| How long it lasts | Minutes, then gone | As long as the answer stays fresh. Seconds for live data, hours for daily content, days for static reference |
| Setup | Mark breakpoints or manage cache objects | One line of code. No prompt changes |
| What you save | Discount on input tokens only | Full request eliminated. Input and output both |
Use provider caching for your static system prompts. Use SemanticGuard for everything else, especially any product where multiple users ask overlapping questions.
Built for the AI-native stack
SemanticGuard speaks the protocols AI agents and dev tools use natively. No adapters, no glue code, no manual setup.
OpenAI-compatible endpoint
Same wire format as OpenAI. Any tool or agent that calls OpenAI works with SemanticGuard by changing one URL. Zero code migration.
Model Context Protocol
Built-in MCP server lets Claude, Cursor, and other AI tools query costs, cache performance, and request traces directly from your IDE.
One-line integration
TypeScript and Python SDKs with fail-open by default. If the gateway is unreachable, requests go directly to your provider. Zero downtime risk.
Machine-readable responses
Every response includes headers for cache status, latency, cost, and confidence score. Agents inspect caching behavior without parsing the body.
Health and metrics
Health check and Prometheus metrics endpoints out of the box. Plug into Grafana, Datadog, or any monitoring your agents already use.
Multi-provider, one gateway
OpenAI, Anthropic, Google, Azure, AWS Bedrock, Mistral. Route all providers through one gateway. One API key, one dashboard, one cache.
Start free with Shadow Mode. See your savings before you commit.
$0
10K requests/mo
$49/mo
50K included, then $0.50/1K
15%
of documented savings
Billed monthly on the dollars cached, with a full audit log on every invoice. If the cache doesn't deliver, you pay only the $500 floor.
Talk to salesThe only AI control plane that pays for itself. Governance-only tools charge you a line item. SemanticGuard funds itself with the LLM spend it eliminates. Free tier includes 10K requests per month, the Claude Code guardrails hook, the full audit + policy engine, and Shadow Mode to preview your savings.