<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Tree Search on Programmer.ie: Modern AI programming</title>
    <link>http://programmer.ie/tags/tree-search/</link>
    <description>Recent content in Tree Search on Programmer.ie: Modern AI programming</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Sat, 08 Aug 2026 23:37:00 +0100</lastBuildDate>
    <atom:link href="http://programmer.ie/tags/tree-search/index.xml" rel="self" type="application/rss+xml" />
    <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>Agents From First Principles 08: AI Agent Picks the First Solution? Add Search Instead of One-Shot Generation</title>
      <link>http://programmer.ie/post/agents-from-first-principles-08/</link>
      <pubDate>Sat, 08 Aug 2026 17:26:00 +0100</pubDate>
      <guid>http://programmer.ie/post/agents-from-first-principles-08/</guid>
      <description>&lt;p&gt;An AI agent often fails for a surprisingly ordinary reason:&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;it commits too early.&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;It finds one plausible next action, follows it, and then spends the rest of the run trying to make that first choice work.&lt;/p&gt;&#xA;&lt;p&gt;That can look intelligent because the agent keeps reasoning, calling tools, revising plans, and explaining itself.&lt;/p&gt;&#xA;&lt;p&gt;But underneath, the trajectory may be almost completely determined by an early mistake.&lt;/p&gt;&#xA;&lt;p&gt;A coding agent chooses the wrong implementation strategy and spends twenty tool calls repairing it.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
