<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>AI on Redowan&#39;s Reflections</title>
    <link>https://rednafi.com/ai/</link>
    <description>Recent content in AI on Redowan&#39;s Reflections</description>
    <image>
      <title>Redowan&#39;s Reflections</title>
      <url>https://blob.rednafi.com/home/cover-39e2ac8de020.png</url>
      <link>https://rednafi.com/</link>
    </image>
    <generator>Hugo -- 0.170.1</generator>
    <language>en</language>
    <dc:creator>Redowan Delowar</dc:creator>
    <lastBuildDate>Wed, 02 Dec 2026 22:29:48 +0000</lastBuildDate>
    <atom:link href="https://rednafi.com/ai/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Agents as reconciliation loops</title>
      <link>https://rednafi.com/ai/agent-reconciliation-loop/</link>
      <pubDate>Wed, 02 Dec 2026 00:00:00 +0100</pubDate>
      <guid>https://rednafi.com/ai/agent-reconciliation-loop/</guid>
      <dc:creator>Redowan Delowar</dc:creator>
      <description>Fitting the work of any agent into observe, decide, apply, and report, the same way a Kubernetes controller runs its loop.</description>
      <content:encoded>&lt;p&gt;Over the past year, I&amp;rsquo;ve written a handful of agents. Some of them handle production traffic
at work, and a couple run on a Raspberry Pi on my desk. I&amp;rsquo;ve written agent loops by hand and
used most of the popular frameworks: &lt;a href=&#34;https://strandsagents.com/&#34; rel=&#34;noopener noreferrer&#34; target=&#34;_blank&#34; aria-label=&#34;AWS Strands (opens in new tab)&#34;&gt;AWS Strands&lt;/a&gt;, &lt;a href=&#34;https://google.github.io/adk-docs/&#34; rel=&#34;noopener noreferrer&#34; target=&#34;_blank&#34; aria-label=&#34;Google ADK (opens in new tab)&#34;&gt;Google ADK&lt;/a&gt;, &lt;a href=&#34;https://www.langchain.com/langgraph&#34; rel=&#34;noopener noreferrer&#34; target=&#34;_blank&#34; aria-label=&#34;LangGraph (opens in new tab)&#34;&gt;LangGraph&lt;/a&gt;, &lt;a href=&#34;https://openai.github.io/openai-agents-python/&#34; rel=&#34;noopener noreferrer&#34; target=&#34;_blank&#34; aria-label=&#34;OpenAI
Agents SDK (opens in new tab)&#34;&gt;OpenAI
Agents SDK&lt;/a&gt;, &lt;a href=&#34;https://ai.pydantic.dev/&#34; rel=&#34;noopener noreferrer&#34; target=&#34;_blank&#34; aria-label=&#34;Pydantic AI (opens in new tab)&#34;&gt;Pydantic AI&lt;/a&gt;, and the &lt;a href=&#34;https://docs.claude.com/en/api/agent-sdk/overview&#34; rel=&#34;noopener noreferrer&#34; target=&#34;_blank&#34; aria-label=&#34;Claude Agent SDK (opens in new tab)&#34;&gt;Claude Agent SDK&lt;/a&gt;. Along the way, I settled on a
pattern that I now use for nearly every agent, regardless of the framework.&lt;/p&gt;
&lt;div class=&#34;alert alert-note&#34;&gt;
  &lt;p class=&#34;alert-title&#34;&gt;Note&lt;/p&gt;
  &lt;p&gt;By agent, I mean a model plus a harness. The harness is the glue code around the model
that does things on its behalf, like calling tools, reading files, and talking to other
services.&lt;/p&gt;
&lt;/div&gt;&lt;p&gt;Agents can be triggered by an API call, an event, or a cron job. Once awake, the agent
typically follows the same steps, and each run is one pass of a reconciliation loop.&lt;/p&gt;
&lt;h2 id=&#34;reconciliation-loops&#34;&gt;Reconciliation loops &lt;a class=&#34;anchor&#34; href=&#34;#reconciliation-loops&#34; aria-label=&#34;Permalink to Reconciliation loops&#34;&gt;&lt;span aria-hidden=&#34;true&#34;&gt;#&lt;/span&gt;&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;In &lt;a href=&#34;https://www.youtube.com/watch?v=MuK6lmsfX1E&#34; rel=&#34;noopener noreferrer&#34; target=&#34;_blank&#34; aria-label=&#34;Reconciling Everything (opens in new tab)&#34;&gt;Reconciling Everything&lt;/a&gt;, Andrew Godwin describes a reconciliation loop as stateless
programs that talk to one source of truth. Each program reads the current state and finds
something that doesn&amp;rsquo;t match the desired state. It takes a small step to close the gap,
writes the result back, and starts again.&lt;/p&gt;
&lt;p&gt;Kubernetes is the best-known example. You declare what you want in an object&amp;rsquo;s &lt;code&gt;spec&lt;/code&gt;, and a
&lt;a href=&#34;https://kubernetes.io/docs/concepts/architecture/controller/&#34; rel=&#34;noopener noreferrer&#34; target=&#34;_blank&#34; aria-label=&#34;controller (opens in new tab)&#34;&gt;controller&lt;/a&gt; runs a loop that:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;watches the API server for changes to the objects it manages&lt;/li&gt;
&lt;li&gt;compares the desired state in the &lt;code&gt;spec&lt;/code&gt; with the current state of the cluster&lt;/li&gt;
&lt;li&gt;asks the API server for the changes that close the gap&lt;/li&gt;
&lt;li&gt;records what it saw in the object&amp;rsquo;s &lt;code&gt;status&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;observe-decide-apply-report&#34;&gt;Observe, decide, apply, report &lt;a class=&#34;anchor&#34; href=&#34;#observe-decide-apply-report&#34; aria-label=&#34;Permalink to Observe, decide, apply, report&#34;&gt;&lt;span aria-hidden=&#34;true&#34;&gt;#&lt;/span&gt;&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;An agent run works the same way, with your prompt or rules defining the desired state.&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;https://blob.rednafi.com/ai/agent-reconciliation-loop/agent-reconciliation-loop-58f016b9d5f3.svg&#34; alt=&#34;An agent run next to the controller steps it mirrors&#34; referrerpolicy=&#34;no-referrer&#34; loading=&#34;lazy&#34; decoding=&#34;async&#34;&gt;
&lt;/p&gt;
&lt;p&gt;In code, a run looks like this:&lt;/p&gt;
&lt;div class=&#34;codeblock&#34; translate=&#34;no&#34; data-lang=&#34;python&#34; data-copyable&gt;
  &lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-python&#34; data-lang=&#34;python&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;k&#34;&gt;def&lt;/span&gt; &lt;span class=&#34;nf&#34;&gt;reconcile&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;(&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;trigger&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;:&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;Trigger&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;)&lt;/span&gt; &lt;span class=&#34;o&#34;&gt;-&amp;gt;&lt;/span&gt; &lt;span class=&#34;kc&#34;&gt;None&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;:&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;    &lt;span class=&#34;n&#34;&gt;state&lt;/span&gt; &lt;span class=&#34;o&#34;&gt;=&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;observe&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;(&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;trigger&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;)&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;    &lt;span class=&#34;n&#34;&gt;plan&lt;/span&gt; &lt;span class=&#34;o&#34;&gt;=&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;decide&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;(&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;state&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;)&lt;/span&gt;  &lt;span class=&#34;c1&#34;&gt;# returns data, changes nothing&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;    &lt;span class=&#34;n&#34;&gt;result&lt;/span&gt; &lt;span class=&#34;o&#34;&gt;=&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;apply&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;(&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;plan&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;)&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;    &lt;span class=&#34;n&#34;&gt;report&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;(&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;result&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;/div&gt;&lt;p&gt;Say you&amp;rsquo;re building an agent that labels and assigns open GitHub issues:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;observe&lt;/code&gt; fetches the current &lt;code&gt;state&lt;/code&gt;, like the open issues that still need triage.
