<?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: Tobias</title>
    <description>The latest articles on DEV Community by Tobias (@to21as).</description>
    <link>https://dev.to/to21as</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.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4053493%2F28190ca7-cd4d-48ab-bc5a-65f037e3d79e.png</url>
      <title>DEV Community: Tobias</title>
      <link>https://dev.to/to21as</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/to21as"/>
    <language>en</language>
    <item>
      <title>Where the guardrail lives</title>
      <dc:creator>Tobias</dc:creator>
      <pubDate>Sat, 01 Aug 2026 18:42:28 +0000</pubDate>
      <link>https://dev.to/to21as/where-the-guardrail-lives-329p</link>
      <guid>https://dev.to/to21as/where-the-guardrail-lives-329p</guid>
      <description>&lt;p&gt;Three threads I read this week were about the same question: when should an AI agent stop and ask a human? All three answered at the level of the action. Which tool call is risky, which amount needs a signature, which decision the model isn't allowed to make.&lt;/p&gt;

&lt;p&gt;The cheapest guardrail I have doesn't live there. It's picking what the thing runs inside.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The renderer that never gets trusted&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Part of what I build renders arbitrary HTML in a headless browser. Anyone can hand it a URL or a page of script, and there's no version of that where I trust the renderer to behave. So it doesn't get asked to. It runs sandboxed, with egress rules, resource limits and a hard wall-clock deadline, and a bad render gets killed rather than reasoned with. None of the safety comes from the thing being careful.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The same rule, pointed at my own tooling&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Reach gets reduced before the run, not judged during it. Two I actually hold myself to:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Two browser-automation paths. One drives my real logged-in profile, for the handful of tasks that genuinely need it. One launches an empty throwaway profile, and that's the default for everything else.&lt;/li&gt;
&lt;li&gt;Secrets get written to a file and passed by path, never echoed into the conversation. A value that never enters the context can't leak through a summary, a log, or a screenshot of the session.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Both cost something real. I script a login instead of already being logged in, and I read a path instead of a value. It has overruled the convenient option more than once.&lt;/p&gt;

&lt;p&gt;Rules the agent follows are still worth having. They just can't be the only layer, because they share one failure mode: they depend on the agent correctly judging what it's about to do.&lt;/p&gt;

&lt;p&gt;So, one question, since I only have my own handful of examples: what's something you've made structurally impossible for your agent, rather than something you told it not to do?&lt;/p&gt;

</description>
      <category>agents</category>
      <category>architecture</category>
      <category>security</category>
    </item>
  </channel>
</rss>
