<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"><channel><title>Ben McLoughlin - Field notes</title><description>Long-form notes on the products I have built and how things work in AI agent systems.</description><link>https://benmcloughlin.com/</link><language>en-gb</language><item><title>Catching tool errors at the right layer</title><link>https://benmcloughlin.com/learning/tool-error-handling-implementation/</link><guid isPermaLink="true">https://benmcloughlin.com/learning/tool-error-handling-implementation/</guid><description>The four-bucket mental model turned into code. Classifying errors by exception type and status code instead of trusting the message string; retrying transient failures in the harness with backoff and jitter; ending a run in code when there&apos;s nothing left to try; and a per-tool circuit breaker that stops a looping model without needing its permission - then all four layers assembled into one ordinary ReAct loop.</description><pubDate>Mon, 04 May 2026 00:00:00 GMT</pubDate><category>Field note</category><category>agents</category><category>tool-use</category><category>error-handling</category></item><item><title>Tools fail. Your agent shouldn&apos;t.</title><link>https://benmcloughlin.com/learning/tool-error-handling/</link><guid isPermaLink="true">https://benmcloughlin.com/learning/tool-error-handling/</guid><description>The ReAct loop assumes the tool call returns something useful. In real work it often doesn&apos;t - the network times out, a credential expires, the thing you asked for isn&apos;t there. A walk through treating errors as just another observation, sorting every tool failure into four buckets, and the single rule that decides where each one goes: the harness retries what a retry can fix, the model sees only the errors its reasoning can move, and the rest end the run instead of spinning it.</description><pubDate>Sun, 03 May 2026 00:00:00 GMT</pubDate><category>Field note</category><category>agents</category><category>tool-use</category><category>error-handling</category></item><item><title>Do it all at once: parallel tool calls and how to build them</title><link>https://benmcloughlin.com/learning/parallel-tool-calling/</link><guid isPermaLink="true">https://benmcloughlin.com/learning/parallel-tool-calling/</guid><description>Most agents need to fetch a handful of independent bits of information before they can answer. Doing those one after another wastes most of the time. A walk through parallel tool calling - what it is, why the model decides when to use it, how it changes the shape of a ReAct turn, and how little code you have to write to get it.</description><pubDate>Sun, 26 Apr 2026 00:00:00 GMT</pubDate><category>Field note</category><category>agents</category><category>tool-use</category><category>fundamentals</category></item><item><title>The loop: how ReAct actually works inside every agent</title><link>https://benmcloughlin.com/learning/react-loop/</link><guid isPermaLink="true">https://benmcloughlin.com/learning/react-loop/</guid><description>ReAct - reason, then act, then observe, then reason again - is the loop running underneath every modern agent framework. A walk through what each step actually does, why mixing reasoning and acting fixed problems neither could fix alone, and the failure modes that hit production agents in the wild.</description><pubDate>Sun, 19 Apr 2026 00:00:00 GMT</pubDate><category>Field note</category><category>agents</category><category>react</category><category>fundamentals</category></item><item><title>Show your working: chain of thought and why it works</title><link>https://benmcloughlin.com/learning/chain-of-thought/</link><guid isPermaLink="true">https://benmcloughlin.com/learning/chain-of-thought/</guid><description>Chain of thought started as a one-line prompt trick and ended up as the mechanism inside every reasoning model. A walk through what the trick was, why it worked, and the architectural decisions it forces on anyone building with LLMs in 2026.</description><pubDate>Tue, 14 Apr 2026 00:00:00 GMT</pubDate><category>Field note</category><category>reasoning</category><category>chain-of-thought</category><category>fundamentals</category></item><item><title>Natural language analysis over your own datasets</title><link>https://benmcloughlin.com/products/data-scientist-agent/</link><guid isPermaLink="true">https://benmcloughlin.com/products/data-scientist-agent/</guid><description>An agent that takes on the working brief of an analyst or data scientist over a user&apos;s own dataset - fielding questions, running the right cuts, generating plots, and writing up reports. Full write-up coming once the build is far enough along to be honest about the trade-offs.</description><pubDate>Fri, 01 Nov 2024 00:00:00 GMT</pubDate><category>Product</category><category>TypeScript</category><category>Python</category><category>Anthropic</category></item><item><title>Automatic data visualisation from CSVs and spreadsheets</title><link>https://benmcloughlin.com/products/data-viz/</link><guid isPermaLink="true">https://benmcloughlin.com/products/data-viz/</guid><description>A tool that picks the visualisation that actually fits the shape of the data, instead of asking you to choose from a gallery and hoping for the best. Full write-up coming once the build is far enough along to be honest about the trade-offs.</description><pubDate>Mon, 01 Jan 2024 00:00:00 GMT</pubDate><category>Product</category><category>TypeScript</category><category>Python</category><category>Anthropic</category></item></channel></rss>