<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Structured Outputs on Programmer.ie: Modern AI programming</title>
    <link>http://programmer.ie/tags/structured-outputs/</link>
    <description>Recent content in Structured Outputs on Programmer.ie: Modern AI programming</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Sat, 08 Aug 2026 15:46:00 +0100</lastBuildDate>
    <atom:link href="http://programmer.ie/tags/structured-outputs/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>AI Agent Returning Invalid Tool Calls? How to Validate LLM Actions</title>
      <link>http://programmer.ie/post/agents-from-first-principles-01/</link>
      <pubDate>Sat, 08 Aug 2026 15:46:00 +0100</pubDate>
      <guid>http://programmer.ie/post/agents-from-first-principles-01/</guid>
      <description>&lt;p&gt;If your agent sometimes invents a tool name, omits a required argument, returns malformed JSON, or produces an action that looks plausible but cannot actually be executed, the problem is usually not &amp;ldquo;the agent is dumb.&amp;rdquo;&lt;/p&gt;&#xA;&lt;p&gt;The problem is that &lt;strong&gt;raw language-model output has been allowed to cross directly into execution&lt;/strong&gt;.&lt;/p&gt;&#xA;&lt;p&gt;That boundary is too weak.&lt;/p&gt;&#xA;&lt;p&gt;The simplest useful agent architecture is not:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-text&#34; data-lang=&#34;text&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;prompt&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  ↓&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;model&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  ↓&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;execute whatever came back&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;It is:&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
