<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Agentic AI on Programmer.ie: Modern AI programming</title>
    <link>http://programmer.ie/tags/agentic-ai/</link>
    <description>Recent content in Agentic AI on Programmer.ie: Modern AI programming</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Sat, 08 Aug 2026 23:49:00 +0100</lastBuildDate>
    <atom:link href="http://programmer.ie/tags/agentic-ai/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Advanced Agents From First Principles 06: Does One Agent Plan, Execute and Judge Its Own Work? Build a Planner-Executor-Critic Architecture</title>
      <link>http://programmer.ie/post/advanced-agents-from-first-principles-06/</link>
      <pubDate>Sat, 08 Aug 2026 23:49:00 +0100</pubDate>
      <guid>http://programmer.ie/post/advanced-agents-from-first-principles-06/</guid>
      <description>&lt;h1 id=&#34;does-one-agent-plan-execute-and-judge-its-own-work-build-a-planner-executor-critic-architecture&#34;&gt;Does One Agent Plan, Execute and Judge Its Own Work? Build a Planner-Executor-Critic Architecture&lt;/h1&gt;&#xA;&lt;p&gt;A single model can often do all of these things:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;understand a task,&lt;/li&gt;&#xA;&lt;li&gt;decide what to do,&lt;/li&gt;&#xA;&lt;li&gt;execute a tool call,&lt;/li&gt;&#xA;&lt;li&gt;inspect the result,&lt;/li&gt;&#xA;&lt;li&gt;critique its own work,&lt;/li&gt;&#xA;&lt;li&gt;decide whether it succeeded,&lt;/li&gt;&#xA;&lt;li&gt;and produce the final answer.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;That is convenient.&lt;/p&gt;&#xA;&lt;p&gt;It is also a dangerous concentration of responsibilities.&lt;/p&gt;&#xA;&lt;p&gt;If the same component creates the plan, executes it, explains why the result is good, and decides whether the job is complete, then failures become difficult to localize.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Advanced Agents From First Principles 05: Is One Model Doing Everything? Build a Mixture of Experts at the Agent Level</title>
      <link>http://programmer.ie/post/advanced-agents-from-first-principles-05/</link>
      <pubDate>Sat, 08 Aug 2026 23:41:00 +0100</pubDate>
      <guid>http://programmer.ie/post/advanced-agents-from-first-principles-05/</guid>
      <description>&lt;p&gt;A common agent architecture starts simply:&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;request&#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;action&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;That simplicity is valuable.&lt;/p&gt;&#xA;&lt;p&gt;It should be your default.&lt;/p&gt;&#xA;&lt;p&gt;But eventually you may notice something strange.&lt;/p&gt;&#xA;&lt;p&gt;The same model is being asked to do everything:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;classify the task,&lt;/li&gt;&#xA;&lt;li&gt;search documentation,&lt;/li&gt;&#xA;&lt;li&gt;reason about code,&lt;/li&gt;&#xA;&lt;li&gt;write SQL,&lt;/li&gt;&#xA;&lt;li&gt;review a patch,&lt;/li&gt;&#xA;&lt;li&gt;summarize logs,&lt;/li&gt;&#xA;&lt;li&gt;judge another model,&lt;/li&gt;&#xA;&lt;li&gt;decide whether a deployment is safe,&lt;/li&gt;&#xA;&lt;li&gt;and answer simple questions that did not require an expensive model in the first place.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;At that point the problem may no longer be:&lt;/p&gt;</description>
    </item>
    <item>
      <title>Advanced Agents From First Principles 04: Does Your Agent Prune Good Ideas Too Early? Use Monte Carlo Tree Search for Long-Horizon Reasoning</title>
      <link>http://programmer.ie/post/advanced-agents-from-first-principles-04/</link>
      <pubDate>Sat, 08 Aug 2026 23:37:00 +0100</pubDate>
      <guid>http://programmer.ie/post/advanced-agents-from-first-principles-04/</guid>
      <description>&lt;p&gt;A common failure in search-based agents is easy to miss.&lt;/p&gt;&#xA;&lt;p&gt;The agent generates several plausible branches.&lt;/p&gt;&#xA;&lt;p&gt;It scores them.&lt;/p&gt;&#xA;&lt;p&gt;One branch looks weak.&lt;/p&gt;&#xA;&lt;p&gt;So the runtime prunes it.&lt;/p&gt;&#xA;&lt;p&gt;Later, you discover that the discarded branch was the only one that could have reached the correct solution.&lt;/p&gt;&#xA;&lt;p&gt;The problem was not generation.&lt;/p&gt;&#xA;&lt;p&gt;The problem was not necessarily the model.&lt;/p&gt;&#xA;&lt;p&gt;The problem was &lt;strong&gt;search allocation&lt;/strong&gt;.&lt;/p&gt;&#xA;&lt;p&gt;The agent spent too much compute exploiting what looked good early and too little compute exploring alternatives whose value only became visible later.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Advanced Agents From First Principles 03: Does Your Agent Commit to a Bad Reasoning Path Too Early? Build a Tree of Thoughts</title>
      <link>http://programmer.ie/post/advanced-agents-from-first-principles-03/</link>
      <pubDate>Sat, 08 Aug 2026 23:25:00 +0100</pubDate>
      <guid>http://programmer.ie/post/advanced-agents-from-first-principles-03/</guid>
      <description>&lt;p&gt;A reasoning agent can fail even when every individual step looks plausible.&lt;/p&gt;&#xA;&lt;p&gt;The problem is often not that the model cannot produce a good line of reasoning.&lt;/p&gt;&#xA;&lt;p&gt;The problem is that it commits too early.&lt;/p&gt;&#xA;&lt;p&gt;It chooses one interpretation, one hypothesis, one plan, or one next step and then spends the rest of the run trying to make that decision work.&lt;/p&gt;&#xA;&lt;p&gt;That gives us a common failure pattern:&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;problem&#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;first plausible thought&#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;second thought conditioned on the first&#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;third thought conditioned on both&#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;...&#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;confident answer built on an early mistake&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;If the first branch was wrong, every later step inherits the error.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Advanced Agents From First Principles 02: Why Does My Reasoning Agent Give a Different Answer Every Time? Use Self-Consistency Without Confusing Consensus With Truth</title>
      <link>http://programmer.ie/post/advanced-agents-from-first-principles-02/</link>
      <pubDate>Sat, 08 Aug 2026 22:44:00 +0100</pubDate>
      <guid>http://programmer.ie/post/advanced-agents-from-first-principles-02/</guid>
      <description>&lt;p&gt;A reasoning agent gives you one answer.&lt;/p&gt;&#xA;&lt;p&gt;You run it again.&lt;/p&gt;&#xA;&lt;p&gt;It gives you another.&lt;/p&gt;&#xA;&lt;p&gt;You change nothing important:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;same task,&lt;/li&gt;&#xA;&lt;li&gt;same tools,&lt;/li&gt;&#xA;&lt;li&gt;same model family,&lt;/li&gt;&#xA;&lt;li&gt;same broad context.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;Yet the result changes.&lt;/p&gt;&#xA;&lt;p&gt;That is not necessarily a bug.&lt;/p&gt;&#xA;&lt;p&gt;A probabilistic model is allowed to produce more than one plausible trajectory.&lt;/p&gt;&#xA;&lt;p&gt;The engineering question is different:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;&lt;strong&gt;How should an agent system use that variation?&lt;/strong&gt;&lt;/p&gt;&lt;/blockquote&gt;&#xA;&lt;p&gt;One common answer is &lt;strong&gt;self-consistency&lt;/strong&gt;.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Advanced Agents From First Principles 01: Does Your AI Agent Fail on Complex Reasoning Tasks? Treat Chain of Thought as Computation, Not Proof</title>
      <link>http://programmer.ie/post/advanced-agents-from-first-principles-01/</link>
      <pubDate>Sat, 08 Aug 2026 22:35:00 +0100</pubDate>
      <guid>http://programmer.ie/post/advanced-agents-from-first-principles-01/</guid>
      <description>&lt;p&gt;Most developers first encounter chain of thought as a prompting trick:&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;Think step by step.&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;That framing is too shallow for agent engineering.&lt;/p&gt;&#xA;&lt;p&gt;For an advanced agent, the useful idea is not that the model should produce a long explanation. The useful idea is that a difficult task may benefit from &lt;strong&gt;intermediate computational state&lt;/strong&gt; before the system commits to an action or answer.&lt;/p&gt;&#xA;&lt;p&gt;That is a very different claim.&lt;/p&gt;&#xA;&lt;p&gt;A reasoning trace can help a system decompose a problem, preserve intermediate conclusions, identify missing information, decide what to verify next, and expose places where search or tools should be used.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Advanced Agents From First Principles 00: When Should You Use an Advanced Agent Architecture?</title>
      <link>http://programmer.ie/post/advanced-agents-from-first-principles-00/</link>
      <pubDate>Sat, 08 Aug 2026 22:27:00 +0100</pubDate>
      <guid>http://programmer.ie/post/advanced-agents-from-first-principles-00/</guid>
      <description>&lt;h1 id=&#34;advanced-agents-from-first-principles-00-when-should-you-use-an-advanced-agent-architecture&#34;&gt;Advanced Agents From First Principles 00: When Should You Use an Advanced Agent Architecture?&lt;/h1&gt;&#xA;&lt;p&gt;You built an agent.&lt;/p&gt;&#xA;&lt;p&gt;It can:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;call tools,&lt;/li&gt;&#xA;&lt;li&gt;maintain state,&lt;/li&gt;&#xA;&lt;li&gt;plan,&lt;/li&gt;&#xA;&lt;li&gt;revise its own work,&lt;/li&gt;&#xA;&lt;li&gt;search over alternatives,&lt;/li&gt;&#xA;&lt;li&gt;remember useful information,&lt;/li&gt;&#xA;&lt;li&gt;and verify whether the requested outcome actually happened.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;Now the temptation begins.&lt;/p&gt;&#xA;&lt;p&gt;You add another model.&lt;/p&gt;&#xA;&lt;p&gt;Then a critic.&lt;/p&gt;&#xA;&lt;p&gt;Then a planner.&lt;/p&gt;&#xA;&lt;p&gt;Then a judge.&lt;/p&gt;&#xA;&lt;p&gt;Then a router.&lt;/p&gt;&#xA;&lt;p&gt;Then three specialist agents.&lt;/p&gt;&#xA;&lt;p&gt;Then a tree search.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Agents From First Principles 09: AI Agent Says It Worked When It Didn’t? Verify the Result Outside the LLM</title>
      <link>http://programmer.ie/post/agents-from-first-principles-09/</link>
      <pubDate>Sat, 08 Aug 2026 17:31:00 +0100</pubDate>
      <guid>http://programmer.ie/post/agents-from-first-principles-09/</guid>
      <description>&lt;p&gt;An AI agent says:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;Done. The task is complete.&lt;/p&gt;&lt;/blockquote&gt;&#xA;&lt;p&gt;That sentence is almost worthless.&lt;/p&gt;&#xA;&lt;p&gt;The agent may have:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;edited the wrong file,&lt;/li&gt;&#xA;&lt;li&gt;changed the right file incorrectly,&lt;/li&gt;&#xA;&lt;li&gt;skipped part of the request,&lt;/li&gt;&#xA;&lt;li&gt;broken another subsystem,&lt;/li&gt;&#xA;&lt;li&gt;failed to save its work,&lt;/li&gt;&#xA;&lt;li&gt;misread a tool result,&lt;/li&gt;&#xA;&lt;li&gt;passed a stale test,&lt;/li&gt;&#xA;&lt;li&gt;inspected the wrong environment,&lt;/li&gt;&#xA;&lt;li&gt;or simply decided that its own answer looked convincing.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;The central problem is simple:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;&lt;strong&gt;The system that produced the answer should not be the only system deciding whether the answer is correct.&lt;/strong&gt;&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
