<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Tree of Thoughts on Programmer.ie: Modern AI programming</title>
    <link>http://programmer.ie/tags/tree-of-thoughts/</link>
    <description>Recent content in Tree of Thoughts on Programmer.ie: Modern AI programming</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Sat, 08 Aug 2026 23:25:00 +0100</lastBuildDate>
    <atom:link href="http://programmer.ie/tags/tree-of-thoughts/index.xml" rel="self" type="application/rss+xml" />
    <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 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>
  </channel>
</rss>