Usually this is plain code calling an API. If fetching the data directly is cumbersome or
finding the right context takes judgment, it can ask a model to use read-only tools
instead.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;decide&lt;/code&gt; compares &lt;code&gt;state&lt;/code&gt; against your prompt or rules and returns a &lt;code&gt;plan&lt;/code&gt; as plain data,
like which labels and owners each issue should get. You can write it in ordinary code, or
call an LLM or a decision model.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;apply&lt;/code&gt; carries out &lt;code&gt;plan&lt;/code&gt; and makes the changes on GitHub. Depending on the job, it runs
the steps directly or hands them to subagents or a swarm.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;report&lt;/code&gt; turns &lt;code&gt;result&lt;/code&gt; into a summary and handles notifications, like posting what
changed to Slack.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;In a typical tool-calling loop, the model reads state and mutates it in the same turn. You
can&amp;rsquo;t see what it&amp;rsquo;s about to do before it acts. Splitting &lt;code&gt;decide&lt;/code&gt; from &lt;code&gt;apply&lt;/code&gt; gets you
closer to &lt;a href=&#34;https://www.destroyallsoftware.com/screencasts/catalog/functional-core-imperative-shell&#34; rel=&#34;noopener noreferrer&#34; target=&#34;_blank&#34; aria-label=&#34;functional core, imperative shell (opens in new tab)&#34;&gt;functional core, imperative shell&lt;/a&gt;. Calling a model over the network means
&lt;code&gt;decide&lt;/code&gt; isn&amp;rsquo;t strictly pure, since you still have I/O and non-determinism. Still, it never
modifies the system you&amp;rsquo;re managing, and every change happens in &lt;code&gt;apply&lt;/code&gt;. Because the plan
is plain data, I can log it before anything runs or skip &lt;code&gt;apply&lt;/code&gt; for a dry run. I can also
replay recorded state through &lt;code&gt;decide&lt;/code&gt; in tests.&lt;/p&gt;
&lt;p&gt;One call to &lt;code&gt;reconcile&lt;/code&gt; is a single pass, which is enough for an agent behind an API
endpoint. Put the same function on a schedule and it becomes a loop. As long as &lt;code&gt;observe&lt;/code&gt;
sees the effect of &lt;code&gt;apply&lt;/code&gt; on the next run, the agent doesn&amp;rsquo;t need its own state or
checkpointing. Say that GitHub triage agent crashes halfway through a run. GitHub holds the
state, so the next run just finds whichever issues are still unlabeled and finishes the job.&lt;/p&gt;
&lt;p&gt;If you want to see how this looks in real code, I have put together a single-pass example in
&lt;a href=&#34;https://gist.github.com/rednafi/2a6ba6ae79f935f6e011df9377fb57e9&#34; rel=&#34;noopener noreferrer&#34; target=&#34;_blank&#34; aria-label=&#34;this gist (opens in new tab)&#34;&gt;this gist&lt;/a&gt;. It&amp;rsquo;s an agent written with the AWS Strands SDK that finds the most
controversial stories on Hacker News and summarizes them.&lt;/p&gt;
&lt;p&gt;Outside of software, I&amp;rsquo;m also building an agent that moves the arms of a servo robot, and
this loop fits each individual movement perfectly. Maybe I&amp;rsquo;ll write about it at some point.&lt;/p&gt;
&lt;!-- prettier-ignore-start --&gt;
&lt;!-- agent run next to the controller steps it mirrors --&gt;
&lt;!-- prettier-ignore-end --&gt;
</content:encoded>
      <category>LLM</category>
      <category>Design Patterns</category>
    </item>
    <item>
      <title>Why do we listen to people with no skin in the game?</title>
      <link>https://rednafi.com/ai/no-skin-in-the-game/</link>
      <pubDate>Sat, 19 Sep 2026 00:00:00 +0000</pubDate>
      <guid>https://rednafi.com/ai/no-skin-in-the-game/</guid>
      <dc:creator>Redowan Delowar</dc:creator>
      <description>On taking software advice from managers and influencers who don&amp;#39;t have to build or deliver it themselves.</description>
      <content:encoded>&lt;p&gt;&lt;img src=&#34;https://blob.rednafi.com/ai/no-skin-in-the-game/megaphone-b0b0c559cf0b.jpg&#34; alt=&#34;A gray megaphone mounted high on a wall&#34; width=&#34;1600&#34; height=&#34;800&#34; referrerpolicy=&#34;no-referrer&#34; loading=&#34;lazy&#34; decoding=&#34;async&#34;&gt;
