<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Ross</title>
    <description>The latest articles on DEV Community by Ross (@rbuckley_).</description>
    <link>https://dev.to/rbuckley_</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3972517%2F35eec4be-14cf-4416-9f4b-5ca626efc709.png</url>
      <title>DEV Community: Ross</title>
      <link>https://dev.to/rbuckley_</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/rbuckley_"/>
    <language>en</language>
    <item>
      <title>AI Agents Don’t Need More Prompts. They Need Execution Boundaries.</title>
      <dc:creator>Ross</dc:creator>
      <pubDate>Sun, 07 Jun 2026 12:51:34 +0000</pubDate>
      <link>https://dev.to/rbuckley_/ai-agents-dont-need-more-prompts-they-need-execution-boundaries-5acg</link>
      <guid>https://dev.to/rbuckley_/ai-agents-dont-need-more-prompts-they-need-execution-boundaries-5acg</guid>
      <description>&lt;p&gt;AI agents are moving from chat into action.&lt;/p&gt;

&lt;p&gt;They can call tools, send emails, update records, delete data, trigger workflows, deploy code, issue refunds, change IAM permissions, and interact with MCP servers.&lt;/p&gt;

&lt;p&gt;That shift is powerful.&lt;/p&gt;

&lt;p&gt;It is also where things start to get dangerous.&lt;/p&gt;

&lt;p&gt;Most AI safety conversations still focus on the model:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Can we make the model follow instructions?&lt;/li&gt;
&lt;li&gt;Can we stop prompt injection?&lt;/li&gt;
&lt;li&gt;Can we make the agent reason better?&lt;/li&gt;
&lt;li&gt;Can we stop it hallucinating?&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Those questions matter.&lt;/p&gt;

&lt;p&gt;But they miss the moment that matters most:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;What happens when the agent is about to actually do something?&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Because at that point, the prompt is no longer the control surface.&lt;/p&gt;

&lt;p&gt;The execution boundary is.&lt;/p&gt;

&lt;h2&gt;
  
  
  The problem: the agent can be wrong, but the side effect still happens
&lt;/h2&gt;

&lt;p&gt;Imagine an agent connected to a refund tool.&lt;/p&gt;

&lt;p&gt;The user asks:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Refund order ord-123 for £25.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;The agent correctly calls:&lt;/p&gt;

&lt;p&gt;python issue_refund(order_id="ord-123", amount_cents=2500) &lt;/p&gt;

&lt;p&gt;Fine.&lt;/p&gt;

&lt;p&gt;But now imagine the agent is prompt-injected, confused, compromised, or just wrong.&lt;/p&gt;

&lt;p&gt;It calls:&lt;/p&gt;

&lt;p&gt;python issue_refund(order_id="ord-456", amount_cents=250000) &lt;/p&gt;

&lt;p&gt;Or it repeats the same refund twice.&lt;/p&gt;

&lt;p&gt;Or it uses a proof meant for one customer against another customer.&lt;/p&gt;

&lt;p&gt;Or it calls a more dangerous tool than the one the user actually authorised.&lt;/p&gt;

&lt;p&gt;At that point, another system has to decide:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Is this exact action allowed to happen?&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Not “does the model seem trustworthy?”&lt;/p&gt;

&lt;p&gt;Not “did the prompt say to be careful?”&lt;/p&gt;

&lt;p&gt;Not “does this look roughly similar to the original request?”&lt;/p&gt;

&lt;p&gt;The question is:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Is there valid proof for this exact action, with these exact parameters, for this exact service, right now?&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;If not, the side effect should not execute.&lt;/p&gt;

&lt;h2&gt;
  
  
  The idea: no valid proof, no execution
&lt;/h2&gt;

&lt;p&gt;I’ve been working on an open-source project called Actenon Kernel.&lt;/p&gt;

&lt;p&gt;The idea is simple:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;AI agents can propose actions. Protected systems decide whether those actions are allowed to execute.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Actenon is not a prompt filter.&lt;/p&gt;

&lt;p&gt;It is not an output moderator.&lt;/p&gt;

&lt;p&gt;It does not try to make the model truthful.&lt;/p&gt;

&lt;p&gt;It sits at the execution boundary and refuses consequential actions unless the caller presents a cryptographic proof bound to the exact action being attempted.&lt;/p&gt;

&lt;p&gt;That proof can bind:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;the action name&lt;/li&gt;
&lt;li&gt;the capability&lt;/li&gt;
&lt;li&gt;the exact parameters&lt;/li&gt;
&lt;li&gt;the target resource&lt;/li&gt;
&lt;li&gt;the intended audience/service&lt;/li&gt;
&lt;li&gt;expiry time&lt;/li&gt;
&lt;li&gt;replay protection&lt;/li&gt;
&lt;li&gt;policy or approval evidence&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If the proof is missing, expired, replayed, audience-mismatched, malformed, or bound to different parameters, the action is refused before the side effect.&lt;/p&gt;

