<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Reliability on Programmer.ie: Modern AI programming</title>
    <link>http://programmer.ie/tags/reliability/</link>
    <description>Recent content in Reliability on Programmer.ie: Modern AI programming</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Sun, 09 Aug 2026 16:09:00 +0100</lastBuildDate>
    <atom:link href="http://programmer.ie/tags/reliability/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Build a Production AI Agent From First Principles: The Complete Reference Architecture</title>
      <link>http://programmer.ie/post/advanced-agents-from-first-principles-44/</link>
      <pubDate>Sun, 09 Aug 2026 16:09:00 +0100</pubDate>
      <guid>http://programmer.ie/post/advanced-agents-from-first-principles-44/</guid>
      <description>&lt;h1 id=&#34;build-a-production-ai-agent-from-first-principles-the-complete-reference-architecture&#34;&gt;Build a Production AI Agent From First Principles: The Complete Reference Architecture&lt;/h1&gt;&#xA;&lt;p&gt;We have spent this series adding mechanisms only when a specific failure demanded them.&lt;/p&gt;&#xA;&lt;p&gt;We started with a model call.&lt;/p&gt;&#xA;&lt;p&gt;Then we added candidate generation, critique, planning, tool use, memory, search and verification.&lt;/p&gt;&#xA;&lt;p&gt;Then the system stopped looking like a clever prompt.&lt;/p&gt;&#xA;&lt;p&gt;It started looking like software.&lt;/p&gt;&#xA;&lt;p&gt;Then distributed systems problems arrived:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;duplicate work,&lt;/li&gt;&#xA;&lt;li&gt;retries,&lt;/li&gt;&#xA;&lt;li&gt;leases,&lt;/li&gt;&#xA;&lt;li&gt;fencing,&lt;/li&gt;&#xA;&lt;li&gt;backpressure,&lt;/li&gt;&#xA;&lt;li&gt;dependency failure,&lt;/li&gt;&#xA;&lt;li&gt;behavioral drift,&lt;/li&gt;&#xA;&lt;li&gt;release compatibility,&lt;/li&gt;&#xA;&lt;li&gt;replay,&lt;/li&gt;&#xA;&lt;li&gt;incident forensics,&lt;/li&gt;&#xA;&lt;li&gt;SLOs,&lt;/li&gt;&#xA;&lt;li&gt;authority,&lt;/li&gt;&#xA;&lt;li&gt;competence,&lt;/li&gt;&#xA;&lt;li&gt;capability acquisition,&lt;/li&gt;&#xA;&lt;li&gt;placement,&lt;/li&gt;&#xA;&lt;li&gt;handoff,&lt;/li&gt;&#xA;&lt;li&gt;stale state,&lt;/li&gt;&#xA;&lt;li&gt;stale intent,&lt;/li&gt;&#xA;&lt;li&gt;commitments,&lt;/li&gt;&#xA;&lt;li&gt;durable workflows,&lt;/li&gt;&#xA;&lt;li&gt;transaction recovery,&lt;/li&gt;&#xA;&lt;li&gt;trust boundaries,&lt;/li&gt;&#xA;&lt;li&gt;multi-agent coordination,&lt;/li&gt;&#xA;&lt;li&gt;and finally an explicit control plane.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;At this point the architecture is complete enough that adding another isolated mechanism would make the series worse rather than better.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Advanced Agents From First Principles 24: How Do You Release Agent Behavior Safely? Add Behavioral Contracts, Compatibility Checks and Promotion Gates</title>
      <link>http://programmer.ie/post/advanced-agents-from-first-principles-24/</link>
      <pubDate>Sun, 09 Aug 2026 12:09:00 +0100</pubDate>
      <guid>http://programmer.ie/post/advanced-agents-from-first-principles-24/</guid>
      <description>&lt;p&gt;A model change can pass health checks and still break your agent.&lt;/p&gt;&#xA;&lt;p&gt;A prompt change can preserve output schema and still change which tools the agent chooses.&lt;/p&gt;&#xA;&lt;p&gt;A router change can improve average cost and silently starve a specialist that is essential for one high-risk workload.&lt;/p&gt;&#xA;&lt;p&gt;A memory migration can keep every row intact and still change which memories are retrieved.&lt;/p&gt;&#xA;&lt;p&gt;A verifier upgrade can make every dashboard greener while making the system less trustworthy.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Advanced Agents From First Principles 23: Your Infrastructure Is Healthy. Why Is the Agent Getting Worse? Detect Behavioral Drift and Roll Back Safely</title>
      <link>http://programmer.ie/post/advanced-agents-from-first-principles-23/</link>
      <pubDate>Sun, 09 Aug 2026 12:00:00 +0100</pubDate>
      <guid>http://programmer.ie/post/advanced-agents-from-first-principles-23/</guid>
      <description>&lt;h1 id=&#34;your-infrastructure-is-healthy-why-is-the-agent-getting-worse&#34;&gt;Your Infrastructure Is Healthy. Why Is the Agent Getting Worse?&lt;/h1&gt;&#xA;&lt;p&gt;Your dashboards are green.&lt;/p&gt;&#xA;&lt;p&gt;The model endpoint is responding.&lt;/p&gt;&#xA;&lt;p&gt;The browser workers are alive.&lt;/p&gt;&#xA;&lt;p&gt;The database is healthy.&lt;/p&gt;&#xA;&lt;p&gt;The queue is draining.&lt;/p&gt;&#xA;&lt;p&gt;The verifier service is up.&lt;/p&gt;&#xA;&lt;p&gt;Latency has not exploded.&lt;/p&gt;&#xA;&lt;p&gt;There are no obvious exceptions.&lt;/p&gt;&#xA;&lt;p&gt;And yet the agent is getting worse.&lt;/p&gt;&#xA;&lt;p&gt;It fixes fewer bugs.&lt;/p&gt;&#xA;&lt;p&gt;It retrieves weaker evidence.&lt;/p&gt;&#xA;&lt;p&gt;It escalates to expensive models more often.&lt;/p&gt;&#xA;&lt;p&gt;It chooses the wrong tools more frequently.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Advanced Agents From First Principles 22: What Happens When One Dependency Starts Failing? Add Circuit Breakers, Bulkheads and Graceful Degradation</title>
      <link>http://programmer.ie/post/advanced-agents-from-first-principles-22/</link>
      <pubDate>Sun, 09 Aug 2026 11:26:00 +0100</pubDate>
      <guid>http://programmer.ie/post/advanced-agents-from-first-principles-22/</guid>
      <description>&lt;h1 id=&#34;what-happens-when-one-dependency-starts-failing&#34;&gt;What Happens When One Dependency Starts Failing?&lt;/h1&gt;&#xA;&lt;p&gt;An advanced agent platform can be working perfectly and still collapse.&lt;/p&gt;&#xA;&lt;p&gt;Not because the planner became confused.&lt;/p&gt;&#xA;&lt;p&gt;Not because the router chose the wrong model.&lt;/p&gt;&#xA;&lt;p&gt;Not because MCTS explored the wrong branch.&lt;/p&gt;&#xA;&lt;p&gt;Because one dependency became unhealthy.&lt;/p&gt;&#xA;&lt;p&gt;Maybe:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;the frontier model starts returning 503s,&lt;/li&gt;&#xA;&lt;li&gt;the browser pool starts timing out,&lt;/li&gt;&#xA;&lt;li&gt;the embedding service slows from 80 ms to 8 seconds,&lt;/li&gt;&#xA;&lt;li&gt;the verifier database starts dropping connections,&lt;/li&gt;&#xA;&lt;li&gt;the search API starts rate limiting,&lt;/li&gt;&#xA;&lt;li&gt;a sandbox cluster stops accepting jobs,&lt;/li&gt;&#xA;&lt;li&gt;or an external provider is technically up but so slow that every request consumes a worker for minutes.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;Then the retries begin.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Advanced Agents From First Principles 20: Can Your Agent Coordinate Across Machines Without Duplicating Work? Use Leases, Idempotency and Fencing</title>
      <link>http://programmer.ie/post/advanced-agents-from-first-principles-20/</link>
      <pubDate>Sun, 09 Aug 2026 11:13:00 +0100</pubDate>
      <guid>http://programmer.ie/post/advanced-agents-from-first-principles-20/</guid>
      <description>&lt;h1 id=&#34;can-your-agent-coordinate-across-machines-without-duplicating-work&#34;&gt;Can Your Agent Coordinate Across Machines Without Duplicating Work?&lt;/h1&gt;&#xA;&lt;p&gt;A single-process agent can already be complicated.&lt;/p&gt;&#xA;&lt;p&gt;It can plan.&lt;/p&gt;&#xA;&lt;p&gt;It can search.&lt;/p&gt;&#xA;&lt;p&gt;It can launch speculative branches.&lt;/p&gt;&#xA;&lt;p&gt;It can cancel losing work.&lt;/p&gt;&#xA;&lt;p&gt;It can verify outcomes.&lt;/p&gt;&#xA;&lt;p&gt;Then you move that work onto multiple workers.&lt;/p&gt;&#xA;&lt;p&gt;Now a new class of failure appears.&lt;/p&gt;&#xA;&lt;p&gt;Two workers both believe they own the same task.&lt;/p&gt;&#xA;&lt;p&gt;One worker pauses for thirty seconds.&lt;/p&gt;&#xA;&lt;p&gt;Another worker assumes it died and takes over.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Advanced Agents From First Principles 25: Can You Reproduce an Agent Run Months Later? Add Deterministic Replay and Provenance</title>
      <link>http://programmer.ie/post/advanced-agents-from-first-principles-25/</link>
      <pubDate>Sun, 09 Aug 2026 00:00:00 +0000</pubDate>
      <guid>http://programmer.ie/post/advanced-agents-from-first-principles-25/</guid>
      <description>&lt;p&gt;A production agent fails on Tuesday.&lt;/p&gt;&#xA;&lt;p&gt;You inspect it on Wednesday and cannot reproduce the failure.&lt;/p&gt;&#xA;&lt;p&gt;Three weeks later someone asks a harder question:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;What exactly did this agent see, which release was running, which tools were called, which evidence was used, and why did the verifier accept the result?&lt;/p&gt;&lt;/blockquote&gt;&#xA;&lt;p&gt;If the answer is &amp;ldquo;we have some logs&amp;rdquo;, you do not yet have reproducibility.&lt;/p&gt;&#xA;&lt;p&gt;You have fragments.&lt;/p&gt;&#xA;&lt;p&gt;Advanced agents accumulate hidden variability quickly:&lt;/p&gt;</description>
    </item>
    <item>
      <title>Advanced Agents From First Principles 33: Which Shared Components Actually Unlock More Capability? Build a Capability Dependency Graph</title>
      <link>http://programmer.ie/post/advanced-agents-from-first-principles-33/</link>
      <pubDate>Sun, 09 Aug 2026 00:00:00 +0000</pubDate>
      <guid>http://programmer.ie/post/advanced-agents-from-first-principles-33/</guid>
      <description>A practical capability-dependency architecture for advanced agents: identify shared primitives that unlock many capabilities, quantify leverage, expose correlated-failure hotspots, and invest in platform components without creating hidden systemic risk.</description>
    </item>
    <item>
      <title>Advanced Agents From First Principles 34: Where Should This Task Actually Run? Build Capability-Aware Placement Across Models, Providers and Resource Pools</title>
      <link>http://programmer.ie/post/advanced-agents-from-first-principles-34/</link>
      <pubDate>Sun, 09 Aug 2026 00:00:00 +0000</pubDate>
      <guid>http://programmer.ie/post/advanced-agents-from-first-principles-34/</guid>
      <description>A practical placement architecture for advanced agents: route work across local and frontier models, providers, regions, GPUs, browser pools and specialist runtimes using demonstrated competence, verifier availability, policy constraints, health, cost and latency rather than model prestige.</description>
    </item>
    <item>
      <title>Advanced Agents From First Principles 38: A Plan Is Not a Commitment — Model Goals, Commitments and Executable Work</title>
      <link>http://programmer.ie/post/advanced-agents-from-first-principles-38/</link>
      <pubDate>Sun, 09 Aug 2026 00:00:00 +0000</pubDate>
      <guid>http://programmer.ie/post/advanced-agents-from-first-principles-38/</guid>
      <description>A practical architecture for separating goals, plans, commitments, tasks and actions in long-running agents so replanning, cancellation, handoff and external obligations remain correct.</description>
    </item>
    <item>
      <title>Advanced Agents From First Principles 40: Your Agent Changed the World. What Happens When Step Two Fails? Build Transactions, Compensation and Reconciliation</title>
      <link>http://programmer.ie/post/advanced-agents-from-first-principles-40/</link>
      <pubDate>Sun, 09 Aug 2026 00:00:00 +0000</pubDate>
      <guid>http://programmer.ie/post/advanced-agents-from-first-principles-40/</guid>
      <description>A practical architecture for agent workflows that span systems without a global transaction: classify side effects, prepare carefully, commit with identity, verify externally, compensate when possible, reconcile ambiguity, and never pretend rollback is free.</description>
    </item>
  </channel>
</rss>
