<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Reasoning on AIBussin — AI applications, systems and books</title><link>https://aibussin.com/tags/reasoning/</link><description>Recent content in Reasoning on AIBussin — AI applications, systems and books</description><generator>Hugo</generator><language>en-US</language><lastBuildDate>Wed, 23 Sep 2026 05:00:04 +0100</lastBuildDate><atom:link href="https://aibussin.com/tags/reasoning/index.xml" rel="self" type="application/rss+xml"/><item><title>What Is an Agent, Really?</title><link>https://aibussin.com/books/agents-from-first-principles/01-chapter/</link><pubDate>Sat, 08 Aug 2026 15:40:00 +0100</pubDate><guid>https://aibussin.com/books/agents-from-first-principles/01-chapter/</guid><description>&lt;p&gt;This book is about building systems &lt;strong&gt;around&lt;/strong&gt; models. Before we build planners, memory, tool routing, critics, search and verifiers, we need an answer to a question that turns out to be harder than it looks:&lt;/p&gt;&#10;&lt;blockquote&gt;&#10;&lt;p&gt;&lt;strong&gt;What is an agent?&lt;/strong&gt;&lt;/p&gt;&#10;&lt;/blockquote&gt;&#10;&lt;p&gt;The word is currently applied to almost everything: a single LLM call, a chatbot, a fixed pipeline, a tool-using loop, and any five model calls with class names ending in &lt;code&gt;Agent&lt;/code&gt;. Those systems may all be useful. But when one word covers all of them, it stops telling us anything about the computation, and we lose the ability to say which mechanism is doing the work.&lt;/p&gt;</description></item><item><title>The Context Window Is a Budget</title><link>https://aibussin.com/books/context/04-chapter/</link><pubDate>Wed, 23 Sep 2026 05:00:04 +0100</pubDate><guid>https://aibussin.com/books/context/04-chapter/</guid><description>&lt;p&gt;Chapter 3 ended with an observation: every hidden layer costs something. A team running a coding agent on a model with a million-token window read that sentence and shrugged. Their sessions rarely passed 150,000 tokens. Nothing was being truncated, nothing was overflowing, and the window, they reasoned, had settled the matter. Then two things happened. First, a long debugging session died at turn eleven with the model stopping mid-repair, not because the input had crossed a million tokens but because the input plus the output the model still needed no longer fit together. Second, the invoice arrived, and the &amp;ldquo;plenty of headroom&amp;rdquo; sessions turned out to be the most expensive ones they had ever run. The window had not settled anything. It had merely set the outer wall of a much smaller room they were actually living in.&lt;/p&gt;</description></item><item><title>Separate What From How</title><link>https://aibussin.com/books/dspy-from-first-principles/04-chapter/</link><pubDate>Fri, 28 Aug 2026 10:15:00 +0100</pubDate><guid>https://aibussin.com/books/dspy-from-first-principles/04-chapter/</guid><description>&lt;p&gt;Chapters 2 and 3 built a contract and said nothing about how a model should satisfy it. That was deliberate, and this chapter collects the payment.&lt;/p&gt;&#10;&lt;p&gt;Three objects must remain distinct throughout the comparison:&lt;/p&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;task contract what valid behavior must preserve&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;execution strategy how the model attempts the task&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;evaluation how observed behavior is judged&#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;The signature holds the first fixed. &lt;code&gt;Predict&lt;/code&gt; and &lt;code&gt;ChainOfThought&lt;/code&gt; vary the second. The frozen fixture and metrics supply the third. If two of those change together, the result no longer tells us what the reasoning policy caused.&lt;/p&gt;</description></item><item><title>Advanced Agents From First Principles 08: Is Your Agent Spending the Same Compute on Every Task? Build Adaptive Agents That Escalate Only When Needed</title><link>https://aibussin.com/books/advanced-agents-from-first-principles/08-chapter/</link><pubDate>Sun, 09 Aug 2026 00:00:00 +0000</pubDate><guid>https://aibussin.com/books/advanced-agents-from-first-principles/08-chapter/</guid><description>Build adaptive agent runtimes that start cheap, measure uncertainty and failure, and escalate selectively into deeper reasoning, more samples, search, stronger models or specialist review only when the evidence justifies it.</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>https://aibussin.com/books/advanced-agents-from-first-principles/03-chapter/</link><pubDate>Sat, 08 Aug 2026 23:25:00 +0100</pubDate><guid>https://aibussin.com/books/advanced-agents-from-first-principles/03-chapter/</guid><description>&lt;p&gt;A reasoning agent can fail even when every individual step looks plausible.&lt;/p&gt;&#10;&lt;p&gt;The problem is often not that the model cannot produce a good line of reasoning.&lt;/p&gt;&#10;&lt;p&gt;The problem is that it commits too early.&lt;/p&gt;&#10;&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;&#10;&lt;p&gt;That gives us a common failure pattern:&lt;/p&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;problem&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; ↓&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;first plausible thought&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; ↓&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;second thought conditioned on the first&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; ↓&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;third thought conditioned on both&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; ↓&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;...&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; ↓&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;confident answer built on an early mistake&#10;&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>https://aibussin.com/books/advanced-agents-from-first-principles/02-chapter/</link><pubDate>Sat, 08 Aug 2026 22:44:00 +0100</pubDate><guid>https://aibussin.com/books/advanced-agents-from-first-principles/02-chapter/</guid><description>&lt;p&gt;A reasoning agent gives you one answer.&lt;/p&gt;&#10;&lt;p&gt;You run it again.&lt;/p&gt;&#10;&lt;p&gt;It gives you another.&lt;/p&gt;&#10;&lt;p&gt;You change nothing important:&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;same task,&lt;/li&gt;&#10;&lt;li&gt;same tools,&lt;/li&gt;&#10;&lt;li&gt;same model family,&lt;/li&gt;&#10;&lt;li&gt;same broad context.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;Yet the result changes.&lt;/p&gt;&#10;&lt;p&gt;That is not necessarily a bug.&lt;/p&gt;&#10;&lt;p&gt;A probabilistic model is allowed to produce more than one plausible trajectory.&lt;/p&gt;&#10;&lt;p&gt;The engineering question is different:&lt;/p&gt;&#10;&lt;blockquote&gt;&#10;&lt;p&gt;&lt;strong&gt;How should an agent system use that variation?&lt;/strong&gt;&lt;/p&gt;&#10;&lt;/blockquote&gt;&#10;&lt;p&gt;One common answer is &lt;strong&gt;self-consistency&lt;/strong&gt;.&lt;/p&gt;&#10;&lt;p&gt;Generate several independent reasoning trajectories.&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>https://aibussin.com/books/advanced-agents-from-first-principles/01-chapter/</link><pubDate>Sat, 08 Aug 2026 22:35:00 +0100</pubDate><guid>https://aibussin.com/books/advanced-agents-from-first-principles/01-chapter/</guid><description>&lt;p&gt;Most developers first encounter chain of thought as a prompting trick:&lt;/p&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;Think step by step.&#10;&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;&#10;&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;&#10;&lt;p&gt;That is a very different claim.&lt;/p&gt;&#10;&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>Agents From First Principles 00: What Is an Agent, Really?</title><link>https://aibussin.com/post/agents-from-first-principles-00/</link><pubDate>Sat, 08 Aug 2026 15:40:00 +0100</pubDate><guid>https://aibussin.com/post/agents-from-first-principles-00/</guid><description>&lt;h1 id="what-is-an-agent-really"&gt;What Is an Agent, Really?&lt;/h1&gt;&#10;&lt;p&gt;This is the first post in &lt;strong&gt;Agents From First Principles&lt;/strong&gt;.&lt;/p&gt;&#10;&lt;p&gt;It follows two earlier series.&lt;/p&gt;&#10;&lt;p&gt;In &lt;strong&gt;PyTorch: Zero to Hero&lt;/strong&gt;, we worked upward from tensors, autograd and neural-network building blocks until we could build a small language model ourselves.&lt;/p&gt;&#10;&lt;p&gt;In &lt;strong&gt;Models From First Principles&lt;/strong&gt;, we moved one level higher. We looked at how learned components can be composed into scorers, value models, policy heads, recurrent models, hierarchical models and compact recursive systems.&lt;/p&gt;</description></item><item><title>🔦 Phōs: Visualizing How AI Learns and How to Build It Yourself</title><link>https://aibussin.com/post/phos/</link><pubDate>Thu, 09 Oct 2025 00:30:36 +0100</pubDate><guid>https://aibussin.com/post/phos/</guid><description>&lt;blockquote&gt;&#10;&lt;p&gt;“The eye sees only what the mind is prepared to comprehend.” &lt;em&gt;Henri Bergson&lt;/em&gt;&lt;/p&gt;&#10;&lt;/blockquote&gt;&#10;&lt;h2 id="-we-finally-see-learning"&gt;🔍 We Finally See Learning&lt;/h2&gt;&#10;&lt;p&gt;For decades, we’ve measured artificial intelligence with numbers loss curves, accuracy scores, reward signals.&lt;br&gt;&#10;We’ve plotted progress, tuned hyperparameters, celebrated benchmarks.&lt;/p&gt;&#10;&lt;p&gt;But we’ve never actually &lt;em&gt;seen&lt;/em&gt; learning happen.&lt;/p&gt;&#10;&lt;p&gt;Not really.&lt;/p&gt;&#10;&lt;p&gt;Sure, we’ve visualized attention maps or gradient flows but those are snapshots, proxies, not processes.&lt;/p&gt;&#10;&lt;p&gt;What if we could watch understanding emerge not as a number going up, but as a pattern stabilizing across time?&lt;br&gt;&#10;What if reasoning itself left a visible trace?&lt;/p&gt;</description></item></channel></rss>