Govern what AI agents can do —
and what they can’t.

Runtime policy enforcement for Claude Code, Claude Desktop, Cursor, Codex, OpenClaw — and agents running inside your editor.

A hijacked AI agent tries to steal your credentials. Without Naevik it succeeds silently — with Naevik the action is blocked, traced, and logged.
How it works

Enforcement happens at the OS — not the prompt.

Naevik runs below the AI agent. Every action it takes is checked against your policy by the operating system’s own enforcement hooks, before it can take effect.

  1. 1

    The AI agent acts

    Claude Code tries to run a command, open a file, or reach out over the network.

  2. 2

    Naevik checks your policy

    Before the action completes, an OS enforcement hook — BPF_LSM on Linux, EndpointSecurity on macOS, or a kernel driver on Windows — evaluates it against your rules.

  3. 3

    Allow · Deny · Log

    It runs, it’s blocked before it takes effect, or it’s recorded for audit — exactly as your policy says, and nothing logged that you didn’t ask for.

What a policy looks like

Allow what you trust. Deny the rest. Log the maybes.

One local policy governs all your AI agents — and every process each one spawns — across what they run, the files they touch, and where they connect.

AI agents : claude-code · cursor · codex local policy
Process gitgreplspython3… else deny all
Files /Users/alex/code/web-app/**… else deny all
Network 10.2.0.0/16prod api.anthropic.com:443 10.3.0.0/16:443sand else log all
allowed — runs silently denied — blocked before it takes effect logged — recorded for you to audit

These rules cover the AI agent and every process it spawns — child, grandchild, all the way down. Shell out to python3 or bash, and that process is held to the same file and network rules. No escaping the policy by launching a subprocess.

For individual developers

Three ways to keep an AI coding agent honest.

Author a local policy on your own machine — no server, no account, nothing leaves the device.

01Confine

Keep an AI agent in its project.

Claude Code reads and writes your repo, but /Users/alex/.ssh and /Users/alex/.aws stay off-limits — and it can’t write anywhere else on disk.

files allow /Users/alex/code/web-app/** deny all
02Restrain

Lock down where it connects.

The AI agent reaches only your test server and the API it needs — the rest of your LAN is blocked, and everything else is logged so you can see where it tried to go.

network allow 192.168.0.200 deny 192.168.0.0/24 allow api.openai.com:443 log all
03Audit

See what a plugin really did.

Add a log rule and review it later — exactly what a freshly-installed skill or MCP plugin reached for behind your back.

files log /Users/alex/Downloads/**
Editions

Personal today. Team soon.

Naevik Personal is free. Naevik Team — centrally managed for organizations — is on the way.

Personal Free

On-device policy — no server, no cloud, no license key. For Windows and macOS.

Team Coming

Centrally managed policy and audit for a whole fleet, on a server you own.

See the real UI

What it looks like on your machine.

Native on each OS — macOS shown here. Click any screenshot to enlarge.