<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"><channel><title><![CDATA[Rooted Layers Guides]]></title><description><![CDATA[This is the Guides section of Rooted Layers, where you get in depth multi part walkthroughs and how-tos, architecture blueprints and full courses on AI topics. <br/><br/><a href="https://lambpetros.substack.com/s/guides?utm_medium=podcast">lambpetros.substack.com</a>]]></description><link>https://lambpetros.substack.com/s/guides</link><generator>Substack</generator><lastBuildDate>Thu, 28 May 2026 02:27:04 GMT</lastBuildDate><atom:link href="https://api.substack.com/feed/podcast/7088450/s/362023.rss" rel="self" type="application/rss+xml"/><author><![CDATA[AI guides grounded on research]]></author><copyright><![CDATA[Petros Lamb]]></copyright><language><![CDATA[en]]></language><webMaster><![CDATA[petroslamb.dev@gmail.com]]></webMaster><itunes:new-feed-url>https://api.substack.com/feed/podcast/7088450/s/362023.rss</itunes:new-feed-url><itunes:author>AI guides grounded on research</itunes:author><itunes:subtitle>This is the Guides section of Rooted Layers, where you get in depth multi part walkthroughs and how-tos, architecture blueprints and full courses on AI topics.</itunes:subtitle><itunes:type>episodic</itunes:type><itunes:owner><itunes:name>AI guides grounded on research</itunes:name><itunes:email>petroslamb.dev@gmail.com</itunes:email></itunes:owner><itunes:explicit>No</itunes:explicit><itunes:category text="Technology"/><itunes:category text="Education"><itunes:category text="Courses"/></itunes:category><itunes:image href="https://substackcdn.com/feed/podcast/7088450/s/362023/b7ee9548920f84d499a3bfb66dd1e938.jpg"/><item><title><![CDATA[Operating Agents Bonus: Workflow Optimization and Evaluation]]></title><description><![CDATA[<p><strong>Read with: </strong><a target="_blank" href="https://github.com/petroslamb/content/blob/main/autonomous-agent-blueprint/essays/optimization/companion-v7.md"><strong>Optimization Companion</strong></a><strong> and </strong><a target="_blank" href="https://github.com/petroslamb/content/blob/main/autonomous-agent-blueprint/core/practical-chapter-blueprints/04-optimization-self-improvement-blueprint.md"><strong>Optimization Blueprint</strong></a><strong>.</strong></p><p><em>Optimization stays last because the workflow becomes the object only after it is stable enough to deserve improvement. Before that point, prompt tuning is usually just movement on the easiest visible surface rather than progress on the system that actually carries the work.</em></p><p>Thanks for reading Rooted Layers! Subscribe for free to receive new posts and support my work.</p><p></p> <br/><br/>This is a public episode. If you would like to discuss this with other subscribers or get access to bonus episodes, visit <a href="https://lambpetros.substack.com?utm_medium=podcast&#38;utm_campaign=CTA_1">lambpetros.substack.com</a>]]></description><link>https://lambpetros.substack.com/p/operating-agents-bonus-the-workflow</link><guid isPermaLink="false">substack:post:192287981</guid><dc:creator><![CDATA[Petros Lamb]]></dc:creator><pubDate>Fri, 27 Mar 2026 10:13:24 GMT</pubDate><enclosure url="https://api.substack.com/feed/podcast/192287981/6be342fc7b74d4e3d193bf08867c488d.mp3" length="32259899" type="audio/mpeg"/><itunes:author>Petros Lamb</itunes:author><itunes:explicit>No</itunes:explicit><itunes:duration>2688</itunes:duration><itunes:image href="https://substackcdn.com/feed/podcast/7088450/post/192287981/8c94100384457b1c10043ebec2d00ceb.jpg"/></item><item><title><![CDATA[Operating Agents V: Trust Boundaries and Agent Safety]]></title><description><![CDATA[<p><strong>Read with: </strong><a target="_blank" href="https://github.com/petroslamb/content/blob/main/autonomous-agent-blueprint/essays/safety/companion-v7.md"><strong>Safety Companion</strong></a><strong> and </strong><a target="_blank" href="https://github.com/petroslamb/content/blob/main/autonomous-agent-blueprint/core/practical-chapter-blueprints/06-safety-blueprint.md"><strong>Safety Blueprint</strong></a><strong>.</strong></p><p><em>These essays share one claim. Reliable agents do not come from stacking more visible capability on top of a strong model. They come from explicit operating layers a reviewer can still inspect when something breaks: action surfaces, memory policy, reasoning scaffolds, role boundaries, trust boundaries, and evaluation loops. Once a workflow can touch tools, durable state, approvals, or untrusted content, the architecture below the model decides whether the system is dependable.</em></p><p><em>Safety closes the core run because every capability above widens the attack surface. Once content, tools, and internal artifacts can move across the workflow, trust separation stops being a prompt preference and becomes a systems requirement.</em></p><p>Thanks for reading Rooted Layers! Subscribe for free to receive new posts and support my work.</p><p></p> <br/><br/>This is a public episode. If you would like to discuss this with other subscribers or get access to bonus episodes, visit <a href="https://lambpetros.substack.com?utm_medium=podcast&#38;utm_campaign=CTA_1">lambpetros.substack.com</a>]]></description><link>https://lambpetros.substack.com/p/operating-agents-v-the-attack-surface</link><guid isPermaLink="false">substack:post:192287978</guid><dc:creator><![CDATA[Petros Lamb]]></dc:creator><pubDate>Fri, 27 Mar 2026 10:11:40 GMT</pubDate><enclosure url="https://api.substack.com/feed/podcast/192287978/af4acf2063993f07d4c70ed438420573.mp3" length="29319870" type="audio/mpeg"/><itunes:author>Petros Lamb</itunes:author><itunes:explicit>No</itunes:explicit><itunes:duration>2443</itunes:duration><itunes:image href="https://substackcdn.com/feed/podcast/7088450/post/192287978/d3d5f2ca2dffde379dc9321a3667338a.jpg"/></item><item><title><![CDATA[Operating Agents IV: Multi-Agent Boundaries and Handoffs]]></title><description><![CDATA[<p><strong>Read with: </strong><a target="_blank" href="https://github.com/petroslamb/content/blob/main/autonomous-agent-blueprint/essays/multi-agent/companion-v7.md"><strong>Multi-Agent Companion</strong></a><strong> and </strong><a target="_blank" href="https://github.com/petroslamb/content/blob/main/autonomous-agent-blueprint/core/practical-chapter-blueprints/05-multi-agent-design-blueprint.md"><strong>Multi-Agent Blueprint</strong></a><strong>.</strong></p><p><em>These essays share one claim. Reliable agents do not come from stacking more visible capability on top of a strong model. They come from explicit operating layers a reviewer can still inspect when something breaks: action surfaces, memory policy, reasoning scaffolds, role boundaries, trust boundaries, and evaluation loops. Once a workflow can touch tools, durable state, approvals, or untrusted content, the architecture below the model decides whether the system is dependable.</em></p><p><em>Multi-agent design comes later because extra roles only help after a single workflow is already legible enough to justify another boundary. More voices do not create structure on their own. They only widen ambiguity unless the handoff becomes explicit.</em></p><p>Thanks for reading Rooted Layers! Subscribe for free to receive new posts and support my work.</p><p></p> <br/><br/>This is a public episode. If you would like to discuss this with other subscribers or get access to bonus episodes, visit <a href="https://lambpetros.substack.com?utm_medium=podcast&#38;utm_campaign=CTA_1">lambpetros.substack.com</a>]]></description><link>https://lambpetros.substack.com/p/operating-agents-iv-the-second-agent</link><guid isPermaLink="false">substack:post:192287975</guid><dc:creator><![CDATA[Petros Lamb]]></dc:creator><pubDate>Fri, 27 Mar 2026 10:06:11 GMT</pubDate><enclosure url="https://api.substack.com/feed/podcast/192287975/30e0a10998a12a684e8670bc082aa9b7.mp3" length="28488236" type="audio/mpeg"/><itunes:author>Petros Lamb</itunes:author><itunes:explicit>No</itunes:explicit><itunes:duration>2374</itunes:duration><itunes:image href="https://substackcdn.com/feed/podcast/7088450/post/192287975/28d644836f23f058408c2d5a6c6cc990.jpg"/></item><item><title><![CDATA[Operating Agents III: Reasoning Scaffolds and Planning]]></title><description><![CDATA[<p><strong>Read with: </strong><a target="_blank" href="https://github.com/petroslamb/content/blob/main/autonomous-agent-blueprint/essays/reasoning/companion-v7.md"><strong>Reasoning Companion</strong></a><strong> and </strong><a target="_blank" href="https://github.com/petroslamb/content/blob/main/autonomous-agent-blueprint/core/practical-chapter-blueprints/02-reasoning-planning-blueprint.md"><strong>Reasoning Blueprint</strong></a><strong>.</strong></p><p><em>These essays share one claim. Reliable agents do not come from stacking more visible capability on top of a strong model. They come from explicit operating layers a reviewer can still inspect when something breaks: action surfaces, memory policy, reasoning scaffolds, role boundaries, trust boundaries, and evaluation loops. Once a workflow can touch tools, durable state, approvals, or untrusted content, the architecture below the model decides whether the system is dependable.</em></p><p><em>Reasoning comes after action and memory because a workflow with tools and durable state can still fail under a bad scaffold. The hard question is not whether the model can think at length. It is whether the loop knows when to think, what evidence to inspect, and when to stop.</em></p><p>The recommendation looked careful. It quoted the exception clause, summarized the claim, named the likely payer outcome, and returned a clean structured decision. The reviewer rejected it in less than a minute. One required check was missing, and the workflow had never queried live payer status before drafting the answer.</p><p>Nothing in the output looked absurd. That was the problem. It was polished enough to pass a casual read and brittle enough to fail the moment somebody asked whether the workflow had earned its confidence.</p><p>The team reacted the way many teams react. They added prompt detail. They tried more context. They discussed a stronger model. None of that touched the real problem because the real problem was not mainly the model's intelligence. The workflow was asking one generation to do the work of several.</p><p>Most production reasoning failures are control failures before they are intelligence failures.</p><p>Start With The Failure Shape</p><p>The easiest way to waste time in agent design is to answer the wrong failure with a more impressive method. A workflow skips a dependency, so the team reaches for search. It hallucinates on live state, so they add critique. It produces unstable answers, so they stretch the prompt and call it planning. The result is usually not more intelligence. It is more machinery wrapped around a diagnosis error.</p><p>The decision rule is colder than that. Diagnose the failure shape first, then install the lightest scaffold that corrects it.</p><p>If the system keeps compressing dependent checks into one answer, the first fix is decomposition. If it keeps reasoning as though the environment will obediently match its expectations, the first fix is a reason-act-observe loop. If a plausible answer is becoming consequence before it has earned trust, the first fix is verification. If the workflow keeps failing because order itself is the risk, the plan has to become a first-class object. Only when those simpler layers are already working and the task still contains real branching difficulty does search begin to earn its cost.</p><p>That selection logic is the argument of the chapter. Not the prestige order of methods. The choice discipline.</p><p>Decomposition Before Brilliance</p><p><em>Least-to-Most Prompting</em> mattered because it solved a problem builders still underrate. Many tasks arrive wrapped as one judgment even though they are structurally several judgments with dependencies. Eligibility before exception. Evidence before synthesis. Current state before recommendation. If the workflow is allowed to improvise those stages inside one generation, it can sound coherent while silently skipping the task's actual structure.</p><p>The paper's durable move was to externalize the sequence of subproblems before the model tried to solve the whole thing at once. That is more than a prompting trick. It is an architectural intervention. It separates "discover the task structure" from "execute the task." The workflow stops pretending that a multi-stage problem is a one-stage act of eloquence.</p><p>Decomposition is often the most undervalued repair in the stack because it does not look glamorous. It does something better. It makes hidden dependencies visible enough to inspect.</p><p>ReAct When The World Can Contradict You</p><p>The moment the task depends on tools, live records, code, or environment state, reasoning has to stop being a monologue and become a control loop.</p><p><em>ReAct</em> remains the control-loop paper because it attacked exactly that boundary. Chain-of-thought prompting had shown that models could narrate reasoning. What it could not do was keep that reasoning answerable to a world that could contradict it. ReAct bound thought to action and observation so the next step had to proceed from what actually happened rather than from what the model expected to happen.</p><p>That distinction still explains a large share of production failure. A workflow that keeps reasoning in prose while the real state lives in a ledger, browser, database, or tool result is not mainly suffering from weak intelligence. It is suffering from a broken loop. The model is being asked to reason from fiction.</p><p>ReAct belongs before heavier overlays in most practical stacks. If the environment matters, the world gets a vote.</p><p>Verification Before Consequence</p><p>Many workflows do not merely need better answers. They need answers that deserve consequence.</p><p><em>Chain-of-Verification</em> mattered because it gave that requirement a real place in the workflow. Draft the answer. Generate the questions that would challenge it. Answer those separately. Revise only after the checking stage. The contribution was topological before it was stylistic.</p><p>That move stops the first generation from silently certifying itself. A coherent answer may still be wrong. A polished recommendation may still be unsupported. Verification creates a stage where trust has to be earned rather than merely implied.</p><p>This is the failure shape many teams misread as reasoning weakness. The problem is often not that the draft was too stupid. The problem is that the draft was allowed to become consequential before anybody asked it hard questions.</p><p>Planning Begins At Commitment Points</p><p>Reasoning and planning are adjacent but not interchangeable. A system can reason entirely inside language. Planning becomes a different engineering job when commitment points inside the workflow start carrying the risk.</p><p>A claim can be routed before eligibility is confirmed. An appeal can be drafted before the denial code is verified. A field visit can be scheduled before the account state is refreshed. In those cases the problem is not only that the answer is weak. The problem is that the order of operations is smuggling risk into the workflow.</p><p>That is where planner handoff belongs. Most teams should stay conservative and keep the plan in inspectable language for as long as possible. Some tasks stop being about better local reasoning and start being about whether the sequence itself respects prerequisites, scarce resources, and irreversible steps. <em>LLM+P</em> marks that escalation boundary. The lesson is not that every hard task wants a formal planner. It is that verbal scaffolds have a limit, and builders need a rule for noticing when they have reached it.</p><p>Planning begins when sequence itself becomes the risk.</p><p>Search Owes A Specific Debt</p><p>Search-heavy methods matter because some tasks really do branch. They have several plausible paths, real dead ends, and choices that simpler scaffolds cannot resolve cleanly. That is the genuine contribution of work such as <em>Tree of Thoughts</em>.</p><p>They also attract one of the field's most persistent diagnosis errors. Teams often invoke search as a sign that they are taking reasoning seriously before they have proved that the task contains the kind of branching difficulty that would justify the cost.</p><p>Search does not fix weak decomposition. It does not fix missing observation. It does not fix absent verification. If those layers are still weak, search mostly magnifies confusion and latency at the same time.</p><p>The escalation rule should stay severe. Decompose first. Then ground the workflow in live state. Then verify before consequence. Then promote the plan when commitment points are the problem. Only after that should search enter the picture, and only if branching difficulty still remains.</p><p>If one generation is doing the work of several, a better model only buys a more polished mistake.</p><p>Selected Sources</p><p><a target="_blank" href="https://arxiv.org/abs/2205.10625">Least-to-Most Prompting</a>. Least-to-Most matters because it shows why decomposition is not the baby version of reasoning. It is the paper behind the doctrine's first move: expose dependent subproblems before asking one generation to improvise the whole structure.</p><p><a target="_blank" href="https://arxiv.org/abs/2210.03629">ReAct</a>. ReAct matters because it binds reasoning to action and observation. The chapter's control-first view of reasoning owes a great deal to that move. A workflow that depends on live state but still reasons in prose is disconnected from reality.</p><p><a target="_blank" href="https://arxiv.org/abs/2309.11495">Chain-of-Verification</a>. CoVe matters because it gives verification a real place in the workflow instead of leaving it as a vague norm. Trust should be earned in a distinct stage, not implied by the fluency of the first answer.</p><p><a target="_blank" href="https://arxiv.org/abs/2304.11477">LLM+P</a>. LLM+P matters because it marks the point where sequence itself becomes the risk. The paper's importance here is not frontier breadth. It is the escalation rule it implies: promote the plan into a first-class object only when prose can no longer carry the constraints safely.</p><p><a target="_blank" href="https://arxiv.org/abs/2305.10601">Tree of Thoughts</a>. Tree of Thoughts matters in this doctrine mostly as a boundary marker. It clarifies what true branching search is for and, by contrast, what it is not for. Search belongs late, after decomposition, grounding, and verification are already doing their jobs.</p><p>For the broader terrain this essay leaves out on purpose, read the <a target="_blank" href="https://github.com/petroslamb/content/blob/main/autonomous-agent-blueprint/essays/reasoning/companion-v7.md">Reasoning Companion</a>. For the operator layer, chooser logic, and escalation defaults, read the <a target="_blank" href="https://github.com/petroslamb/content/blob/main/autonomous-agent-blueprint/core/practical-chapter-blueprints/02-reasoning-planning-blueprint.md">Reasoning Blueprint</a>.</p> <br/><br/>This is a public episode. If you would like to discuss this with other subscribers or get access to bonus episodes, visit <a href="https://lambpetros.substack.com?utm_medium=podcast&#38;utm_campaign=CTA_1">lambpetros.substack.com</a>]]></description><link>https://lambpetros.substack.com/p/operating-agents-iii-diagnose-the</link><guid isPermaLink="false">substack:post:192287973</guid><dc:creator><![CDATA[Petros Lamb]]></dc:creator><pubDate>Fri, 27 Mar 2026 10:04:31 GMT</pubDate><enclosure url="https://api.substack.com/feed/podcast/192287973/3331c01645f2a606ac46aa28a88ba47d.mp3" length="24516578" type="audio/mpeg"/><itunes:author>Petros Lamb</itunes:author><itunes:explicit>No</itunes:explicit><itunes:duration>2043</itunes:duration><itunes:image href="https://substackcdn.com/feed/podcast/7088450/post/192287973/895c0fc1f3e1f34c013802967282a54b.jpg"/></item><item><title><![CDATA[Operating Agents II: Memory Systems and Authority]]></title><description><![CDATA[<p><strong>Read with: </strong><a target="_blank" href="https://github.com/petroslamb/content/blob/main/autonomous-agent-blueprint/essays/memory/companion-v7.md"><strong>Memory Companion</strong></a><strong> and </strong><a target="_blank" href="https://github.com/petroslamb/content/blob/main/autonomous-agent-blueprint/core/practical-chapter-blueprints/01-memory-blueprint.md"><strong>Memory Blueprint</strong></a><strong>.</strong></p><p><em>These essays share one claim. Reliable agents do not come from stacking more visible capability on top of a strong model. They come from explicit operating layers a reviewer can still inspect when something breaks: action surfaces, memory policy, reasoning scaffolds, role boundaries, trust boundaries, and evaluation loops. Once a workflow can touch tools, durable state, approvals, or untrusted content, the architecture below the model decides whether the system is dependable.</em></p><p><em>Memory follows because useful systems need a rule for what the past is still allowed to govern. Retrieval quality matters, but only after the workflow decides what should persist, what has lost authority, and what should be retired.</em></p><p>Thanks for reading Rooted Layers! Subscribe for free to receive new posts and support my work.</p><p></p> <br/><br/>This is a public episode. If you would like to discuss this with other subscribers or get access to bonus episodes, visit <a href="https://lambpetros.substack.com?utm_medium=podcast&#38;utm_campaign=CTA_1">lambpetros.substack.com</a>]]></description><link>https://lambpetros.substack.com/p/operating-agents-ii-memory-needs</link><guid isPermaLink="false">substack:post:192287968</guid><dc:creator><![CDATA[Petros Lamb]]></dc:creator><pubDate>Fri, 27 Mar 2026 09:59:26 GMT</pubDate><enclosure url="https://api.substack.com/feed/podcast/192287968/34abb700ffab18acaaf3f24180a3e234.mp3" length="38278198" type="audio/mpeg"/><itunes:author>Petros Lamb</itunes:author><itunes:explicit>No</itunes:explicit><itunes:duration>3190</itunes:duration><itunes:image href="https://substackcdn.com/feed/podcast/7088450/post/192287968/b6b5cbe793f4d5d70132b636f4ce49bc.jpg"/></item><item><title><![CDATA[Operating Agents I: Action Systems and Tool Use]]></title><description><![CDATA[<p>Part 1 of the Operating Agents series, a builder-first run on how modern agent systems actually work once language leaves the prompt and starts acting inside software.</p> <br/><br/>This is a public episode. If you would like to discuss this with other subscribers or get access to bonus episodes, visit <a href="https://lambpetros.substack.com?utm_medium=podcast&#38;utm_campaign=CTA_1">lambpetros.substack.com</a>]]></description><link>https://lambpetros.substack.com/p/operating-agents-i-when-language</link><guid isPermaLink="false">substack:post:192287894</guid><dc:creator><![CDATA[Petros Lamb]]></dc:creator><pubDate>Fri, 27 Mar 2026 09:56:22 GMT</pubDate><enclosure url="https://api.substack.com/feed/podcast/192287894/f1f6782b70eb5b52d84e8eab0cd4fd8e.mp3" length="35642547" type="audio/mpeg"/><itunes:author>Petros Lamb</itunes:author><itunes:explicit>No</itunes:explicit><itunes:duration>2970</itunes:duration><itunes:image href="https://substackcdn.com/feed/podcast/7088450/post/192287894/c7bf4469bba33c06fdf59f056d8a3daa.jpg"/></item></channel></rss>