&lt;h2&gt;
  
  
  A tiny example
&lt;/h2&gt;

&lt;p&gt;The mental model looks like this:&lt;/p&gt;

&lt;p&gt;python from actenon import ActenonGate  gate = ActenonGate.local_dev(audience="service:refunds")  action = gate.build_action(     "refund.issue",     "payment.refund",     {"order_id": "ord-123", "amount_cents": 2500},     target_type="order",     target_id="ord-123",     tenant_id="demo",     requester_id="support-agent", )  # Local demo only. # In production, this proof would be minted by your auth layer, # policy engine, approval workflow, or control plane. proof = gate.mint_proof(action)  outcome = gate.protect(     action,     proof,     lambda: issue_refund("ord-123", 2500),     audience="service:refunds", ) &lt;/p&gt;

&lt;p&gt;The important part is the lambda.&lt;/p&gt;

&lt;p&gt;If the proof does not validate, that function never runs.&lt;/p&gt;

&lt;p&gt;The model can ask.&lt;/p&gt;

&lt;p&gt;The boundary decides.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why this matters for MCP and agent tools
&lt;/h2&gt;

&lt;p&gt;MCP makes it easier for agents to reach tools.&lt;/p&gt;

&lt;p&gt;That is useful.&lt;/p&gt;

&lt;p&gt;But it also means a model-visible tool can become a bridge into real systems: filesystems, databases, CRMs, terminals, deployment pipelines, payment systems, and internal admin workflows.&lt;/p&gt;

&lt;p&gt;So the question becomes:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;How does the tool decide whether a specific call should execute?&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Actenon’s answer is that the MCP tool should not rely on the model behaving correctly. It should require proof at the point of execution.&lt;/p&gt;

&lt;p&gt;A prompt-injected agent might call the tool.&lt;/p&gt;

&lt;p&gt;The tool still refuses unless the proof matches the exact action.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why this is different from IAM
&lt;/h2&gt;

&lt;p&gt;IAM answers:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Who or what has access?&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Actenon answers:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Is this exact agentic action authorised right now?&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Those are different controls.&lt;/p&gt;

&lt;p&gt;An agent may have access to a refund API.&lt;/p&gt;

&lt;p&gt;That does not mean every refund amount, every customer, every retry, and every target should be allowed.&lt;/p&gt;

&lt;p&gt;IAM is necessary.&lt;/p&gt;

&lt;p&gt;But for autonomous or semi-autonomous agents, it is not always granular enough at execution time.&lt;/p&gt;

&lt;h2&gt;
  
  
  Local demo
&lt;/h2&gt;

&lt;p&gt;The repo includes a tiny interactive demo:&lt;/p&gt;

&lt;p&gt;bash python examples/interactive_execution_demo.py &lt;/p&gt;

&lt;p&gt;It shows:&lt;/p&gt;

&lt;p&gt;text ✅ approved refund: ord-123 £25.00              -&amp;gt; executed 🛑 hallucinated refund: ord-456 £2,500.00       -&amp;gt; refused / INTENT_MISMATCH 🛑 replay approved refund                       -&amp;gt; refused / DUPLICATE_REPLAY 🛑 refund with no proof                         -&amp;gt; refused / PCCB_REQUIRED &lt;/p&gt;

&lt;p&gt;Only the approved action reaches the side-effect function.&lt;/p&gt;

&lt;p&gt;Everything else is dropped.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I’m looking for
&lt;/h2&gt;

&lt;p&gt;I’d love feedback from people building with:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;MCP&lt;/li&gt;
&lt;li&gt;LangChain / LangGraph&lt;/li&gt;
&lt;li&gt;Claude tools&lt;/li&gt;
&lt;li&gt;OpenAI tool calling&lt;/li&gt;
&lt;li&gt;coding agents&lt;/li&gt;
&lt;li&gt;internal workflow agents&lt;/li&gt;
&lt;li&gt;agentic CI/CD&lt;/li&gt;
&lt;li&gt;AI admin tools&lt;/li&gt;
&lt;li&gt;finance, healthcare, IAM, or regulated workflows&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The question I’m trying to sharpen is:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Where should the proof boundary sit in real-world agent architectures?&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Repo here, if useful:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/Actenon/actenon-kernel" rel="noopener noreferrer"&gt;https://github.com/Actenon/actenon-kernel&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The goal is not to make every agent safe.&lt;/p&gt;

&lt;p&gt;The goal is to make consequential action surfaces deterministic.&lt;/p&gt;

&lt;p&gt;No valid proof, no execution.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>devops</category>
      <category>security</category>
      <category>machinelearning</category>
    </item>
  </channel>
</rss>
