Steering, not just blocking.
Avrik Guard is the runtime security platform for AI agents. It checks every tool call, output, and handoff against your policy and a calibrated decision model, then lets the action through, corrects course, brings in a human, or stops it. It governs the agents you build, and the ones your developers already use, like Claude Code, Codex, Cursor, and Claude Desktop.
Guardrails nobody can measure. Evals that can’t act.
Agent safety is split across tools that each do one part of the job, with three definitions of “risky” that drift apart.
Policy engines
Enforce rules reliably, but can’t judge what the user actually intended.
Guardrail hooks
Judge intent, but with hand-picked thresholds and no known error rate.
Eval platforms
Measure quality, but after the fact. They observe failures instead of preventing them.
Avrik Guard
One decision contract, written once. Enforced inline, measured in shadow mode, and calibrated from labeled outcomes.
One contract. Every place an agent acts.
The same runtime and the same guardrails run wherever you plug Avrik in. Embed it in your own agents, or govern off-the-shelf agents by changing only their configuration.
- In your agent
SDKs
Python and TypeScript SDKs embed the runtime next to your agent. Framework adapters are often a single line.
Agents you build - Between agents and model providers
Avrik Gateway
An OpenAI- and Anthropic-compatible endpoint. Every request and every tool call in every answer is decided before it moves on.
Any agent built on a provider SDKLearn more → - In front of MCP servers and HTTP APIs
MCP and API proxy
Change one line of client configuration. The proxy holds the upstream credential, so the agent never does.
Claude Desktop, Cursor, VS Code, Claude CodeLearn more → - On the developer’s machine
Coding-agent hooks
One static binary that checks every shell command, file read and write, web fetch, MCP call, and prompt before it happens.
Claude Code, Codex, Cursor, Copilot CLI - Behind your existing approval step
Approval gateway
Point a webhook, Slack approval bot, or LangGraph interrupt at Avrik. Classes that have earned autonomy come back approved.
Human-in-the-loop workflows
Seven ways to respond.
Blocking is a blunt tool. Most risky moments call for something smaller: a nudge, fewer tools, or a quick human check.
Runs at every checkpoint
- Model input
- Model output
- Tool call
- Tool result
- Trajectory step
- Agent handoff
- Memory read and write
- Completion
allowThe action runs as planned.
steerThe agent gets a corrective message and tries again.
restrict_toolsRisky tools are removed for the rest of the session.
require_evidenceThe agent can’t finish until it shows proof, like a passing test run.
escalateThe agent pauses for a human, then resumes with their answer.
denyThis action is refused. The agent keeps working.
haltThe run stops.
Rules first. Judgment second.
A guardrail ties a checkpoint to four stages. Deterministic policy always runs before any model is asked, and a model probability can never override a policy deny.
- 1
Trajectory conditions
Workflow rules over the whole session: what must happen first, cooldowns, and limits.
- 2
Rules
Rego or Cedar policy. Any deny ends evaluation immediately, with no model call.
- 3
Checks
Typed questions about intent and context, sent as one batched call to a decision model.
- 4
Combiner
A CEL expression with fitted thresholds turns the probabilities into one action.
kind: Contract
metadata: { name: refund-payment-guard }
spec:
checkpoint: tool.before
selector: { tools: [refund_payment] }
riskClass: financial # fails closed
rules:
- rego: policies/payments.rego#data.avrik.payments.decision
checks:
intent_aligned:
noul: Did the user explicitly ask for a refund?
combiner:
allow_if: "intent_aligned >= 0.90"
otherwise: escalateGovern agents you didn’t build.
Avrik Gateway checks every model request and tool call between an agent and its provider. The MCP proxy sits in front of MCP servers and APIs. Both change only configuration, so Claude Code, Claude Desktop, Cursor, and any SDK-based agent are governed as they are.
- Model traffic
Avrik Gateway
OpenAI- and Anthropic-compatible. Holds each tool call until it is decided, redacts secrets, and signs a receipt for every request.
- Tools
MCP and API proxy
Pins tool schemas, refuses hidden instructions and look-alike tools, and holds the upstream credential so the agent never does.
Coding agents and desktop apps, governed.
The agents with the most reach are already on your developers’ laptops. Avrik checks what they do before it happens, with one command to install.
Hooks for
- Claude Code
- Codex
- Cursor
- Copilot CLI
# Install the hook, balanced profile
avrik-guard hook install claude-code
avrik-guard hook install codex --scope managed
# See what a profile would have done
avrik-guard audit transcripts --since 14dadvisoryRecords everything and warns about what balanced would have stopped.
balancedAsks before destructive, publishing, and cloud-changing commands. Denies credential reads and download-and-run.
strictDenies what balanced asks about, and asks before inline code and instruction-file writes.
- Shell commands parsed, not pattern-matchedPipelines, substitutions, and sudo, env, xargs, or bash -c wrappers are unwrapped to the real program. Anything unknowable before it runs is treated as opaque.
- Session memoryAfter a credential read or an untrusted web page, outbound calls tighten automatically. A push waits until the tests have passed since the last edit.
- Self-protectionEvery profile refuses changes to Avrik Guard itself: its binary, settings, processes, and uninstall command.
- Under 20 ms, on the laptopA per-user daemon decides locally. Nothing leaves the machine unless you connect it to a team workspace.
- Team modeJoin a workspace for signed team policy, a live kill switch, routed reviews, and every block in the shared ledger.
- Replay before you enforceReplay the last two weeks of Claude Code, Codex, and Cursor sessions offline to see what a profile would have done.
See every AI tool in the fleet.
Discovery lists the coding agents, desktop apps, IDE extensions, MCP servers, plugins, and AI credentials on a machine, and says which ones Avrik governs. Enrol machines for a daily snapshot and a fleet-wide coverage view.
It only reads. It starts no process, changes no file, and never puts file contents or credential values in its output.
avrik-guard discover
avrik-guard mcp scan
avrik-guard fleet enrolWhat it flags
- Coding agents with no Avrik hook installed
- MCP servers that are unpinned and unproxied
- Settings that skip permission prompts
- MCP servers reached over plain HTTP
- Servers handed the whole environment, credentials included
- Running MCP servers no configuration declares
- Hooks removed or changed after install
- Instruction files like CLAUDE.md changed outside a governed session
Earned autonomy.
For each kind of action people approve today, Avrik measures whether the approval step can safely go away. Reviewers decide blind, without seeing the model’s answer, so the comparison stays honest.
Already have an approval step? Point its webhook, Slack bot, or LangGraph interrupt at the approval gateway, and actions that have earned autonomy come back approved with no change to the agent.
- L0
Human approves all
Every action in the class waits for a person.
- L1
Shadow
Avrik decides alongside the human without acting, and the two are compared.
- L2
Eligible
The measured error rate meets your bar, with 95% confidence.
- L3
Autonomous
Avrik decides. A blind audit sample keeps measuring quality.
- L4
Attested
Autonomy is backed by signed evidence. Drift re-arms human review.
Built for the agentic threat model.
Mapped to all ten risks in the OWASP Top 10 for Agentic Applications. When a session reads untrusted content, its tool access tightens automatically.
Some attacks only show across a whole session. Investigate reviews sessions after the fact, off the decision path, and can only respond by adding restrictions.
Avrik decides what an agent may do. It is not a sandbox or a network firewall, and works alongside both.
- Goal hijacking through indirect prompt injection
- Tool misuse and scope creep
- Credential reads followed by data leaving the system
- Sensitive data in model output
- Hidden instructions in tool descriptions
- MCP servers that change their schema after approval
- Look-alike tool names across MCP servers
- Destructive shell commands and curl-pipe-to-shell
- Secrets pasted into prompts or returned by tools
- Poisoned agent instruction files and memory
- Loops and runaway budgets
- Agents that skip their permission prompts
Decide where it fits.
Rules run next to the agent by default, so a network blip never becomes an outage. Move semantic checks or whole decisions into the engine when you need keys, sessions, or policy out of the agent process.
Local
Rules and checks run in process. Rules-only decisions never leave it.
Hybrid
Rules run in process. Semantic checks go through the engine, which holds the model keys and enforces zero data retention, caching, and spend limits.
Remote
The engine decides with the same runtime, with sessions shared across processes. For the riskiest actions, or languages without an SDK.
- RuntimeAn embedded Rust core in every SDK, proxy, gateway, and hook. It verifies signed policy, evaluates rules, redacts sensitive data, and keeps session state.
- EngineThe control plane. It compiles and signs policy, runs the review queue and calibration, and keeps the ledger.
- ConsoleWrite guardrails, simulate them on past traffic, review escalations, see fleet coverage, and browse the ledger.
- InvestigateReviews whole sessions after the fact to catch what one-at-a-time checks miss. Its findings can only add restrictions.
- DiscoveryFinds the AI tools on every machine and shows which ones Avrik governs.
- CLIValidate, test, compile, and replay guardrails in CI.
Framework adapters, in preview
- LangGraph
- LangChain
- Strands Agents
- OpenAI Agents SDK
- Vercel AI SDK
- Mastra
Planned
- Google ADK
- CrewAI
- Pydantic AI
- LlamaIndex
- Amazon Bedrock AgentCore
- Go SDK
Evidence your auditors can verify.
Every decision is hash-chained into signed Merkle roots. Export a signed evidence pack mapped to the frameworks you report against.
- EU AI ActArticles 9, 12, 14, 15, 19, and 26
- ISO/IEC 42001AI management systems
- NIST AI RMFGovern, map, measure, and manage
- SOC 2Control evidence for your audit
Be first to steer your agents with Avrik.
Avrik Guard is in development with a small group of design partners.