The New AI Agent Security Framework — Why This Actually Matters for Developers

6/7/2026

A few weeks ago, a coalition of AI companies announced the Secure Agent Protocol (SAP). I'll be honest — when I first heard about another industry framework, I rolled my eyes. But after reading through it and talking to some of the engineers involved, I think this one is different.

The Problem SAP Solves

AI coding agents have a fundamental security problem: they need access to your codebase to be useful, but that access can be dangerous if misused. Before SAP, every tool handled this differently. Codex Desktop had its sandbox modes. Claude Code used OS-level permissions. GitHub Copilot had its own access controls. There was no standard way to say "I want this agent to read my code but not modify it, and to access my database but only through read-only connections."

SAP standardizes this into four security tiers:

Tier 0 — Full Access. The agent can read and write any file, execute any command, and access any network resource. Equivalent to giving someone full shell access to your machine.

Tier 1 — Sandboxed. The agent runs in an isolated environment with restricted filesystem and network access. It can write to specific directories but not to system files. It can make network requests but only to approved endpoints.

Tier 2 — Reviewed. The agent can propose changes, but they require human approval before execution. File diffs are presented for review. Commands are shown before execution. The developer acts as a gatekeeper.

Tier 3 — Read-Only. The agent can read code and files but cannot modify anything or execute commands. Useful for code review, documentation generation, and question-answering.

Why It Matters

For individual developers, SAP means you can use the same security policy across different AI tools. If you configure a Tier 1 policy for Codex Desktop, you can apply the same policy to Claude Code. No more learning different security models for each tool.

For enterprises, SAP enables centralized security policies. A company can define "all AI coding agents working on our codebase must operate at Tier 2 or higher" and enforce it across every tool their teams use.

What's Implemented So Far

Codex Desktop has already implemented full SAP support. Claude Code supports Tier 0, 2, and 3 (Tier 1 sandboxing is in development). GitHub Copilot has announced support for Tier 2 and 3. The remaining major tools are expected to follow within the next quarter.

My Take

Security frameworks are usually boring, but this one is worth paying attention to. If you're using AI coding agents professionally — especially in a team or enterprise setting — understanding SAP will help you make better decisions about what access to grant and how to balance productivity with security.

The fact that OpenAI, Anthropic, GitHub, and Google all signed onto this is a good sign. Industry standards only work when everyone adopts them, and this one has the momentum to actually stick.