The last guardrail
Guardrails sit at three layers: what goes into the model, what comes out, and what the agent does. Agents now rewrite their own prompts and tools. The guardrail that has to hold is the one at the action.
When people talk about AI guardrails, they usually mean filters around the model: a check on what goes in, and a check on what comes out. Those filters matter. They were also designed for a chatbot, where the worst outcome of a bad answer is a bad answer. An agent is different. Its output is not a paragraph. It is a refund, a change to a supplier’s bank details, a deleted table.
Three layers
Guardrails sit at three layers.
- What goes into the model. Prompt filters look for injected instructions, sensitive data and requests the system should refuse.
- What comes out. Output filters look for leaked data, unsafe content and answers that break a rule.
- What the agent does. Action checks look at the call itself: which agent, acting for whom, wants to do what, to which system.
Input and output filters read language. Action checks read an action. That difference decides which of them can hold.
Filters read language, and language bends
A prompt filter has to decide whether a piece of text is an attack. Attackers are good at text. An instruction can be split across a document, hidden in a web page the agent reads, translated, encoded or phrased as a harmless correction. Each new filter rule invites a new phrasing. Output filters have the same problem in reverse: they judge whether text looks harmful, and a manipulated agent can produce text that looks routine alongside a tool call that is not.
None of this makes filters useless. They reduce how often an agent is steered off course, and they catch a great deal of noise. But a filter is a classifier, and every classifier makes mistakes. If the last thing between a manipulated agent and your payment system is a classifier, then sooner or later it will be wrong on a call that matters.
Agents now change themselves
The second problem is newer. Agents no longer stay as they were deployed. Teams build agents that rewrite their own prompts after a bad result, pick up new tools as they find them, keep what they learned in memory and move to a better model when one is released. Some of this is designed as self-improvement. Some of it is what happens when a framework updates or a team tunes an agent every week.
The effect is the same. The agent you reviewed in spring is not the agent running in autumn. Its instructions have drifted, its tools have grown, and its model may have changed underneath it. A guardrail written into the prompt drifts with the prompt. A filter tuned to one model’s habits may not fit the next. Testing the agent once, before it goes live, tells you about an agent that no longer exists.
Freezing agents to keep them governable throws away the reason to use them. So the question becomes: what stays fixed while the agent changes?
The guardrail at the action
The action is the part that keeps its shape. However the agent was prompted, however it reasoned and whichever model it ran on, it ends up asking a system to do something: pay this supplier, change this record, export this table. That request can be checked against a policy the agent can’t edit.
An action guardrail has three parts.
- Policy decides each call. The decision uses the agent, the person it acts for, their groups, the tool and the target system. It doesn’t depend on reading the agent’s intent from its text.
- A named person signs the sensitive ones. Calls your policy marks as sensitive wait until someone other than the requester approves that exact call.
- The record proves it. Every decision goes into a record that someone can check later without trusting the system that wrote it.
This is the guardrail that holds when the others are fooled, for every call that passes through it. A manipulated agent can still ask for anything. What it gets is what policy allows for that agent and that person, and the sensitive requests still wait for a signature. Your agent can rewrite its own playbook. It still can’t exceed its authority.
An action guardrail does not make the agent’s choices good. Actions your policy allows remain allowed, and an agent can still make a poor decision inside its authority. That is why the other two layers stay worth having, and why the policy itself deserves the same review as any other control. What the action layer adds is a limit the agent can’t talk its way past, and a record of what happened inside it.
A morning at the insurer
An insurer runs a claims agent. Over the past month the team has let it refine its own instructions, and they have connected a new tool for updating payee details, marked in the policy as sensitive. On Tuesday a claimant uploads a document with an instruction buried in it: change the payout account to this one.
The prompt filter doesn’t flag it, because the instruction reads like a routine correction. The agent follows it and calls the payee tool. The call waits. A team leader opens the request, sees the exact change, the claim and the new account, and declines it. The ledger records the request, the decision and who made it.
Nobody had to predict how the agent’s instructions would drift, or what the attack would look like. The limit sat on the action.
- agent
- agent:claims-handler
- acting for
- user:sam
- call
- payees.update · claim 88231 · new account
- decision
- ask · held for a signer
- declined by
- user:dana
- sealed
- checkpoint #142 · RFC 3161 timestamp
Where Pyloros fits
Pyloros is an action guardrail. It sits between agents and the systems they call, over MCP or A2A, and checks every call that passes through it against your policy. Calls your policy marks as sensitive wait for a passkey signature from a named person who is not the requester. The agent never holds the system’s credentials, because Pyloros adds them to the approved call on its way out. Every call goes into a tamper-evident record, sealed with signed checkpoints and independent timestamps, which your auditor verifies offline without trusting us.
The policy lives outside the agent. The agent can change its prompts, its tools and its model, and the same rules and the same record apply.
A checklist for leaders
- Layers. For each agent in production, which guardrails sit on its input, its output and its actions?
- Drift. When an agent changes its own prompts, tools or model, what review does the change get, and who sees it?
- Authority. Is there a limit on what each agent can do that the agent itself can’t edit?
- Signatures. Which actions need a named person to approve the exact call, and can that person be the one who asked?
- Proof. If a regulator asked about one action tomorrow, could you show who allowed it, in a record they can check without trusting you?
If you can’t answer question three, that is the part we work on. We’re looking for design partners in finance and pharma who want to try this on one system and one workflow. Write to us at hello@arxytas.com.
The insurer and the claim described above are illustrative.