<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Best-of-N on Programmer.ie: Modern AI programming</title>
    <link>http://programmer.ie/tags/best-of-n/</link>
    <description>Recent content in Best-of-N on Programmer.ie: Modern AI programming</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Sat, 08 Aug 2026 17:26:00 +0100</lastBuildDate>
    <atom:link href="http://programmer.ie/tags/best-of-n/index.xml" rel="self" type="application/rss+xml" />
    <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>
    <item>
      <title>Agents From First Principles 02: AI Agent Gives Inconsistent Answers? Generate Multiple Candidates and Rank Them</title>
      <link>http://programmer.ie/post/agents-from-first-principles-02/</link>
      <pubDate>Sat, 08 Aug 2026 15:54:00 +0100</pubDate>
      <guid>http://programmer.ie/post/agents-from-first-principles-02/</guid>
      <description>&lt;p&gt;One of the first things you notice when you build anything around a large language model is that the same prompt does not always produce the same quality of answer.&lt;/p&gt;&#xA;&lt;p&gt;Sometimes the first response is excellent.&lt;/p&gt;&#xA;&lt;p&gt;Sometimes it is merely acceptable.&lt;/p&gt;&#xA;&lt;p&gt;Sometimes it misses the point entirely.&lt;/p&gt;&#xA;&lt;p&gt;That creates a very common agent-engineering question:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;If the model is inconsistent, should the agent trust the first answer it gets?&lt;/p&gt;&lt;/blockquote&gt;&#xA;&lt;p&gt;Often, no.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
