Guardrails for AI coding agents.

APERION Shield checks what a coding agent is about to do, on the laptop, before it runs. It works inside the agent's own hooks in Claude Code, Cursor and Codex. Free and local for one developer. Smartflow Shield adds central policy, a named person on every call and one log across the fleet.

Get Shield on GitHub · Request a demo

Pick your coding agent.

AgentWhat Shield checksPage
Claude CodePrompts, shell commands, file edits and MCP callsAPERION Shield for Claude Code
CursorPrompts, shell commands, file reads and MCP callsAPERION Shield for Cursor
CodexShell commands and MCP callsAPERION Shield for Codex

Shield also installs hooks for Gemini CLI and GitHub Copilot CLI.

Four outcomes for every call.

  1. Allow. Routine work passes.
  2. Warn. The call runs and the developer sees why it was flagged.
  3. Ask. The agent stops and the developer decides, in the allow or deny card the tool already shows.
  4. Stop. A command that wipes a root directory, a reverse shell, or an agent editing Shield's own hooks is refused.

Install on one laptop.

curl -fsSL https://shield-get.aperion.ai | sh
aperion-shield --install-agent-hooks
aperion-shield --install-guard

The second command writes Shield's hooks for each supported agent on the machine. The third starts a watcher: if an agent removes Shield's hook, Shield puts it back.

Free on one laptop. Governed across the fleet.

APERION Shield is free, local and source-available under the Elastic License 2.0. No cloud, no telemetry, no account. Local rules, hooks, a scan of an MCP server before you install it, an OS sandbox and a local approval inbox.

Smartflow Shield connects each laptop to your Smartflow gateway. Managed settings lock the hooks at the machine level. Directory sign-in puts a named person on every call. The gateway applies your policy, enforces a spend cap for each person on calls that pass through it, and writes one log.

What it does not do.

  • Commands a developer types in their own terminal are outside the agent, and outside Shield.
  • A tool called by its full path goes around Shield's command shims.
  • Shield does not inspect an editor extension's startup code.
  • A question from Shield goes to the developer at the keyboard. Approval by a second person applies to tool calls that pass through the gateway.
  • This page states no savings, latency or uptime figure.

Frequently asked questions

Is Shield open source?

Shield is source-available under the Elastic License 2.0. The source is public and the binary is free to use.

Does Shield need Smartflow?

No. Shield runs alone on one machine with local rules. Smartflow Shield adds central policy, directory sign-in, a spend cap and one log.

Which coding agents does it cover?

Claude Code, Cursor and Codex through their native hooks, with hooks for Gemini CLI and GitHub Copilot CLI.

Can an agent switch Shield off?

An agent editing Shield's hooks is refused. If a hook entry is removed, the guard puts it back. On a managed laptop the hooks are locked at the machine level.

What does it cost?

APERION Shield is free. Smartflow Shield is sold with Smartflow. Ask us for pricing.

Claude Code is a product of Anthropic. Cursor is a product of Anysphere. Codex is a product of OpenAI. Gemini CLI is a product of Google. GitHub Copilot is a product of GitHub. APERION is an independent company.

Put this in the path of your own agents.

Policy enforced inline between your agents and every model and tool they reach, with a record bound to the human who owns it.

Request a Demo Read the docs