&lt;/p&gt;
&lt;p&gt;I&amp;rsquo;m talking in the context of &lt;a href=&#34;https://peter.bourgon.org/go-for-industrial-programming/&#34; rel=&#34;noopener noreferrer&#34; target=&#34;_blank&#34; aria-label=&#34;industrial programming (opens in new tab)&#34;&gt;industrial programming&lt;/a&gt;. A few statements I believe to be
true:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;If you aren&amp;rsquo;t doing it hands-on, your &lt;a href=&#34;https://www.youtube.com/watch?v=u3GjIXP9N0s&amp;amp;t=2854s&#34; rel=&#34;noopener noreferrer&#34; target=&#34;_blank&#34; aria-label=&#34;opinion about it is very likely to be completely
wrong (opens in new tab)&#34;&gt;opinion about it is very likely to be completely
wrong&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Being influential doesn&amp;rsquo;t automatically make you right.&lt;/li&gt;
&lt;li&gt;Talking about coding and delivering software under real constraints are two very different
things.&lt;/li&gt;
&lt;li&gt;Before clicking on a programming video, it doesn&amp;rsquo;t hurt to check the creator&amp;rsquo;s
credentials.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Yet we keep listening to influential people without much &lt;a href=&#34;https://en.wikipedia.org/wiki/Skin_in_the_Game_%28book%29&#34; rel=&#34;noopener noreferrer&#34; target=&#34;_blank&#34; aria-label=&#34;skin in the game (opens in new tab)&#34;&gt;skin in the game&lt;/a&gt;. Say your
extremely AI-pilled director plays around with LLMs for an afternoon, builds a few throwaway
applications with some prompts, and comes away convinced that software engineering is
solved. Now they demand 10x productivity and won&amp;rsquo;t hear about organizational friction or
unavoidable delivery delays. All the features were needed yesterday, and all of you peasants
are falling behind. Just use AI to steamroll everything.&lt;/p&gt;
&lt;p&gt;It&amp;rsquo;s easy for someone who doesn&amp;rsquo;t build software day to day to become enamored with LLMs. I
use them a ton, but I also run into their limitations more often than someone who has
one-shotted a todo app or automated a few recurring tasks.&lt;/p&gt;
&lt;p&gt;I don&amp;rsquo;t pretend to know how to run a huge organization. So I&amp;rsquo;m not a fan of people who don&amp;rsquo;t
build anything substantial day in and day out telling me how software should be written or
claiming that it has already been solved. If you write software for a living, you still have
to listen when your manager or director tells you how to do your work, unless you wanna lose
the job. That doesn&amp;rsquo;t make them right, and believing it does can be harmful to your psyche.&lt;/p&gt;
&lt;p&gt;To be right, you need to walk the walk and pick up the pager when the vibe-slopped software
crashes at 3 am.&lt;/p&gt;
&lt;hr&gt;
&lt;p&gt;Another group is software influencers. Some of them love making blanket statements like:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Everything should be rewritten in Rust&lt;/li&gt;
&lt;li&gt;I will never use a GC&amp;rsquo;d language like Go&lt;/li&gt;
&lt;li&gt;TypeScript should just die at this point&lt;/li&gt;
&lt;li&gt;Only boomers write C#&lt;/li&gt;
&lt;li&gt;Kotlin is Java from Temu&lt;/li&gt;
&lt;li&gt;Why you need XYZ tool&lt;/li&gt;
&lt;li&gt;Stop using X and use Y instead&lt;/li&gt;
&lt;li&gt;You are falling behind if you don&amp;rsquo;t do XYZ&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Well, of course they do. How else would they keep up with the algorithm?&lt;/p&gt;
&lt;p&gt;These people were in the right place at the right time. There is a lot of money in yapping
about software. I can name a few channels run by folks who worked in big tech once and then
turned that into a career in podcasting or talking about software.&lt;/p&gt;
&lt;p&gt;I have learned a lot from some of the guests on these shows. Unlike the hosts, their guests
are typically folks who built successful careers writing large-scale software. I have no
problem listening to and learning from them. But take advice from the hosts with a grain of
salt, especially if all they do is talk about software.&lt;/p&gt;
&lt;p&gt;The same goes for people who tell you XYZ AI skills are all you need. Keep in mind that
these are the same people who used to sell courses on hot JavaScript frameworks, then jumped
on the blockchain and NFT bandwagon, and are now riding the AI wave. Imagine if your
run-of-the-mill civil engineer got obsessed with tools and churned out sandcastles while
yammering nonstop about how fast they could build them?&lt;/p&gt;
&lt;p&gt;Of course they&amp;rsquo;d think rewriting everything in Rust is a good idea: they run a Rust
consultancy, ffs! Swap Rust for any language or tool and you&amp;rsquo;ll see similar behavior.&lt;/p&gt;
&lt;p&gt;These blanket statements rarely consider the fact that an organization picks a language
based on the available talent pool in the local market, how quickly they can build a product
with it, and, for startups, which language the founders knew when they started the company.
Changing that later is quite difficult, and spending time on it is often the wrong thing to
do. LLMs don&amp;rsquo;t change that.&lt;/p&gt;
&lt;p&gt;Advice is cheap, so keep an eye on the incentives of people who hand it out wholesale. None
of this is new, and if you have been in the industry for more than a few years, you probably
know it already.&lt;/p&gt;
&lt;p&gt;This makes me wonder: why do we listen to people who have no skin in the game?&lt;/p&gt;
&lt;!-- references --&gt;
&lt;!-- prettier-ignore-start --&gt;
&lt;!-- image_1: Photo by Franck V on Unsplash: https://unsplash.com/photos/tiNCpHudGrw --&gt;
&lt;!-- prettier-ignore-end --&gt;
</content:encoded>
      <category>Essay</category>
      <category>AI</category>
    </item>
    <item>
      <title>The irrational effectiveness of the Pi harness</title>
      <link>https://rednafi.com/ai/pi-harness/</link>
      <pubDate>Sat, 05 Sep 2026 00:00:00 +0200</pubDate>
      <guid>https://rednafi.com/ai/pi-harness/</guid>
      <dc:creator>Redowan Delowar</dc:creator>
      <description>A month of coding with Pi, its small agent loop, and the skills and extensions I&amp;#39;ve added to it.</description>
      <content:encoded>&lt;p&gt;&lt;img src=&#34;https://blob.rednafi.com/ai/pi-harness/cover-62823da84914.png&#34; alt=&#34;Pi running in Ghostty with a read tool call&#34; width=&#34;2480&#34; height=&#34;1600&#34; referrerpolicy=&#34;no-referrer&#34; loading=&#34;lazy&#34; decoding=&#34;async&#34;&gt;
