In every framework we tried, a rule attached to one agent stops at that agent: hand the work to a helper and the forbidden action goes through. Behind our gate the helper holds at most what the agent above it holds, on OpenAI's Agents SDK, LangGraph, Google's ADK and across organisations over A2A.
## Why it matters
Agents now work in teams: one talks to the user, others do parts of the job, and some belong to other companies. Each framework lets the owner attach rules, but to one tool or one agent. An instruction planted in what the first agent reads does not need to break a rule: it only needs to ask a helper, whose own permissions are wider.
## What we did
We made the chain of who asked whom a fact the gate reads with every action. The agent called holds at most what every agent above it holds; handing work on is itself an action the gate decides, only toward the agents the company named and never back up the chain; what an agent sends back passes in a declared form, so a planted instruction cannot ride back in the answer. We wrote this into our open-source SDK for four ways of building agent teams:
- **OpenAI Agents SDK**: the whole team, handoffs and agents used as tools included.
- **LangGraph**: a supervisor and its workers; a refused handoff stays with the supervisor, which reads the reason.
- **Google ADK**: one plugin for the run, so every agent's tools are decided, not only the root's.
- **A2A**, agents of different companies: the agent called holds at most what its owner granted the caller, known by the owner's own login, never by what the message claims. A forged chain can only take permissions away.
## What we found
We ran each framework's real software with a stand-in for the model, so no model was called, on the same small team: an agent that may read the documentation, and a helper whose own permissions also write the wiki. With the framework's own way of setting rules, the helper wrote the wiki, read a system file, or slipped a planted instruction back into its answer: 4 of 5 forbidden actions went through on OpenAI's SDK and on ADK, 2 of 4 on LangGraph. Over A2A, a partner allowed only to read balances got a transfer made, and so did a caller with no permission at all: 5 of 5. Behind our gate, none went through, and every legitimate action ran.
## Technical detail
- OpenAI Agents SDK 0.26.2: tool guardrails on every tool of the first agent, 4 of 5; behind the gate 0 of 5. Legitimate 3 of 3 in both.
- LangGraph 1.2 with its supervisor package: rules per agent, 2 of 4; behind the gate 0 of 4. Legitimate 3 of 3.
- Google ADK 2.15: a guard callback on the root agent, 4 of 5; behind the gate 0 of 5. Legitimate 3 of 3.
- A2A with the reference SDK, over HTTP: the agent's own permissions, 5 of 5; behind the gate 0 of 5. Legitimate 1 of 1.
- The gate engine at 2.17.1; the adapters are in our open-source SDK.
```chart
{"title": "Forbidden actions that went through", "series": ["went through"], "unit": "", "max": 5, "rows": [["OpenAI Agents SDK, its guardrails", 4], ["LangGraph, rules per agent", 2], ["Google ADK, a callback on the root", 4], ["A2A, the agent's own permissions", 5], ["Behind our gate, each of the four", 0]]}
```
This update is not available.