&lt;/p&gt;
&lt;p&gt;A few months back, Pi&amp;rsquo;s creator Mario Zechner gave a talk on &lt;a href=&#34;https://www.youtube.com/watch?v=RjfbvDXpFls&#34; rel=&#34;noopener noreferrer&#34; target=&#34;_blank&#34; aria-label=&#34;developing Pi and slowing
things down (opens in new tab)&#34;&gt;developing Pi and slowing
things down&lt;/a&gt;. It resonated with me so much that I wanted to try out the harness. I&amp;rsquo;m also
getting increasingly wary of how bloated Claude Code and Codex have gotten over time.&lt;/p&gt;
&lt;p&gt;I have no idea what these harnesses are putting into the system prompt or how that&amp;rsquo;s
affecting the models&amp;rsquo; responses. I also have no clue about how their tool calling works or
what search engine they&amp;rsquo;re using while searching for something. This opaque nature, along
with the sweeping changes they make to their system instructions every now and then, makes
it difficult to build a reliable workflow. Models are non-deterministic enough. I really
don&amp;rsquo;t want my harness to add to it.&lt;/p&gt;
&lt;p&gt;Pi is a tiny coding harness written in TypeScript. By default, it gives the model four
tools: &lt;code&gt;read&lt;/code&gt;, &lt;code&gt;write&lt;/code&gt;, &lt;code&gt;edit&lt;/code&gt;, and &lt;code&gt;bash&lt;/code&gt;. Ostensibly, that&amp;rsquo;s all you need for most coding
work. The core is small enough that you can read the important parts in one sitting. The
repo has more packages than this, but these are the four salient ones, and they&amp;rsquo;re quite
pleasant to read:&lt;/p&gt;
&lt;div class=&#34;codeblock&#34; translate=&#34;no&#34; data-lang=&#34;txt&#34;&gt;
  &lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-txt&#34; data-lang=&#34;txt&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;packages/
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;|-- ai/           # model APIs, streaming, and token usage
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;|-- agent/        # agent loop and tool execution
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;|-- tui/          # terminal rendering and keyboard input
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;`-- coding-agent/ # CLI, sessions, and extensions&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;/div&gt;&lt;p&gt;Its &lt;a href=&#34;https://github.com/earendil-works/pi/blob/main/packages/agent/src/agent-loop.ts&#34; rel=&#34;noopener noreferrer&#34; target=&#34;_blank&#34; aria-label=&#34;agentic loop (opens in new tab)&#34;&gt;agentic loop&lt;/a&gt; boils down to this:&lt;/p&gt;
&lt;div class=&#34;codeblock&#34; translate=&#34;no&#34; data-lang=&#34;ts&#34; data-copyable&gt;
  &lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-ts&#34; data-lang=&#34;ts&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;k&#34;&gt;while&lt;/span&gt; &lt;span class=&#34;p&#34;&gt;(&lt;/span&gt;&lt;span class=&#34;kc&#34;&gt;true&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;)&lt;/span&gt; &lt;span class=&#34;p&#34;&gt;{&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;    &lt;span class=&#34;kr&#34;&gt;const&lt;/span&gt; &lt;span class=&#34;nx&#34;&gt;response&lt;/span&gt; &lt;span class=&#34;o&#34;&gt;=&lt;/span&gt; &lt;span class=&#34;k&#34;&gt;await&lt;/span&gt; &lt;span class=&#34;nx&#34;&gt;callModel&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;(&lt;/span&gt;&lt;span class=&#34;nx&#34;&gt;messages&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;,&lt;/span&gt; &lt;span class=&#34;nx&#34;&gt;tools&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;)&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;    &lt;span class=&#34;nx&#34;&gt;messages&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;.&lt;/span&gt;&lt;span class=&#34;nx&#34;&gt;push&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;(&lt;/span&gt;&lt;span class=&#34;nx&#34;&gt;response&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;)&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;    &lt;span class=&#34;k&#34;&gt;if&lt;/span&gt; &lt;span class=&#34;p&#34;&gt;(&lt;/span&gt;&lt;span class=&#34;nx&#34;&gt;response&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;.&lt;/span&gt;&lt;span class=&#34;nx&#34;&gt;stopReason&lt;/span&gt; &lt;span class=&#34;o&#34;&gt;===&lt;/span&gt; &lt;span class=&#34;s2&#34;&gt;&amp;#34;error&amp;#34;&lt;/span&gt; &lt;span class=&#34;o&#34;&gt;||&lt;/span&gt; &lt;span class=&#34;nx&#34;&gt;response&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;.&lt;/span&gt;&lt;span class=&#34;nx&#34;&gt;stopReason&lt;/span&gt; &lt;span class=&#34;o&#34;&gt;===&lt;/span&gt; &lt;span class=&#34;s2&#34;&gt;&amp;#34;aborted&amp;#34;&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;)&lt;/span&gt; &lt;span class=&#34;p&#34;&gt;{&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;        &lt;span class=&#34;k&#34;&gt;break&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;    &lt;span class=&#34;p&#34;&gt;}&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;    &lt;span class=&#34;kr&#34;&gt;const&lt;/span&gt; &lt;span class=&#34;nx&#34;&gt;calls&lt;/span&gt; &lt;span class=&#34;o&#34;&gt;=&lt;/span&gt; &lt;span class=&#34;nx&#34;&gt;response&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;.&lt;/span&gt;&lt;span class=&#34;nx&#34;&gt;content&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;.&lt;/span&gt;&lt;span class=&#34;nx&#34;&gt;filter&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;((&lt;/span&gt;&lt;span class=&#34;nx&#34;&gt;part&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;)&lt;/span&gt; &lt;span class=&#34;o&#34;&gt;=&amp;gt;&lt;/span&gt; &lt;span class=&#34;nx&#34;&gt;part&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;.&lt;/span&gt;&lt;span class=&#34;kr&#34;&gt;type&lt;/span&gt; &lt;span class=&#34;o&#34;&gt;===&lt;/span&gt; &lt;span class=&#34;s2&#34;&gt;&amp;#34;toolCall&amp;#34;&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;)&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;    &lt;span class=&#34;k&#34;&gt;if&lt;/span&gt; &lt;span class=&#34;p&#34;&gt;(&lt;/span&gt;&lt;span class=&#34;nx&#34;&gt;calls&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;.&lt;/span&gt;&lt;span class=&#34;nx&#34;&gt;length&lt;/span&gt; &lt;span class=&#34;o&#34;&gt;===&lt;/span&gt; &lt;span class=&#34;mi&#34;&gt;0&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;)&lt;/span&gt; &lt;span class=&#34;p&#34;&gt;{&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;        &lt;span class=&#34;k&#34;&gt;break&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;    &lt;span class=&#34;p&#34;&gt;}&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;    &lt;span class=&#34;kr&#34;&gt;const&lt;/span&gt; &lt;span class=&#34;nx&#34;&gt;results&lt;/span&gt; &lt;span class=&#34;o&#34;&gt;=&lt;/span&gt; &lt;span class=&#34;k&#34;&gt;await&lt;/span&gt; &lt;span class=&#34;nx&#34;&gt;executeTools&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;(&lt;/span&gt;&lt;span class=&#34;nx&#34;&gt;calls&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;)&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;    &lt;span class=&#34;nx&#34;&gt;messages&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;.&lt;/span&gt;&lt;span class=&#34;nx&#34;&gt;push&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;(...&lt;/span&gt;&lt;span class=&#34;nx&#34;&gt;results&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;)&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;p&#34;&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;/div&gt;&lt;p&gt;The model requests tool calls and Pi runs them. The results go back into the conversation.
This repeats until the model replies without requesting another tool. The actual loop also
handles queued user messages and emits events for the UI. The above sketch leaves those out,
along with tool validation and error handling.&lt;/p&gt;
&lt;p&gt;Pi&amp;rsquo;s &lt;a href=&#34;https://github.com/earendil-works/pi/blob/main/packages/coding-agent/src/core/system-prompt.ts&#34; rel=&#34;noopener noreferrer&#34; target=&#34;_blank&#34; aria-label=&#34;system prompt (opens in new tab)&#34;&gt;system prompt&lt;/a&gt; and &lt;a href=&#34;https://github.com/earendil-works/pi/tree/main/packages/coding-agent/src/core/tools&#34; rel=&#34;noopener noreferrer&#34; target=&#34;_blank&#34; aria-label=&#34;tool definitions (opens in new tab)&#34;&gt;tool definitions&lt;/a&gt; together come in at around 1,000 tokens. In
contrast, the &lt;a href=&#34;https://github.com/openai/codex/blob/main/codex-rs/models-manager/prompt.md&#34; rel=&#34;noopener noreferrer&#34; target=&#34;_blank&#34; aria-label=&#34;Codex system prompt (opens in new tab)&#34;&gt;Codex system prompt&lt;/a&gt; that ships with the CLI is about 4,400 tokens before you
count its tool definitions. Claude Code isn&amp;rsquo;t open source, but people have &lt;a href=&#34;https://github.com/Piebald-AI/claude-code-system-prompts&#34; rel=&#34;noopener noreferrer&#34; target=&#34;_blank&#34; aria-label=&#34;reconstructed
its prompts (opens in new tab)&#34;&gt;reconstructed
its prompts&lt;/a&gt;, and the built-in tool descriptions alone add up to several thousand tokens.
There is no benchmark that proves these huge system prompts make the output measurably
better. But they make the sessions costlier from the get-go for sure.&lt;/p&gt;
&lt;p&gt;Pi doesn&amp;rsquo;t bundle extra skills, subagents, or MCP support. If you need them, you can ask Pi
to write an extension or install someone else&amp;rsquo;s. Pi knows its internals, and writing an
extension is such a pleasant experience. You can literally one-shot most of the simple
extensions with any capable model.&lt;/p&gt;
&lt;p&gt;I really like this opt-in approach. Don&amp;rsquo;t add garbage you think I need that I actually
don&amp;rsquo;t. Let me pick my own.&lt;/p&gt;
&lt;p&gt;I&amp;rsquo;m also skeptical of installing random skills and extensions from the internet. My local
setup has a few I&amp;rsquo;ve written or adapted:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://github.com/rednafi/dotfiles/tree/main/dot_agents/skills/whip&#34; rel=&#34;noopener noreferrer&#34; target=&#34;_blank&#34; aria-label=&#34;skill:whip (opens in new tab)&#34;&gt;skill:whip&lt;/a&gt;: tames the insufferable text that LLMs generate. I copied the content of
&lt;a href=&#34;https://tropes.fyi&#34; rel=&#34;noopener noreferrer&#34; target=&#34;_blank&#34; aria-label=&#34;tropes.fyi (opens in new tab)&#34;&gt;tropes.fyi&lt;/a&gt; into a skill and regularly use it to fix PR descriptions at work.&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://github.com/rednafi/dotfiles/blob/main/dot_pi/agent/extensions/web.ts&#34; rel=&#34;noopener noreferrer&#34; target=&#34;_blank&#34; aria-label=&#34;extension:web.ts (opens in new tab)&#34;&gt;extension:web.ts&lt;/a&gt;: lets Pi search DuckDuckGo and open the results as plain text. It tells
the model to read the pages before answering factual questions.&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://github.com/rednafi/dotfiles/tree/main/dot_pi/agent/extensions/subagent&#34; rel=&#34;noopener noreferrer&#34; target=&#34;_blank&#34; aria-label=&#34;extension:subagent (opens in new tab)&#34;&gt;extension:subagent&lt;/a&gt;: delegates a task to a separate Pi process with its own context. I
copied the code from Pi&amp;rsquo;s &lt;a href=&#34;https://github.com/earendil-works/pi/tree/main/packages/coding-agent/examples/extensions/subagent&#34; rel=&#34;noopener noreferrer&#34; target=&#34;_blank&#34; aria-label=&#34;extension example (opens in new tab)&#34;&gt;extension example&lt;/a&gt;. I can run agents in parallel or pass one
agent&amp;rsquo;s findings to the next.&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://github.com/rednafi/dotfiles/blob/main/dot_pi/agent/extensions/welcome-logo.ts&#34; rel=&#34;noopener noreferrer&#34; target=&#34;_blank&#34; aria-label=&#34;extension:welcome-logo.ts (opens in new tab)&#34;&gt;extension:welcome-logo.ts&lt;/a&gt;: draws the block-letter Pi logo in the screenshot above. This
is the first Pi extension I wrote. It replaces the startup header and uses the current
theme&amp;rsquo;s accent color.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;I don&amp;rsquo;t use &lt;code&gt;/goal&lt;/code&gt; or &lt;code&gt;/plan&lt;/code&gt; mode. I still babysit agents and read every line of their
output, so I haven&amp;rsquo;t found the way &lt;code&gt;/goal&lt;/code&gt; works particularly useful for my workflow. As for
planning, I just ask the model to dump the plan in a &lt;code&gt;plan.md&lt;/code&gt; file.&lt;/p&gt;
&lt;p&gt;Apart from these, I also installed &lt;a href=&#34;https://github.com/nicobailon/pi-mcp-adapter&#34; rel=&#34;noopener noreferrer&#34; target=&#34;_blank&#34; aria-label=&#34;pi-mcp-adapter (opens in new tab)&#34;&gt;pi-mcp-adapter&lt;/a&gt; for MCP access. Its bundled
&lt;code&gt;mcp-scripting&lt;/code&gt; skill lets Pi combine MCP calls in JavaScript. That&amp;rsquo;s the only third-party
extension I&amp;rsquo;m currently using. At some point, I&amp;rsquo;d like to dig into its implementation and
write my own MCP extension too.&lt;/p&gt;
&lt;p&gt;My &lt;a href=&#34;https://github.com/rednafi/dotfiles/tree/main/dot_pi/agent&#34; rel=&#34;noopener noreferrer&#34; target=&#34;_blank&#34; aria-label=&#34;Pi configuration (opens in new tab)&#34;&gt;Pi configuration&lt;/a&gt; is in my dotfiles repo.&lt;/p&gt;
&lt;p&gt;I thought Pi&amp;rsquo;s bare-bones defaults would slow me down. But almost irrationally, I&amp;rsquo;ve used it
every day for the last 30 days and haven&amp;rsquo;t felt the need to return to a more feature-packed
harness. It feels good to use a tool whose core I can keep in my head without flailing. The
TUI has been rock solid too. It hasn&amp;rsquo;t crashed or frozen on me once. I haven&amp;rsquo;t seen it
flicker while I&amp;rsquo;m working. Maybe that&amp;rsquo;s because it&amp;rsquo;s a frikkin TUI and &lt;a href=&#34;https://x.com/trq212/status/2014051501786931427&#34; rel=&#34;noopener noreferrer&#34; target=&#34;_blank&#34; aria-label=&#34;not a game engine! (opens in new tab)&#34;&gt;not a game engine!&lt;/a&gt;&lt;/p&gt;
&lt;hr&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://mariozechner.at/posts/2025-11-30-pi-coding-agent/&#34; rel=&#34;noopener noreferrer&#34; target=&#34;_blank&#34; aria-label=&#34;What I learned building an opinionated and minimal coding agent ~ Mario Zechner (opens in new tab)&#34;&gt;What I learned building an opinionated and minimal coding agent ~ Mario Zechner&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://mariozechner.at/posts/2026-04-08-ive-sold-out/&#34; rel=&#34;noopener noreferrer&#34; target=&#34;_blank&#34; aria-label=&#34;I’ve sold out ~ Mario Zechner (opens in new tab)&#34;&gt;I&amp;rsquo;ve sold out ~ Mario Zechner&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://lucumr.pocoo.org/2026/1/31/pi/&#34; rel=&#34;noopener noreferrer&#34; target=&#34;_blank&#34; aria-label=&#34;Pi: The minimal agent within OpenClaw ~ Armin Ronacher (opens in new tab)&#34;&gt;Pi: The minimal agent within OpenClaw ~ Armin Ronacher&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://lucumr.pocoo.org/2026/5/24/pi-oss/&#34; rel=&#34;noopener noreferrer&#34; target=&#34;_blank&#34; aria-label=&#34;Building Pi with Pi ~ Armin Ronacher (opens in new tab)&#34;&gt;Building Pi with Pi ~ Armin Ronacher&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;!-- references --&gt;
&lt;!-- prettier-ignore-start --&gt;
&lt;!-- pi running in ghostty --&gt;
&lt;!-- prettier-ignore-end --&gt;
</content:encoded>
      <category>LLM</category>
      <category>CLI</category>
    </item>
    <item>
      <title>If you won&#39;t carry the pager, maybe don&#39;t push to mainline</title>
      <link>https://rednafi.com/ai/carry-the-pager/</link>
      <pubDate>Sat, 30 May 2026 00:00:00 +0000</pubDate>
      <guid>https://rednafi.com/ai/carry-the-pager/</guid>
      <dc:creator>Redowan Delowar</dc:creator>
      <description>Drive-by AI changes break the shared model a team builds around its code, and the ICs end up cleaning up the mess. Why pushing to mainline should come with the pager.</description>
      <content:encoded>&lt;p&gt;&lt;img src=&#34;https://blob.rednafi.com/ai/carry-the-pager/image-01-287c03215d4c.jpg&#34; alt=&#34;Gandalf blocking the Balrog, captioned &amp;ldquo;You shall not pass&amp;rdquo;&#34; width=&#34;1102&#34; height=&#34;350&#34; referrerpolicy=&#34;no-referrer&#34; loading=&#34;lazy&#34; decoding=&#34;async&#34;&gt;
&lt;/p&gt;
&lt;p&gt;In a funny turn of events, as AI spending spirals out of control, &lt;em&gt;tokenmaxxing&lt;/em&gt; is now
&lt;em&gt;considered harmful&lt;/em&gt;.&lt;/p&gt;
&lt;p&gt;Recently, &lt;a href=&#34;https://fortune.com/2026/05/26/uber-coo-ai-spending-tokens-claude-code/&#34; rel=&#34;noopener noreferrer&#34; target=&#34;_blank&#34; aria-label=&#34;Fortune (opens in new tab)&#34;&gt;Fortune&lt;/a&gt; reported that Uber burned through its entire 2026 AI coding budget in
four months, with every usage stat up and to the right. But COO Andrew Macdonald still can&amp;rsquo;t
tie any of it to features users would actually notice:&lt;/p&gt;
&lt;blockquote&gt;
  &lt;p&gt;Maybe implicitly there&amp;rsquo;s more that is getting shipped, but it&amp;rsquo;s very hard to draw a line
between one of those stats and &amp;lsquo;Okay now we&amp;rsquo;re actually producing like 25% more useful
consumer features.&amp;rsquo;&lt;/p&gt;

&lt;/blockquote&gt;&lt;p&gt;So it seems like all that spending bought a lot of code and not much else. Maybe a ton of
debt too.&lt;/p&gt;
&lt;p&gt;Meanwhile, the AI overlords keep rewriting the narrative. Who knew the public wouldn&amp;rsquo;t love
being told their job&amp;rsquo;s obsolete in the next x months?&lt;/p&gt;
&lt;p&gt;A year ago, &lt;a href=&#34;https://www.axios.com/2025/05/28/ai-jobs-white-collar-unemployment-anthropic&#34; rel=&#34;noopener noreferrer&#34; target=&#34;_blank&#34; aria-label=&#34;Dario Amodei cried wolf (opens in new tab)&#34;&gt;Dario Amodei cried wolf&lt;/a&gt;:&lt;/p&gt;
&lt;blockquote&gt;
  &lt;p&gt;AI could wipe out &lt;em&gt;half&lt;/em&gt; of all entry-level white-collar jobs - and spike unemployment to
10-20% in the next one to five years.&lt;/p&gt;

&lt;/blockquote&gt;&lt;p&gt;By February, &lt;a href=&#34;https://www.lennysnewsletter.com/p/head-of-claude-code-what-happens&#34; rel=&#34;noopener noreferrer&#34; target=&#34;_blank&#34; aria-label=&#34;Boris Cherny added to the fire (opens in new tab)&#34;&gt;Boris Cherny added to the fire&lt;/a&gt;:&lt;/p&gt;
&lt;blockquote&gt;
  &lt;p&gt;So I think at this point, it&amp;rsquo;s safe to say that coding is largely solved. At least for the
kinds of programming that I do, it&amp;rsquo;s just a solved problem because Claude can do it.&lt;/p&gt;

&lt;/blockquote&gt;&lt;p&gt;Then the IPOs got close and the tone flipped. This month, &lt;a href=&#34;https://fortune.com/2026/05/26/sam-altman-dario-amodei-walking-back-ai-jobs-apocalypse-prophecies-ipo/&#34; rel=&#34;noopener noreferrer&#34; target=&#34;_blank&#34; aria-label=&#34;Dario caved first (opens in new tab)&#34;&gt;Dario caved first&lt;/a&gt;:&lt;/p&gt;
&lt;blockquote&gt;
  &lt;p&gt;If you automate 90% of the job, then everyone does the 10% of the job. And the 10% kind of
expands to be 100% of what people do and kind of 10-times their productivity.&lt;/p&gt;

&lt;/blockquote&gt;&lt;p&gt;&lt;a href=&#34;https://www.cityam.com/delighted-to-be-wrong-sam-altman-changes-tune-on-ai-job-apocalypse-fears/&#34; rel=&#34;noopener noreferrer&#34; target=&#34;_blank&#34; aria-label=&#34;Sam Altman followed three weeks later (opens in new tab)&#34;&gt;Sam Altman followed three weeks later&lt;/a&gt;:&lt;/p&gt;
&lt;blockquote&gt;
  &lt;p&gt;I&amp;rsquo;m delighted to be wrong about this. I thought there would have been more impact on
entry-level white-collar jobs being eliminated by now than has actually happened.&lt;/p&gt;

&lt;/blockquote&gt;&lt;p&gt;In the beginning, this was an obvious PR stunt to sell leadership the nirvana of the
one-person company, where the agents do everything and the profit splits between the CEO and
the model provider. Too bad, that hasn&amp;rsquo;t happened yet.&lt;/p&gt;
&lt;hr&gt;
&lt;p&gt;Everyone and their moms are now slinging code to production, not because they want to but
because they&amp;rsquo;re pushed to, and because AI apparently makes everyone an expert in everything.&lt;/p&gt;
&lt;p&gt;I&amp;rsquo;m a heavy LLM user myself, and I&amp;rsquo;m constantly fascinated by what it lets me do. But saying
things like&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;frontend engineering is cooked&lt;/li&gt;
&lt;li&gt;AI is coming for backend&lt;/li&gt;
&lt;li&gt;who needs infra people when the model is so good at wrangling k8s&lt;/li&gt;
&lt;li&gt;writing docs isn&amp;rsquo;t a problem, I just generated twenty pages of slop for my twenty-line
script&lt;/li&gt;
&lt;li&gt;PMs are useless and should be replaced&lt;/li&gt;
&lt;li&gt;EMs should code now, and the ones who don&amp;rsquo;t ngmi&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;is incredibly stupid. It creates a hunger-games environment at work. And for what? So that
Dario&amp;rsquo;s next prediction becomes a self-fulfilling prophecy as we tear each other apart?&lt;/p&gt;
&lt;p&gt;The AI leaderboard and tokenmaxxing gamification pull all kinds of weird behavior out of
people. PMs are forced to push code instead of doing their actual jobs. EMs are buried under
their own responsibilities and still expected to sit at the center of every technical
problem on the team. The result is that everyone is running around like headless chickens
switching from one task to the next, from one demo to the next and accomplishing nothing.
But hey, we&amp;rsquo;re productive at least.&lt;/p&gt;
&lt;p&gt;And no one cares about the poor ICs. The deadlines and expectations are getting batshit
crazy.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Just use AI, bro, and be 10x productive.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Coding is important, but it&amp;rsquo;s like 20% of the work, and making it 10x faster won&amp;rsquo;t make the
whole thing go brrr! Hello &lt;a href=&#34;https://rednafi.com/maxims/#amdahl&#34;&gt;Amdahl&amp;rsquo;s law&lt;/a&gt;.&lt;/p&gt;
&lt;hr&gt;
&lt;p&gt;Here&amp;rsquo;s what Marc Brooker said &lt;a href=&#34;https://www.youtube.com/watch?v=u3GjIXP9N0s&#34; rel=&#34;noopener noreferrer&#34; target=&#34;_blank&#34; aria-label=&#34;on a podcast (opens in new tab)&#34;&gt;on a podcast&lt;/a&gt;:&lt;/p&gt;
&lt;blockquote&gt;
  &lt;p&gt;If you aren&amp;rsquo;t doing it hands on, your opinion about it is very likely to be completely
wrong.&lt;/p&gt;

&lt;/blockquote&gt;&lt;p&gt;He&amp;rsquo;s talking about leadership making technical decisions, and without being somewhat
hands-on, it&amp;rsquo;s impossible to form an opinion. But does everyone need to form an opinion on
everything? Of course not, and that&amp;rsquo;s exactly why we have hierarchies. Saying AI will
steamroll that into something flat and egalitarian is naive.&lt;/p&gt;
&lt;p&gt;Add non-technical people to the mix, and it doesn&amp;rsquo;t take long for the whole thing to turn
into a castle of glass. This breaks the social structure of an engineering team in the name
of forced democratization. Now this might sound like gatekeeping. But if democratization
means throwing out the playbooks we&amp;rsquo;ve built over the last 50 years, then gatekeeping is
just quality control with an uglier name.&lt;/p&gt;
&lt;p&gt;Expecting code from an EM leading an infra team is very different from expecting it from a
PM or a designer. I&amp;rsquo;m all for anyone trying to pitch in and survive this madness, regardless
of their role. But hauling agents onto a mission-critical codebase isn&amp;rsquo;t the way to do it.
Go try merging something into the Linux kernel with zero context. The kernel maintainers
can&amp;rsquo;t allow you to merge random stuff into mainline without breaking the universe. So why
would it be gatekeeping if merging PRs at your workplace demands the same bar?&lt;/p&gt;
&lt;p&gt;PMs and designers have plenty to contribute, just not directly to the code that runs in
production. AI makes prototyping, mocking, and wireframing faster than ever, and anyone can
do that without disrupting the critical path.&lt;/p&gt;
&lt;p&gt;What it won&amp;rsquo;t do is turn you into the expert it took some guy ten years to become. I can&amp;rsquo;t
replace an EM with Claude, and I don&amp;rsquo;t want to. I want my PM and my EM to do their jobs so I
can do mine. Also, please don&amp;rsquo;t turn the poor designers into vibecoding jarheads. Let them
explore the tools at their own pace and see what they can do with them. Trying to force
everyone into the same box, all contributing to the production codebase, is a leadership
failure.&lt;/p&gt;
&lt;hr&gt;
&lt;p&gt;Building software means building a collective mental model of how the system works and how
it&amp;rsquo;s run, and most of that model never makes it into the code or the docs. Peter Naur&amp;rsquo;s
&lt;a href=&#34;https://pages.cs.wisc.edu/~remzi/Naur.pdf&#34; rel=&#34;noopener noreferrer&#34; target=&#34;_blank&#34; aria-label=&#34;Programming as Theory Building (opens in new tab)&#34;&gt;Programming as Theory Building&lt;/a&gt; is as relevant as ever:&lt;/p&gt;
&lt;blockquote&gt;
  &lt;p&gt;For a program to retain its quality it is mandatory that each modification is firmly
grounded in the theory of it.&lt;/p&gt;

&lt;/blockquote&gt;&lt;p&gt;Generating code is cheap. Operating it is where you learn the kinks of a deployed artifact.
You don&amp;rsquo;t build that model without the elbow grease.&lt;/p&gt;
&lt;p&gt;And operating it means carrying the pager. When you get paged, you thread through the
incident, hotfix if you can, write the post-mortem and the &lt;a href=&#34;https://aws.amazon.com/blogs/mt/why-you-should-develop-a-correction-of-error-coe/&#34; rel=&#34;noopener noreferrer&#34; target=&#34;_blank&#34; aria-label=&#34;CoEs (opens in new tab)&#34;&gt;CoEs&lt;/a&gt;, and bang your head
against the wall until the root cause finally gives.&lt;/p&gt;
&lt;p&gt;You can&amp;rsquo;t do that alongside a zillion other responsibilities just because there&amp;rsquo;s now AI.
Unless you&amp;rsquo;re in the full software development lifecycle, your mental model is probably
plain wrong. You can&amp;rsquo;t prompt your way into a moderately complex system without putting in
the work.&lt;/p&gt;
&lt;p&gt;So if you haven&amp;rsquo;t done that work and aren&amp;rsquo;t ready to, your clanker-generated PR probably
does more harm than good. Anyone can prompt an LLM and get that PR, and someone from the
trenchline can do it even better. So it&amp;rsquo;s questionable whether this whole song and dance is
a good use of anyone&amp;rsquo;s time.&lt;/p&gt;
&lt;hr&gt;
&lt;p&gt;A drive-by contribution from out-of-band folks breaks the collective mental model. The
author never learned how the code is written or how it fails, and neither did the clanker
that wrote it. So often you get code that&amp;rsquo;s locally correct but breaks some global invariant
the author never knew how to check.&lt;/p&gt;
&lt;p&gt;Reviewing these slop PRs takes time, and the follow-up questions are futile, because the
author didn&amp;rsquo;t do the work and can&amp;rsquo;t address the concerns. Going back and forth is
pointless - they&amp;rsquo;ll just feed your comments back to the model. So people avoid reviewing PRs
like that, and worse, they get LGTM&amp;rsquo;d and merged into mainline. Disaster!&lt;/p&gt;
&lt;p&gt;And once it&amp;rsquo;s merged, who owns the code? Usually not the drive-by author. They don&amp;rsquo;t operate
the system, so when their change causes an outage, they&amp;rsquo;re rarely the one firefighting. It&amp;rsquo;s
just chucking the ball over the fence and calling it a day. So much for &lt;em&gt;&amp;quot;&lt;a href=&#34;https://queue.acm.org/detail.cfm?id=1142065&#34; rel=&#34;noopener noreferrer&#34; target=&#34;_blank&#34; aria-label=&#34;you build it, you
run it (opens in new tab)&#34;&gt;you build it, you
run it&lt;/a&gt;.&amp;quot;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;One too many times, the ICs and trenchline workers get pulled in to clean up the mess -
triaging an incident caused by someone else&amp;rsquo;s vibeslop, on code they never touched. It&amp;rsquo;s
incredibly unfair, and a massive tax on people who are already overloaded.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;So unless you carry the pager, maybe your code shouldn&amp;rsquo;t go to mainline.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Building anything useful takes all kinds of people. I don&amp;rsquo;t like this clanker-driven,
homogeneous world we&amp;rsquo;re heading toward. Being able to do more is welcome, but this lack of
accountability and the contest over who burns the most tokens probably won&amp;rsquo;t get us there.&lt;/p&gt;
&lt;p&gt;Oh look, the good ol&amp;rsquo; &lt;a href=&#34;https://rednafi.com/maxims/#goodhart&#34;&gt;Goodhart&amp;rsquo;s law&lt;/a&gt; is laughing at us again!&lt;/p&gt;
&lt;!-- references --&gt;
&lt;!-- prettier-ignore-start --&gt;
&lt;!-- prettier-ignore-end --&gt;
</content:encoded>
      <category>Essay</category>
      <category>AI</category>
      <category>LLMs</category>
      <category>Culture</category>
    </item>
  </channel>
</rss>

