<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Lawrence Jones</title>
    <atom:link href="/feed.xml" rel="self" type="application/rss+xml"/>
    <link>https://blog.lawrencejones.dev/</link>
    <description>Founding Engineer at incident.io, where I lead AI SRE. Writing about Postgres, Go, incidents, start-ups and AI.
</description>
    <pubDate>Sun, 15 Nov 2026 16:48:25 +0000</pubDate>
    
    
      <item>
        <title>How skills and MCPs actually work</title>
        <link>/demystifying-skills-and-mcps/</link>
        <guid isPermaLink="true">/demystifying-skills-and-mcps/</guid>
        <description>&lt;p&gt;We’ve been working on a project called Extensions: customers can now connect
their MCPs into our platform then load skills that tell us how to use them, with
both skills and connectors (our word for a connected MCP or API) woven into all
our agent surfaces. Basically, anything you can do in your Claude/Codex/etc
should be doable in our platform, and vice versa.&lt;/p&gt;

&lt;p&gt;It’s been a fun project but challenging, in part because until now we
(incident.io engineers) have been passive consumers of these technologies. We
used them, sure, and lots of people had written a skill, but were they good? Did
they actually work, beyond just for whichever person had written them? The
honest answer is we didn’t know, probably not, and no one could confidently say
they had mastered the tools.&lt;/p&gt;

&lt;p&gt;Extensions meant this needed to change, so we speed-run the process by:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Building skill support into our agent harnesses&lt;/li&gt;
  &lt;li&gt;Created a product with a strong conceptual model around skills&lt;/li&gt;
  &lt;li&gt;Dogfood’d the hell out of it: even hooking @incident up to an office printer&lt;/li&gt;
  &lt;li&gt;Arrived at opinions on best-practices&lt;/li&gt;
  &lt;li&gt;Encoded those opinions into product&lt;/li&gt;
  &lt;li&gt;Exposed feedback to customers on how their skills were performing&lt;/li&gt;
  &lt;li&gt;Helped those customers actually improve their skills&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Like much in the AI technology age you don’t need to know how this stuff works
to use it, but you will be much more effective if you do. So after having the
same “Skills and MCPs 101” chats with the team, I’ve taken the explanations that
worked best and written them into this post.&lt;/p&gt;

&lt;p&gt;If you want to know how this stuff actually works, this post is for you.&lt;/p&gt;

&lt;h2 id=&quot;llm-101&quot;&gt;LLM 101&lt;/h2&gt;

&lt;p&gt;Before we can talk about how skills work, we need to recap some LLM
fundamentals. Feel free to skip if you already know, but…&lt;/p&gt;

&lt;p&gt;All LLMs expose an API that looks much like a message thread. Each message has a
‘role’ which tells you what provided the message, be it instructions given by
the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;system&lt;/code&gt;, messages containing data for this &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;user&lt;/code&gt;, or &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;assistant&lt;/code&gt; messages
which are generated by the LLM model in response to the former.&lt;/p&gt;

&lt;p&gt;The standard example of asking an agent for the “weather in London” ends up
looking like this:&lt;/p&gt;

&lt;div class=&quot;language-yaml highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;na&quot;&gt;system&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;pi&quot;&gt;|&lt;/span&gt;
  &lt;span class=&quot;s&quot;&gt;You are a helpful assistant. Use your tools to answer questions.&lt;/span&gt;

&lt;span class=&quot;na&quot;&gt;tools&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt;
  &lt;span class=&quot;pi&quot;&gt;-&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;name&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;s&quot;&gt;get_weather&lt;/span&gt;
    &lt;span class=&quot;na&quot;&gt;description&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;s&quot;&gt;Get the current weather for a location&lt;/span&gt;
    &lt;span class=&quot;na&quot;&gt;input&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;pi&quot;&gt;{&lt;/span&gt; &lt;span class=&quot;nv&quot;&gt;location&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;nv&quot;&gt;string&lt;/span&gt; &lt;span class=&quot;pi&quot;&gt;}&lt;/span&gt;

&lt;span class=&quot;na&quot;&gt;messages&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt;
  &lt;span class=&quot;pi&quot;&gt;-&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;user&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;s&quot;&gt;What&apos;s the weather in London?&lt;/span&gt;

  &lt;span class=&quot;c1&quot;&gt;# The model can&apos;t run anything itself: it responds by asking&lt;/span&gt;
  &lt;span class=&quot;c1&quot;&gt;# the harness to make a tool call on its behalf...&lt;/span&gt;
  &lt;span class=&quot;pi&quot;&gt;-&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;assistant&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt;
      &lt;span class=&quot;na&quot;&gt;tool_call&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;pi&quot;&gt;{&lt;/span&gt; &lt;span class=&quot;nv&quot;&gt;name&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;nv&quot;&gt;get_weather&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nv&quot;&gt;input&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;pi&quot;&gt;{&lt;/span&gt; &lt;span class=&quot;nv&quot;&gt;location&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;nv&quot;&gt;London&lt;/span&gt; &lt;span class=&quot;pi&quot;&gt;}&lt;/span&gt; &lt;span class=&quot;pi&quot;&gt;}&lt;/span&gt;

  &lt;span class=&quot;c1&quot;&gt;# ...the harness executes it, appends the result to the thread,&lt;/span&gt;
  &lt;span class=&quot;c1&quot;&gt;# and asks the model to continue.&lt;/span&gt;
  &lt;span class=&quot;pi&quot;&gt;-&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;user&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt;
      &lt;span class=&quot;na&quot;&gt;tool_result&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;pi&quot;&gt;{&lt;/span&gt; &lt;span class=&quot;nv&quot;&gt;temperature&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;nv&quot;&gt;14C&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nv&quot;&gt;conditions&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;nv&quot;&gt;light rain&lt;/span&gt; &lt;span class=&quot;pi&quot;&gt;}&lt;/span&gt;

  &lt;span class=&quot;pi&quot;&gt;-&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;assistant&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;s&quot;&gt;It&apos;s currently 14°C with light rain in London.&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;In this example we set up the agent with a purpose via the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;system&lt;/code&gt; message and
a single ‘tool’ called &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;get_weather&lt;/code&gt;. LLMs don’t execute tools themselves.
Asked a question like our &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;user&lt;/code&gt; message (“What’s the weather in London?”), the
model runs a standard flow:&lt;/p&gt;

&lt;ol&gt;
  &lt;li&gt;Do I already know the answer, either from my training or from what’s in the
thread? If so, respond with it.&lt;/li&gt;
  &lt;li&gt;If not, do I have a tool that could get me the answer? If so, return a
&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;tool_call&lt;/code&gt; describing how to call it.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Tools are how the LLM can see outside of its context and communicate with the
outside world. They can be informational like &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;get_weather&lt;/code&gt; or take action, e.g.
&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;send_message&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;LLMs return a request to call the tool with parameters and expect the
surrounding code that is running the agent (often called a harness) to look up
the tool’s implementation and call it with those parameters. The result is
then appended to the message thread and the entire thread sent back to the LLM,
at which point it can run the same process as before but now the ‘answer’ is
available in context, so it can immediately respond.&lt;/p&gt;

&lt;p&gt;There is no concept of ‘memory’ baked into the LLM models themselves, they are
‘stateless’ in that all state is carried in the thread. The part that most
people don’t clock is that an agent loop that executes tools repeatedly calls
back to the model, gradually appending messages as it goes, as this is hidden
behind a loading spinner in most LLM powered applications.&lt;/p&gt;

&lt;p&gt;That’s all you need to know, other than one important subtlety around &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;system&lt;/code&gt;
messages which is that models are trained to treat the system message as their
highest-priority instructions, outranking anything the user says. If you’re ever
writing prompts it’s critical you realise this is baked into the core of these
models, they take it &lt;em&gt;very&lt;/em&gt; seriously.&lt;/p&gt;

&lt;p&gt;A common mistake when naively writing a system prompt is saying something like:&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;Generate between 3 and 5 tags for this document.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Sounds sensible, right? You’re tagging documents and ~3 keywords is ideal…
until someone uploads an empty doc and your LLM spits out something like “god”
“help” “me” because it is DUTY BOUND to follow the system prompt to the letter,
and you didn’t anticipate this edge case. In my experience building agent
products, when a frontier model hallucinates it’s almost always because a prompt
trapped it like this, which is why you must be extremely careful of how you
write them.&lt;/p&gt;

&lt;p&gt;More of that later, but that’s your LLM 101 done.&lt;/p&gt;

&lt;h2 id=&quot;agents-are-a-loop&quot;&gt;Agents are a loop&lt;/h2&gt;

&lt;p&gt;Now we’ve covered LLM fundamentals, we can define an agent, and it’s not
anything crazy: an agent is the flow from the previous section run in a loop.
Call the model, execute whatever tools it asked for, append the results to the
thread, call the model again, and stop when it stops asking for tools.&lt;/p&gt;

&lt;style&gt;
  .fig-diagram { --accent: var(--link, #12876F); --accent-soft: color-mix(in srgb, var(--link, #12876F) 12%, transparent); margin: 2em auto; }
  .fig-diagram svg { max-width: 100%; height: auto; display: block; margin: 0 auto; }
  .fig-diagram svg text {
    fill: currentColor; font-family: inherit; font-size: 12px;
    paint-order: stroke; stroke: var(--bg, #fff); stroke-width: 3.5px; stroke-linejoin: round;
  }
  .fig-diagram svg .head { font-size: 13px; font-weight: 600; }
  .fig-diagram svg .mono { font-family: Menlo, Consolas, monospace; font-size: 11.5px; }
  .fig-diagram svg .muted { opacity: 0.65; }
&lt;/style&gt;

&lt;figure class=&quot;fig-diagram&quot;&gt;
    &lt;svg xmlns=&quot;http://www.w3.org/2000/svg&quot; viewBox=&quot;0 0 740 330&quot; role=&quot;img&quot; aria-label=&quot;The agent loop: the harness sends the whole message thread to the model; the model returns a tool call; the harness executes it, appends the result to the thread, and sends it all again — until the model answers.&quot;&gt;
    &lt;defs&gt;
      &lt;marker id=&quot;f1-arr&quot; viewBox=&quot;0 0 10 10&quot; refX=&quot;9&quot; refY=&quot;5&quot; markerWidth=&quot;7&quot; markerHeight=&quot;7&quot; orient=&quot;auto-start-reverse&quot;&gt;
        &lt;path d=&quot;M 0 0 L 10 5 L 0 10 z&quot; fill=&quot;currentColor&quot; /&gt;
      &lt;/marker&gt;
      &lt;marker id=&quot;f1-arr-acc&quot; viewBox=&quot;0 0 10 10&quot; refX=&quot;9&quot; refY=&quot;5&quot; markerWidth=&quot;7&quot; markerHeight=&quot;7&quot; orient=&quot;auto-start-reverse&quot;&gt;
        &lt;path d=&quot;M 0 0 L 10 5 L 0 10 z&quot; style=&quot;fill: var(--accent)&quot; /&gt;
      &lt;/marker&gt;
    &lt;/defs&gt;
    &lt;rect x=&quot;20&quot; y=&quot;20&quot; width=&quot;580&quot; height=&quot;268&quot; rx=&quot;14&quot; fill=&quot;none&quot; stroke=&quot;currentColor&quot; stroke-dasharray=&quot;6 6&quot; opacity=&quot;0.35&quot; /&gt;
    &lt;text x=&quot;310&quot; y=&quot;312&quot; text-anchor=&quot;middle&quot; class=&quot;muted&quot;&gt;the agent loop — everything the loading spinner hides&lt;/text&gt;
    &lt;rect x=&quot;48&quot; y=&quot;60&quot; width=&quot;180&quot; height=&quot;150&quot; rx=&quot;8&quot; fill=&quot;none&quot; stroke=&quot;currentColor&quot; stroke-width=&quot;1.5&quot; /&gt;
    &lt;text x=&quot;138&quot; y=&quot;88&quot; text-anchor=&quot;middle&quot; class=&quot;head&quot;&gt;the thread&lt;/text&gt;
    &lt;text x=&quot;138&quot; y=&quot;110&quot; text-anchor=&quot;middle&quot; class=&quot;muted&quot;&gt;system · tools · messages&lt;/text&gt;
    &lt;line x1=&quot;66&quot; y1=&quot;128&quot; x2=&quot;210&quot; y2=&quot;128&quot; stroke=&quot;currentColor&quot; opacity=&quot;0.45&quot; /&gt;
    &lt;line x1=&quot;66&quot; y1=&quot;146&quot; x2=&quot;210&quot; y2=&quot;146&quot; stroke=&quot;currentColor&quot; opacity=&quot;0.45&quot; /&gt;
    &lt;line x1=&quot;66&quot; y1=&quot;164&quot; x2=&quot;210&quot; y2=&quot;164&quot; stroke=&quot;currentColor&quot; opacity=&quot;0.45&quot; /&gt;
    &lt;line x1=&quot;66&quot; y1=&quot;182&quot; x2=&quot;150&quot; y2=&quot;182&quot; style=&quot;stroke: var(--accent)&quot; stroke-width=&quot;1.6&quot; /&gt;
    &lt;text x=&quot;138&quot; y=&quot;200&quot; text-anchor=&quot;middle&quot; style=&quot;fill: var(--accent)&quot;&gt;grows every turn&lt;/text&gt;
    &lt;line x1=&quot;228&quot; y1=&quot;95&quot; x2=&quot;420&quot; y2=&quot;95&quot; stroke=&quot;currentColor&quot; stroke-width=&quot;1.5&quot; marker-end=&quot;url(#f1-arr)&quot; /&gt;
    &lt;text x=&quot;324&quot; y=&quot;83&quot; text-anchor=&quot;middle&quot;&gt;the whole thread, every time&lt;/text&gt;
    &lt;rect x=&quot;425&quot; y=&quot;60&quot; width=&quot;140&quot; height=&quot;70&quot; rx=&quot;8&quot; fill=&quot;none&quot; stroke=&quot;currentColor&quot; stroke-width=&quot;1.5&quot; /&gt;
    &lt;text x=&quot;495&quot; y=&quot;90&quot; text-anchor=&quot;middle&quot; class=&quot;head&quot;&gt;LLM&lt;/text&gt;
    &lt;text x=&quot;495&quot; y=&quot;110&quot; text-anchor=&quot;middle&quot; class=&quot;muted&quot;&gt;stateless&lt;/text&gt;
    &lt;line x1=&quot;495&quot; y1=&quot;130&quot; x2=&quot;495&quot; y2=&quot;196&quot; stroke=&quot;currentColor&quot; stroke-width=&quot;1.5&quot; marker-end=&quot;url(#f1-arr)&quot; /&gt;
    &lt;text x=&quot;506&quot; y=&quot;168&quot; class=&quot;mono&quot;&gt;tool_call&lt;/text&gt;
    &lt;rect x=&quot;392&quot; y=&quot;202&quot; width=&quot;205&quot; height=&quot;56&quot; rx=&quot;8&quot; fill=&quot;none&quot; stroke=&quot;currentColor&quot; stroke-width=&quot;1.5&quot; /&gt;
    &lt;text x=&quot;495&quot; y=&quot;225&quot; text-anchor=&quot;middle&quot; class=&quot;head&quot;&gt;harness runs the tool&lt;/text&gt;
    &lt;text x=&quot;495&quot; y=&quot;245&quot; text-anchor=&quot;middle&quot; class=&quot;mono muted&quot;&gt;get_weather(London)&lt;/text&gt;
    &lt;line x1=&quot;392&quot; y1=&quot;230&quot; x2=&quot;234&quot; y2=&quot;230&quot; stroke=&quot;currentColor&quot; stroke-width=&quot;1.5&quot; marker-end=&quot;url(#f1-arr)&quot; /&gt;
    &lt;text x=&quot;313&quot; y=&quot;220&quot; text-anchor=&quot;middle&quot;&gt;tool_result appended&lt;/text&gt;
    &lt;line x1=&quot;565&quot; y1=&quot;80&quot; x2=&quot;668&quot; y2=&quot;80&quot; style=&quot;stroke: var(--accent)&quot; stroke-width=&quot;1.8&quot; marker-end=&quot;url(#f1-arr-acc)&quot; /&gt;
    &lt;text x=&quot;616&quot; y=&quot;66&quot; text-anchor=&quot;middle&quot; style=&quot;fill: var(--accent)&quot;&gt;nothing left to ask&lt;/text&gt;
    &lt;text x=&quot;702&quot; y=&quot;84&quot; text-anchor=&quot;middle&quot; class=&quot;head&quot; style=&quot;fill: var(--accent)&quot;&gt;answer&lt;/text&gt;
  &lt;/svg&gt;

  &lt;figcaption&gt;An agent is this loop and nothing more: send the thread, run
    whatever the model asked for, append the result, send it all again. The
    green arrow is the only part you ever see.&lt;/figcaption&gt;
&lt;/figure&gt;

&lt;p&gt;Claude Code, Codex, Cursor: underneath the branding, they are all this loop,
provided with a set of tools that make up what people call the ‘harness’.&lt;/p&gt;

&lt;p&gt;Given everything these agents can achieve, what tends to surprise people is how
mundane the tools are. Here’s an abridged version of what Claude Code hands the
model:&lt;/p&gt;

&lt;div class=&quot;language-yaml highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;na&quot;&gt;tools&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt;
  &lt;span class=&quot;pi&quot;&gt;-&lt;/span&gt; &lt;span class=&quot;s&quot;&gt;Bash&lt;/span&gt;     &lt;span class=&quot;c1&quot;&gt;# run a shell command&lt;/span&gt;
  &lt;span class=&quot;pi&quot;&gt;-&lt;/span&gt; &lt;span class=&quot;s&quot;&gt;Read&lt;/span&gt;     &lt;span class=&quot;c1&quot;&gt;# read a file&lt;/span&gt;
  &lt;span class=&quot;pi&quot;&gt;-&lt;/span&gt; &lt;span class=&quot;s&quot;&gt;Write&lt;/span&gt;    &lt;span class=&quot;c1&quot;&gt;# create a file&lt;/span&gt;
  &lt;span class=&quot;pi&quot;&gt;-&lt;/span&gt; &lt;span class=&quot;s&quot;&gt;Edit&lt;/span&gt;     &lt;span class=&quot;c1&quot;&gt;# find-and-replace within a file&lt;/span&gt;
  &lt;span class=&quot;pi&quot;&gt;-&lt;/span&gt; &lt;span class=&quot;s&quot;&gt;Grep&lt;/span&gt;     &lt;span class=&quot;c1&quot;&gt;# search file contents&lt;/span&gt;
  &lt;span class=&quot;pi&quot;&gt;-&lt;/span&gt; &lt;span class=&quot;s&quot;&gt;WebFetch&lt;/span&gt; &lt;span class=&quot;c1&quot;&gt;# fetch a URL&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Every impressive thing a coding agent has done for you boils down to a model
with access to a shell and a text editor. That might seem odd until you realise
that’s all programmers need to build any of the systems you depend on daily, so
really this is about giving LLMs access to the magic programmers have already
been using for the last half a century.&lt;/p&gt;

&lt;p&gt;Ok, so this makes sense, but I want to stress-test your understanding with a
question: the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;bash&lt;/code&gt; tool, do you think it actually needs to run &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;bash&lt;/code&gt;?&lt;/p&gt;

&lt;p&gt;The answer is no! An LLM’s entire reality starts and stops at the messages
that are provided to it, which means it never needs you to actually use bash to
execute this command, it only needs you to return a tool result that looks like
what bash would have returned.&lt;/p&gt;

&lt;p&gt;This turns out to be quite important as it means even agents running in limited
environments without bash can act like coding agents, provided they implement
tools that can emulate how bash would behave.&lt;/p&gt;

&lt;p&gt;At incident we’ve built a &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;shell&lt;/code&gt; package into our Go app that implements a
virtual filesystem and can interpret bash commands, calling ‘binaries’ that are
actually just Go functions. It doesn’t matter that we’re not really running
commands, as soon as we give a &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;bash&lt;/code&gt; tool to our harness, the model can use it
as if it were real.&lt;/p&gt;

&lt;p&gt;Pretty neat, but the lesson is important for what we’ll cover next: these models
are trained on patterns, and if you can provide a pattern they recognise (like a
shell) then the rest of their training kicks in, and you can start leveraging
the model to do smart things.&lt;/p&gt;

&lt;p&gt;We’ll return to that later, but now…&lt;/p&gt;

&lt;h2 id=&quot;mcps-are-just-apis-in-tools&quot;&gt;MCPs are just APIs in tools&lt;/h2&gt;

&lt;p&gt;Everyone and their dog are talking about MCPs. It’s tiring and a bit off-putting,
especially as the technology is barely two years old and has a loud contingent
of people already declaring it dead (MCPs are dead! long-live CLIs!). AI, huh.&lt;/p&gt;

&lt;p&gt;Let me start, then, by saying that MCPs are dead boring. It stands for Model
Context Protocol, which won’t tell you much. Mechanically, an ‘MCP’ is just a
server that lists a set of tools which an agent can connect to and make use
of.&lt;/p&gt;

&lt;p&gt;Take an example like our incident.io MCP. We host this MCP at an endpoint
(mcp.incident.io/mcp) that serves the MCP protocol over (mostly) normal HTTP,
where the protocol allows us to configure a list of ‘tools’ that other agents
can connect to and make use of.&lt;/p&gt;

&lt;p&gt;When someone connects Claude Code to the incident.io MCP, what happens when you
boot the agent is:&lt;/p&gt;

&lt;ol&gt;
  &lt;li&gt;Claude contacts our MCP server, asks “what tools do you have?”&lt;/li&gt;
  &lt;li&gt;Those tools are added to the existing tools in the prompt sent to the LLM&lt;/li&gt;
  &lt;li&gt;Claude’s harness adds some hints about the MCPs into the agent thread so it’s
aware of what is loaded&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;There is some magic I won’t touch on (such as
&lt;a href=&quot;https://www.anthropic.com/engineering/advanced-tool-use&quot;&gt;tool search&lt;/a&gt;, where
tool schemas are left out of the prompt until the model searches for them) but
that’s almost all there is to know. MCP servers are as vanilla as your standard
HTTP API, just in a protocol that an agent can load and make use of.&lt;/p&gt;

&lt;p&gt;They are so similar to HTTP APIs that we have implemented support for any
OpenAPI specified HTTP API in Extensions, and expose the endpoints of those APIs
to our agents just like MCPs. Genuinely nothing new here.&lt;/p&gt;

&lt;p&gt;So now we have the tools, but what tells us how to use them?&lt;/p&gt;

&lt;h2 id=&quot;skills-are-just-instructions&quot;&gt;Skills are just instructions&lt;/h2&gt;

&lt;p&gt;Have you ever tried building an integration with an HTTP API just from the
reference docs? Where all you have is a page per endpoint and the OpenAPI
specification?&lt;/p&gt;

&lt;p&gt;I have, many a time. It works and you can gradually piece together what you want
to achieve, but it’s a bit slow and error-prone. With the MCP tools added to our
agent we are now in this world of “all the ~gear~ tools and no idea”.&lt;/p&gt;

&lt;p&gt;The best API docs go beyond reference pages and offer guides and tutorials that
teach best-practices and how to use the endpoints together. We need some way to
give this to our agent, not just for using MCPs (though this is a key use-case)
but for any work where the agent could use some explanation and context to help
it achieve a thing.&lt;/p&gt;

&lt;p&gt;That’s where skills come in.&lt;/p&gt;

&lt;p&gt;Skills are a collection of files containing instructions that agents can read
and use. They are stored in a directory that doubles as their name, with a core
&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;SKILL.md&lt;/code&gt; entrypoint.&lt;/p&gt;

&lt;p&gt;As part of dogfooding Extensions we built an MCP server that exposes a bunch of
tools to check health of our system queues: for example tools to view all queue
topics (&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;queue_topic_list&lt;/code&gt;) and purge a subscription
(&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;queue_subscription_purge&lt;/code&gt;) if we’re having issues.&lt;/p&gt;

&lt;p&gt;With this MCP server connected we get those tools, but it would be naive to
expect an agent like Claude to know how to use them without proper explanation.
Our queues run on &lt;a href=&quot;https://incident.io/blog/we-turned-off-pub-sub-and-nobody-noticed&quot;&gt;both NATS and Google Pub/Sub&lt;/a&gt; for
redundancy, which is important to know if you want to interpret “how many
messages are in X subscription” as you’ll get results back for both
technologies. You probably want to caution the model on when to actually purge a
subscription to avoid any over-eager calls, too.&lt;/p&gt;

&lt;p&gt;We can and do put all of this into a &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;queue&lt;/code&gt; skill, which looks like this:&lt;/p&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;ops/skills/queue
└── SKILL.md
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Skill markdown supports ‘frontmatter’ which is a small YAML snippet at the top
of the file. Skills are expected to provide their name and a description, and
the harness places a listing of these into the agent’s context — much like the
tool list from our LLM 101 example — which is how the agent knows a skill exists
and can decide when to ‘load’ it.&lt;/p&gt;

&lt;p&gt;Our queue skill looks like this:&lt;/p&gt;

&lt;div class=&quot;language-markdown highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nn&quot;&gt;---&lt;/span&gt;
&lt;span class=&quot;na&quot;&gt;name&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;s&quot;&gt;queue&lt;/span&gt;
&lt;span class=&quot;na&quot;&gt;description&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;pi&quot;&gt;&amp;gt;&lt;/span&gt;
  &lt;span class=&quot;s&quot;&gt;Inspect and purge event queue backlogs across Pub/Sub and NATS with&lt;/span&gt;
  &lt;span class=&quot;s&quot;&gt;the Toolbox connector&apos;s queue tools. Use when events are delayed, a&lt;/span&gt;
  &lt;span class=&quot;s&quot;&gt;subscriber has a backlog, someone asks to purge a queue, or an&lt;/span&gt;
  &lt;span class=&quot;s&quot;&gt;incident involves event processing lag.&lt;/span&gt;
&lt;span class=&quot;s&quot;&gt;---&lt;/span&gt;

&lt;span class=&quot;gh&quot;&gt;# Event queues&lt;/span&gt;

Every event publishes through a load balancer across two brokers: Google
Cloud Pub/Sub and NATS JetStream. Each message lands on exactly one of
them, so a subscriber&apos;s backlog lives on &lt;span class=&quot;gs&quot;&gt;**both brokers**&lt;/span&gt;, and neither
alone is the whole picture.

&lt;span class=&quot;gu&quot;&gt;## The tools&lt;/span&gt;
&lt;span class=&quot;p&quot;&gt;
-&lt;/span&gt; &lt;span class=&quot;sb&quot;&gt;`queue_topic_list`&lt;/span&gt; — what exists, merged across brokers.
&lt;span class=&quot;p&quot;&gt;-&lt;/span&gt; &lt;span class=&quot;sb&quot;&gt;`queue_topic_show`&lt;/span&gt; — one topic&apos;s stored messages plus every
subscription with its backlog, per broker. Start here for &quot;is X backed
up&quot;.
&lt;span class=&quot;p&quot;&gt;-&lt;/span&gt; &lt;span class=&quot;sb&quot;&gt;`queue_subscription_purge`&lt;/span&gt; — the write tool. Preview with &lt;span class=&quot;sb&quot;&gt;`dry_run:
true`&lt;/span&gt;, execute with &lt;span class=&quot;sb&quot;&gt;`confirm: true`&lt;/span&gt;; a call with neither is rejected.

&lt;span class=&quot;gu&quot;&gt;## Reading results&lt;/span&gt;
&lt;span class=&quot;p&quot;&gt;
-&lt;/span&gt; &lt;span class=&quot;sb&quot;&gt;`null`&lt;/span&gt; counts mean the broker can&apos;t say, never zero. Pub/Sub&apos;s admin
API carries no sizes, so get real numbers from telemetry instead.
&lt;span class=&quot;p&quot;&gt;-&lt;/span&gt; Read &lt;span class=&quot;sb&quot;&gt;`warnings`&lt;/span&gt; before acting on any purge result.

Before purging, check the backlog isn&apos;t already draining: watch
&lt;span class=&quot;sb&quot;&gt;`core_event_subscription_oldest_unacked_seconds`&lt;/span&gt; — falling means riding
it out costs nothing. Most backlogs don&apos;t need a purge.

...
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Note that only the name and description sit permanently in the agent’s context:
the body of the SKILL.md is only read when the model decides the skill is
relevant. Even frontier models degrade as their context grows which is why it’s
important to use it sparingly: every token costs money and competes for the
model’s attention, so you want each conversation to pay only for the skills it
actually uses.&lt;/p&gt;

&lt;p&gt;Skills can contain files beyond the SKILL.md and should if they grow large,
extending the same trick another level. This practice is called ‘progressive
disclosure’ where the SKILL.md acts more like an index of what is available so
the model can choose what it loads next.&lt;/p&gt;

&lt;p&gt;An example of a more complex skill is &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;ai-providers&lt;/code&gt; which helps debug AI
provider incidents and understand how we load balance between providers:&lt;/p&gt;

&lt;figure class=&quot;fig-diagram&quot;&gt;
    &lt;svg xmlns=&quot;http://www.w3.org/2000/svg&quot; viewBox=&quot;0 0 740 380&quot; role=&quot;img&quot; aria-label=&quot;Progressive disclosure: every skill&apos;s name and description sit permanently in the agent&apos;s context as small entries; one skill&apos;s SKILL.md body is loaded only when relevant; its reference files are read only if the task needs them.&quot;&gt;
    &lt;defs&gt;
      &lt;marker id=&quot;f2-arr&quot; viewBox=&quot;0 0 10 10&quot; refX=&quot;9&quot; refY=&quot;5&quot; markerWidth=&quot;7&quot; markerHeight=&quot;7&quot; orient=&quot;auto-start-reverse&quot;&gt;
        &lt;path d=&quot;M 0 0 L 10 5 L 0 10 z&quot; fill=&quot;currentColor&quot; /&gt;
      &lt;/marker&gt;
      &lt;marker id=&quot;f2-arr-acc&quot; viewBox=&quot;0 0 10 10&quot; refX=&quot;9&quot; refY=&quot;5&quot; markerWidth=&quot;7&quot; markerHeight=&quot;7&quot; orient=&quot;auto-start-reverse&quot;&gt;
        &lt;path d=&quot;M 0 0 L 10 5 L 0 10 z&quot; style=&quot;fill: var(--accent)&quot; /&gt;
      &lt;/marker&gt;
    &lt;/defs&gt;
    &lt;text x=&quot;170&quot; y=&quot;34&quot; text-anchor=&quot;middle&quot; class=&quot;head&quot;&gt;the thread&lt;/text&gt;
    &lt;rect x=&quot;45&quot; y=&quot;46&quot; width=&quot;250&quot; height=&quot;322&quot; rx=&quot;8&quot; fill=&quot;none&quot; stroke=&quot;currentColor&quot; stroke-width=&quot;1.5&quot; /&gt;
    &lt;rect x=&quot;63&quot; y=&quot;62&quot; width=&quot;214&quot; height=&quot;22&quot; rx=&quot;3&quot; fill=&quot;none&quot; stroke=&quot;currentColor&quot; opacity=&quot;0.5&quot; /&gt;
    &lt;text x=&quot;72&quot; y=&quot;78&quot; class=&quot;mono&quot;&gt;queue — inspect backlogs…&lt;/text&gt;
    &lt;rect x=&quot;63&quot; y=&quot;90&quot; width=&quot;214&quot; height=&quot;22&quot; rx=&quot;3&quot; fill=&quot;none&quot; stroke=&quot;currentColor&quot; opacity=&quot;0.5&quot; /&gt;
    &lt;text x=&quot;72&quot; y=&quot;106&quot; class=&quot;mono&quot;&gt;postgres — live internals…&lt;/text&gt;
    &lt;rect x=&quot;63&quot; y=&quot;118&quot; width=&quot;214&quot; height=&quot;22&quot; rx=&quot;3&quot; fill=&quot;none&quot; style=&quot;stroke: var(--accent)&quot; stroke-width=&quot;1.5&quot; /&gt;
    &lt;text x=&quot;72&quot; y=&quot;134&quot; class=&quot;mono&quot;&gt;ai-providers — debug…&lt;/text&gt;
    &lt;text x=&quot;170&quot; y=&quot;162&quot; text-anchor=&quot;middle&quot; class=&quot;muted&quot;&gt;always resident · ~100 tokens each&lt;/text&gt;
    &lt;rect x=&quot;63&quot; y=&quot;180&quot; width=&quot;214&quot; height=&quot;120&quot; rx=&quot;5&quot; style=&quot;fill: var(--accent-soft); stroke: var(--accent)&quot; stroke-width=&quot;1.5&quot; /&gt;
    &lt;text x=&quot;170&quot; y=&quot;206&quot; text-anchor=&quot;middle&quot; class=&quot;head&quot; style=&quot;fill: var(--accent)&quot;&gt;ai-providers SKILL.md&lt;/text&gt;
    &lt;text x=&quot;170&quot; y=&quot;228&quot; text-anchor=&quot;middle&quot; class=&quot;muted&quot;&gt;the whole body, a few&lt;/text&gt;
    &lt;text x=&quot;170&quot; y=&quot;246&quot; text-anchor=&quot;middle&quot; class=&quot;muted&quot;&gt;thousand tokens, loaded now —&lt;/text&gt;
    &lt;text x=&quot;170&quot; y=&quot;264&quot; text-anchor=&quot;middle&quot; class=&quot;muted&quot;&gt;the question is about providers&lt;/text&gt;
    &lt;rect x=&quot;63&quot; y=&quot;314&quot; width=&quot;214&quot; height=&quot;36&quot; rx=&quot;5&quot; fill=&quot;none&quot; stroke=&quot;currentColor&quot; stroke-dasharray=&quot;4 4&quot; opacity=&quot;0.6&quot; /&gt;
    &lt;text x=&quot;170&quot; y=&quot;336&quot; text-anchor=&quot;middle&quot; class=&quot;muted&quot;&gt;references, read as needed&lt;/text&gt;
    &lt;text x=&quot;590&quot; y=&quot;34&quot; text-anchor=&quot;middle&quot; class=&quot;head&quot;&gt;on disk, or in the plugin&lt;/text&gt;
    &lt;rect x=&quot;470&quot; y=&quot;46&quot; width=&quot;245&quot; height=&quot;240&quot; rx=&quot;8&quot; fill=&quot;none&quot; stroke=&quot;currentColor&quot; stroke-width=&quot;1.5&quot; /&gt;
    &lt;text x=&quot;486&quot; y=&quot;72&quot; class=&quot;mono&quot;&gt;skills/ai-providers/&lt;/text&gt;
    &lt;rect x=&quot;490&quot; y=&quot;86&quot; width=&quot;150&quot; height=&quot;26&quot; rx=&quot;3&quot; fill=&quot;none&quot; style=&quot;stroke: var(--accent)&quot; stroke-width=&quot;1.5&quot; /&gt;
    &lt;text x=&quot;500&quot; y=&quot;103&quot; class=&quot;mono&quot;&gt;SKILL.md&lt;/text&gt;
    &lt;text x=&quot;490&quot; y=&quot;140&quot; class=&quot;mono muted&quot;&gt;references/&lt;/text&gt;
    &lt;rect x=&quot;502&quot; y=&quot;150&quot; width=&quot;170&quot; height=&quot;22&quot; rx=&quot;3&quot; fill=&quot;none&quot; stroke=&quot;currentColor&quot; opacity=&quot;0.5&quot; /&gt;
    &lt;text x=&quot;510&quot; y=&quot;166&quot; class=&quot;mono&quot;&gt;how-we-use.md&lt;/text&gt;
    &lt;rect x=&quot;502&quot; y=&quot;178&quot; width=&quot;170&quot; height=&quot;22&quot; rx=&quot;3&quot; fill=&quot;none&quot; stroke=&quot;currentColor&quot; opacity=&quot;0.5&quot; /&gt;
    &lt;text x=&quot;510&quot; y=&quot;194&quot; class=&quot;mono&quot;&gt;live-health.md&lt;/text&gt;
    &lt;rect x=&quot;502&quot; y=&quot;206&quot; width=&quot;170&quot; height=&quot;22&quot; rx=&quot;3&quot; fill=&quot;none&quot; stroke=&quot;currentColor&quot; opacity=&quot;0.5&quot; /&gt;
    &lt;text x=&quot;510&quot; y=&quot;222&quot; class=&quot;mono&quot;&gt;usage-spend.md&lt;/text&gt;
    &lt;line x1=&quot;490&quot; y1=&quot;92&quot; x2=&quot;285&quot; y2=&quot;129&quot; stroke=&quot;currentColor&quot; stroke-width=&quot;1.2&quot; stroke-dasharray=&quot;4 4&quot; marker-end=&quot;url(#f2-arr)&quot; /&gt;
    &lt;text x=&quot;385&quot; y=&quot;94&quot; text-anchor=&quot;middle&quot;&gt;1 · name + description, every request&lt;/text&gt;
    &lt;line x1=&quot;490&quot; y1=&quot;108&quot; x2=&quot;285&quot; y2=&quot;235&quot; style=&quot;stroke: var(--accent)&quot; stroke-width=&quot;1.8&quot; marker-end=&quot;url(#f2-arr-acc)&quot; /&gt;
    &lt;text x=&quot;404&quot; y=&quot;178&quot; text-anchor=&quot;middle&quot; style=&quot;fill: var(--accent)&quot;&gt;2 · body, when relevant&lt;/text&gt;
    &lt;line x1=&quot;502&quot; y1=&quot;218&quot; x2=&quot;285&quot; y2=&quot;330&quot; stroke=&quot;currentColor&quot; stroke-width=&quot;1.2&quot; stroke-dasharray=&quot;4 4&quot; marker-end=&quot;url(#f2-arr)&quot; /&gt;
    &lt;text x=&quot;375&quot; y=&quot;308&quot; text-anchor=&quot;middle&quot; class=&quot;muted&quot;&gt;3 · only if the task needs them&lt;/text&gt;
  &lt;/svg&gt;

  &lt;figcaption&gt;Descriptions are cheap and always present; bodies are expensive
    and load on demand; reference files extend the same trick another level.
    Each conversation pays only for the skills it uses.&lt;/figcaption&gt;
&lt;/figure&gt;

&lt;p&gt;Recalling how agents are given a &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;bash&lt;/code&gt; tool that can run shell commands just
like a normal terminal user, it’s totally valid for an agent to ‘load’ a skill
by just &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;cat SKILL.md&lt;/code&gt;ing the file. That brings the skill content into the
session and the agent is free to use the instructions as it chooses.&lt;/p&gt;

&lt;p&gt;In practice, agents often wrap skill loading in a &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;skill&lt;/code&gt; tool. Naming it that
helps — the tool’s description can explain what a skill is and how to treat
one, and skills are a pattern models have seen plenty of by now - but mostly the
wrapper exists for practical reasons, like tracking skill usage, or so the
harness can inject useful data alongside the skill load that saves the model
work.&lt;/p&gt;

&lt;p&gt;The incident harness, as an example, when calling our &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;skill&lt;/code&gt; tool will:&lt;/p&gt;

&lt;ol&gt;
  &lt;li&gt;Handle resolution of the skill by name so you don’t need to know the exact
path&lt;/li&gt;
  &lt;li&gt;Track that a skill has been loaded so we can provide observability and grade
how it performs&lt;/li&gt;
  &lt;li&gt;Returns to the model:
    &lt;ol&gt;
      &lt;li&gt;The full SKILL.md content&lt;/li&gt;
      &lt;li&gt;A small directory index of files so the model can avoid a subsequent &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;ls
-R&lt;/code&gt;&lt;/li&gt;
    &lt;/ol&gt;
  &lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;This works really well across OpenAI, Anthropic and Gemini models. It’s all
very simple, easily explainable, and needs nothing provider-specific, which is
exactly why the same skill can run on all of them.&lt;/p&gt;

&lt;h2 id=&quot;plugins-bundle-skills&quot;&gt;Plugins bundle skills&lt;/h2&gt;

&lt;p&gt;You now understand how LLMs work, how MCPs are loaded into them, and how skills
can bundle behaviour that an agent can load when appropriate to extend its base
instructions.&lt;/p&gt;

&lt;p&gt;That’s almost the entire story, with just one thing missing which is about how
to distribute skills so you can install them in your agents.&lt;/p&gt;

&lt;p&gt;Anthropic have solved this with their &lt;a href=&quot;https://code.claude.com/docs/en/plugins&quot;&gt;plugin format&lt;/a&gt; which bundles together
skills and other files into a distributable format. If you’re used to npm
packages
it looks much like this, where you turn a directory of skills into a plugin by
adding a &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;.claude-plugin/plugin.json&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;Our &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;ops&lt;/code&gt; plugin with production operation skills looks like this:&lt;/p&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;# ops
.claude-plugin
└── plugin.json
skills
├── ai-providers
│   ├── references
│   │   ├── how-we-use.md
│   │   ├── live-health.md
│   │   ├── output.md
│   │   └── usage-spend.md
│   └── SKILL.md
├── ...
...
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Lots of products implement MCP and skill support by consuming these plugins:
Anthropic’s &lt;a href=&quot;https://claude.com/blog/cowork-plugins&quot;&gt;Claude Cowork&lt;/a&gt; is one, and
incident.io Extensions is another.&lt;/p&gt;

&lt;p&gt;This isn’t rocket science but it is exciting, mostly because arriving at a
consistent format for sharing these skills is finally meeting the promises made
by AI tools since they first arrived.&lt;/p&gt;

&lt;p&gt;We have an internal AI team at incident who have built a ‘data brain’, which
gives natural language querying into all our data systems, enhanced by docs for
each data model and guidance on how to use and interpret queries against those
models in the context of our business. Everyone at the company uses it daily
now, and I was one of those users, but admit I didn’t clock how it was built
until planning how we’d build Extensions.&lt;/p&gt;

&lt;p&gt;It turns out that ‘data brain’ is just a ‘data’ plugin containing skills and
reference documentation, paired with an internal MCP that gives query access
into our data warehouse and other data sources. Once we had a prototype of
Extensions ready, I could in three clicks load the plugin and connect the MCP,
and suddenly the ‘data brain’ was running in all our agents.&lt;/p&gt;

&lt;p&gt;You might think it was janky with sharp edge cases but… it worked almost
entirely out the box. This was a use case no one in the internal AI team had
ever planned around, but by leveraging these standards I could plug their work
into our product and suddenly we’re Data Ready™.&lt;/p&gt;

&lt;p&gt;There are complexities to this, such as being careful to write ‘portable’
skills, which I’ll cover in a follow-up post. But this was the first time in my
career that I’ve been able to integrate with such ease against a complex system
and have it work out the box with zero tweaking. AI can be magic, if you know
how to use it.&lt;/p&gt;

&lt;h2 id=&quot;skills-replace-system-prompts&quot;&gt;Skills replace system prompts&lt;/h2&gt;

&lt;p&gt;Finally, for those who build agents, it’s worth noting how skills offer a new
way of building than you might have used before.&lt;/p&gt;

&lt;p&gt;Until now, we’d created specific agents for each part of our system. We had a
scheduling agent that knew how to work with our On-call product, and a telemetry
agent that could execute natural language queries against telemetry providers
and interpret the results.&lt;/p&gt;

&lt;p&gt;Those agents had system prompts that taught them how to behave, and you could
access another agent via a tool (e.g. &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;scheduler_query&lt;/code&gt;) that would send
messages to that agent and receive them back, segmenting context and control so
we could scalably build complex agents without overwhelming any single model’s
context.&lt;/p&gt;

&lt;p&gt;With skills, we are now killing those agents in favour of a single agent with a
collection of skills built from those specialised agent system prompts. Each
conversation loads only the skills it needs (progressive disclosure again), and
the change comes with some real advantages.&lt;/p&gt;

&lt;figure class=&quot;fig-diagram&quot;&gt;
    &lt;svg xmlns=&quot;http://www.w3.org/2000/svg&quot; viewBox=&quot;0 0 740 400&quot; role=&quot;img&quot; aria-label=&quot;Before: a chat agent calls a scheduling agent and a telemetry agent through tools; each has its own system prompt treated as law and sees only the message passed to it. After: one agent with a thin system prompt whose single thread holds the full conversation and loads skills as guidance.&quot;&gt;
    &lt;defs&gt;
      &lt;marker id=&quot;f3-arr&quot; viewBox=&quot;0 0 10 10&quot; refX=&quot;9&quot; refY=&quot;5&quot; markerWidth=&quot;7&quot; markerHeight=&quot;7&quot; orient=&quot;auto-start-reverse&quot;&gt;
        &lt;path d=&quot;M 0 0 L 10 5 L 0 10 z&quot; fill=&quot;currentColor&quot; /&gt;
      &lt;/marker&gt;
    &lt;/defs&gt;
    &lt;line x1=&quot;372&quot; y1=&quot;16&quot; x2=&quot;372&quot; y2=&quot;384&quot; stroke=&quot;currentColor&quot; stroke-dasharray=&quot;5 6&quot; opacity=&quot;0.3&quot; /&gt;
    &lt;text x=&quot;186&quot; y=&quot;30&quot; text-anchor=&quot;middle&quot; class=&quot;head&quot;&gt;before — an agent per purpose&lt;/text&gt;
    &lt;rect x=&quot;56&quot; y=&quot;46&quot; width=&quot;260&quot; height=&quot;92&quot; rx=&quot;8&quot; fill=&quot;none&quot; stroke=&quot;currentColor&quot; stroke-width=&quot;1.5&quot; /&gt;
    &lt;text x=&quot;186&quot; y=&quot;68&quot; text-anchor=&quot;middle&quot; class=&quot;head&quot;&gt;chat agent&lt;/text&gt;
    &lt;rect x=&quot;70&quot; y=&quot;78&quot; width=&quot;232&quot; height=&quot;22&quot; rx=&quot;3&quot; fill=&quot;none&quot; stroke=&quot;currentColor&quot; opacity=&quot;0.55&quot; /&gt;
    &lt;text x=&quot;186&quot; y=&quot;94&quot; text-anchor=&quot;middle&quot;&gt;its system prompt — law&lt;/text&gt;
    &lt;rect x=&quot;70&quot; y=&quot;106&quot; width=&quot;232&quot; height=&quot;22&quot; rx=&quot;3&quot; fill=&quot;none&quot; stroke=&quot;currentColor&quot; opacity=&quot;0.55&quot; /&gt;
    &lt;text x=&quot;186&quot; y=&quot;122&quot; text-anchor=&quot;middle&quot; class=&quot;muted&quot;&gt;the user&apos;s conversation&lt;/text&gt;
    &lt;line x1=&quot;120&quot; y1=&quot;138&quot; x2=&quot;120&quot; y2=&quot;196&quot; stroke=&quot;currentColor&quot; stroke-width=&quot;1.3&quot; marker-end=&quot;url(#f3-arr)&quot; /&gt;
    &lt;text x=&quot;112&quot; y=&quot;172&quot; text-anchor=&quot;end&quot; class=&quot;mono&quot;&gt;scheduler_query&lt;/text&gt;
    &lt;line x1=&quot;252&quot; y1=&quot;138&quot; x2=&quot;252&quot; y2=&quot;196&quot; stroke=&quot;currentColor&quot; stroke-width=&quot;1.3&quot; marker-end=&quot;url(#f3-arr)&quot; /&gt;
    &lt;text x=&quot;260&quot; y=&quot;172&quot; class=&quot;mono&quot;&gt;telemetry_query&lt;/text&gt;
    &lt;rect x=&quot;36&quot; y=&quot;202&quot; width=&quot;152&quot; height=&quot;150&quot; rx=&quot;8&quot; fill=&quot;none&quot; stroke=&quot;currentColor&quot; stroke-width=&quot;1.5&quot; /&gt;
    &lt;text x=&quot;112&quot; y=&quot;224&quot; text-anchor=&quot;middle&quot; class=&quot;head&quot;&gt;scheduling agent&lt;/text&gt;
    &lt;rect x=&quot;48&quot; y=&quot;236&quot; width=&quot;128&quot; height=&quot;34&quot; rx=&quot;3&quot; fill=&quot;none&quot; stroke=&quot;currentColor&quot; opacity=&quot;0.55&quot; /&gt;
    &lt;text x=&quot;112&quot; y=&quot;250&quot; text-anchor=&quot;middle&quot;&gt;own system&lt;/text&gt;
    &lt;text x=&quot;112&quot; y=&quot;264&quot; text-anchor=&quot;middle&quot;&gt;prompt — law&lt;/text&gt;
    &lt;rect x=&quot;48&quot; y=&quot;278&quot; width=&quot;128&quot; height=&quot;60&quot; rx=&quot;3&quot; fill=&quot;none&quot; stroke=&quot;currentColor&quot; opacity=&quot;0.55&quot; /&gt;
    &lt;text x=&quot;112&quot; y=&quot;302&quot; text-anchor=&quot;middle&quot; class=&quot;muted&quot;&gt;sees only the&lt;/text&gt;
    &lt;text x=&quot;112&quot; y=&quot;318&quot; text-anchor=&quot;middle&quot; class=&quot;muted&quot;&gt;message passed in&lt;/text&gt;
    &lt;rect x=&quot;200&quot; y=&quot;202&quot; width=&quot;152&quot; height=&quot;150&quot; rx=&quot;8&quot; fill=&quot;none&quot; stroke=&quot;currentColor&quot; stroke-width=&quot;1.5&quot; /&gt;
    &lt;text x=&quot;276&quot; y=&quot;224&quot; text-anchor=&quot;middle&quot; class=&quot;head&quot;&gt;telemetry agent&lt;/text&gt;
    &lt;rect x=&quot;212&quot; y=&quot;236&quot; width=&quot;128&quot; height=&quot;34&quot; rx=&quot;3&quot; fill=&quot;none&quot; stroke=&quot;currentColor&quot; opacity=&quot;0.55&quot; /&gt;
    &lt;text x=&quot;276&quot; y=&quot;250&quot; text-anchor=&quot;middle&quot;&gt;own system&lt;/text&gt;
    &lt;text x=&quot;276&quot; y=&quot;264&quot; text-anchor=&quot;middle&quot;&gt;prompt — law&lt;/text&gt;
    &lt;rect x=&quot;212&quot; y=&quot;278&quot; width=&quot;128&quot; height=&quot;60&quot; rx=&quot;3&quot; fill=&quot;none&quot; stroke=&quot;currentColor&quot; opacity=&quot;0.55&quot; /&gt;
    &lt;text x=&quot;276&quot; y=&quot;302&quot; text-anchor=&quot;middle&quot; class=&quot;muted&quot;&gt;sees only the&lt;/text&gt;
    &lt;text x=&quot;276&quot; y=&quot;318&quot; text-anchor=&quot;middle&quot; class=&quot;muted&quot;&gt;message passed in&lt;/text&gt;
    &lt;text x=&quot;556&quot; y=&quot;30&quot; text-anchor=&quot;middle&quot; class=&quot;head&quot;&gt;after — one agent, many skills&lt;/text&gt;
    &lt;rect x=&quot;420&quot; y=&quot;46&quot; width=&quot;272&quot; height=&quot;306&quot; rx=&quot;8&quot; fill=&quot;none&quot; stroke=&quot;currentColor&quot; stroke-width=&quot;1.5&quot; /&gt;
    &lt;text x=&quot;556&quot; y=&quot;68&quot; text-anchor=&quot;middle&quot; class=&quot;head&quot;&gt;one agent&lt;/text&gt;
    &lt;rect x=&quot;434&quot; y=&quot;78&quot; width=&quot;244&quot; height=&quot;22&quot; rx=&quot;3&quot; fill=&quot;none&quot; stroke=&quot;currentColor&quot; opacity=&quot;0.55&quot; /&gt;
    &lt;text x=&quot;556&quot; y=&quot;94&quot; text-anchor=&quot;middle&quot;&gt;thin system prompt — law&lt;/text&gt;
    &lt;rect x=&quot;434&quot; y=&quot;110&quot; width=&quot;244&quot; height=&quot;228&quot; rx=&quot;4&quot; fill=&quot;none&quot; stroke=&quot;currentColor&quot; opacity=&quot;0.4&quot; /&gt;
    &lt;text x=&quot;556&quot; y=&quot;130&quot; text-anchor=&quot;middle&quot; class=&quot;muted&quot;&gt;one thread, the full conversation&lt;/text&gt;
    &lt;rect x=&quot;448&quot; y=&quot;142&quot; width=&quot;216&quot; height=&quot;26&quot; rx=&quot;3&quot; style=&quot;fill: var(--accent-soft); stroke: var(--accent)&quot; stroke-width=&quot;1.3&quot; /&gt;
    &lt;text x=&quot;556&quot; y=&quot;160&quot; text-anchor=&quot;middle&quot; style=&quot;fill: var(--accent)&quot;&gt;scheduling skill — guidance&lt;/text&gt;
    &lt;rect x=&quot;448&quot; y=&quot;176&quot; width=&quot;216&quot; height=&quot;26&quot; rx=&quot;3&quot; style=&quot;fill: var(--accent-soft); stroke: var(--accent)&quot; stroke-width=&quot;1.3&quot; /&gt;
    &lt;text x=&quot;556&quot; y=&quot;194&quot; text-anchor=&quot;middle&quot; style=&quot;fill: var(--accent)&quot;&gt;telemetry skill — guidance&lt;/text&gt;
    &lt;text x=&quot;556&quot; y=&quot;220&quot; text-anchor=&quot;middle&quot; class=&quot;muted&quot;&gt;each loaded only when needed&lt;/text&gt;
    &lt;rect x=&quot;448&quot; y=&quot;236&quot; width=&quot;216&quot; height=&quot;24&quot; rx=&quot;3&quot; fill=&quot;none&quot; stroke=&quot;currentColor&quot; opacity=&quot;0.55&quot; /&gt;
    &lt;text x=&quot;556&quot; y=&quot;253&quot; text-anchor=&quot;middle&quot; class=&quot;muted&quot;&gt;user and assistant messages&lt;/text&gt;
    &lt;rect x=&quot;448&quot; y=&quot;268&quot; width=&quot;216&quot; height=&quot;24&quot; rx=&quot;3&quot; fill=&quot;none&quot; stroke=&quot;currentColor&quot; opacity=&quot;0.55&quot; /&gt;
    &lt;text x=&quot;556&quot; y=&quot;285&quot; text-anchor=&quot;middle&quot; class=&quot;muted&quot;&gt;tool results&lt;/text&gt;
    &lt;text x=&quot;556&quot; y=&quot;316&quot; text-anchor=&quot;middle&quot; class=&quot;muted&quot;&gt;…&lt;/text&gt;
  &lt;/svg&gt;

  &lt;figcaption&gt;Left: context fragments across agents and every instruction is
    law somewhere. Right: the same instructions become skills in one shared
    thread — below the system prompt, so the model weighs them against the
    user instead of obeying.&lt;/figcaption&gt;
&lt;/figure&gt;

&lt;p&gt;The first is flexibility. Recall from LLM 101 that models treat the system
message as their highest-priority instructions: exactly what you want for
safety and identity, and exactly what you don’t want for behavioural advice,
because every set of instructions has edge cases you didn’t anticipate, and
when they live in the system prompt the model can’t route around them.&lt;/p&gt;

&lt;p&gt;Our telemetry agent is a good example. It powers all types of observability
query (“what is the error rate of web requests in production in the last 15
minutes”) across the ~20 observability platforms we integrate with (Datadog,
Grafana, Honeycomb, etc), and we have to be careful planning our queries so as
not to overload the provider, with an example being advice to split long-range
queries into many queries over smaller time ranges.&lt;/p&gt;

&lt;p&gt;With that advice loaded via system prompt, users of our chatbot would sometimes
request a specific “get all error logs in the last week” that they know can be
queried safely, and our agent would stubbornly refuse to query the entire range.
This was frustrating, with users telling us to “just do the f***ing query” and
the agent holding fast to its system instructions.&lt;/p&gt;

&lt;p&gt;Now that advice loads as a skill, and remember loading a skill is just bringing
the instructions into the thread as ordinary messages, below the system prompt
in the hierarchy. The model treats them as strong guidance to weigh against what
the user is actually asking for, rather than law it must obey, and this chat
interaction now succeeds. Smarter models do better when given guidance rather
than strict rules, and skills are how you hand them guidance.&lt;/p&gt;

&lt;p&gt;One caveat: some rules should stay non-negotiable, and those don’t move into
skills. The guarantees that must hold no matter what belong in the tools
themselves — like our purge tool refusing to run without an explicit &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;confirm&lt;/code&gt; —
where nobody can talk the model past them. Constraints you must enforce belong
where the model can’t negotiate, such as in the tool layer.&lt;/p&gt;

&lt;p&gt;Flattening these agents into a single session also removes the downside of
context segmentation, which is where agents would have incomplete information as
you called into their sessions. Now one agent sees everything, understands the
nature of the task beyond a single instruction, and can be much smarter about
how it plans tool calls and interleaves intermediate results for a better
outcome.&lt;/p&gt;

&lt;h2 id=&quot;thats-it-really&quot;&gt;That’s it, really&lt;/h2&gt;

&lt;p&gt;That wasn’t that bad, right?&lt;/p&gt;

&lt;p&gt;Models only ever see a simple message thread per request. Agents assemble that
request in a loop, MCPs add tools to it, skills add instructions when they’re
relevant, and plugins ship the two together.&lt;/p&gt;

&lt;p&gt;AI is moving so fast it can feel really overwhelming. Most best-practices have a
half-life of ~six months before they’re replaced, and keeping up with the latest
trend can be exhausting. Thankfully, I feel we’re arriving at a more stable
place where tools like MCPs and skills are going to stay for the longer term,
and it’s worth building an understanding that is deeper than surface level if
you want to use them well. Hopefully this post gives you that, along with some
insights that come from implementing these features in a harness used by real
people in production.&lt;/p&gt;

&lt;p&gt;I have a follow-up post planned on treating skills like the software they’ve
become: writing them so they run on any platform, and what you should expect
from products that run them for you — starting with telling you when a skill
misled an agent, and helping you fix it.&lt;/p&gt;

&lt;p&gt;For now though, you have the mental model, and my previous post on
&lt;a href=&quot;/building-ai-skills-like-checklists/&quot;&gt;building AI skills like checklists&lt;/a&gt;
covers writing a good one.&lt;/p&gt;
</description>
        <pubDate>Tue, 01 Sep 2026 12:00:00 +0000</pubDate>
      </item>
    
      <item>
        <title>Engineering teams in 2027</title>
        <link>/eng-in-2027/</link>
        <guid isPermaLink="true">/eng-in-2027/</guid>
        <description>
</description>
        <pubDate>Tue, 19 May 2026 12:00:00 +0000</pubDate>
      </item>
    
      <item>
        <title>Building AI skills like checklists</title>
        <link>/building-ai-skills-like-checklists/</link>
        <guid isPermaLink="true">/building-ai-skills-like-checklists/</guid>
        <description>&lt;p&gt;Every weekday morning, someone on the AI team at incident.io kicks off our spend report skill. Claude pulls a dozen BigQuery queries, computes a 7-day baseline range for the KPIs we track, hunts for anomalies (runaway processors, mis-tagged spend, onboarding spikes) and posts a structured report into our &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;#ai-costs-pulse&lt;/code&gt; channel.&lt;/p&gt;

&lt;figure&gt;
  &lt;img src=&quot;/assets/images/ai-spend-report-slack.png&quot; alt=&quot;The daily spend report posted into Slack — total live production spend, vital signs against the 7-day baseline, traffic-light flag count.&quot; /&gt;
&lt;/figure&gt;

&lt;p&gt;The skill exists because AI inference costs are growing fast and don’t reduce neatly to a single graph. Spend by feature, by prompt, by org, by initial-turn vs reprocessing, by internal vs customer — there are too many dimensions to dashboard sensibly, and even with the right charts the more useful question is usually why a number moved rather than what the number was. The skill produces the kind of analysis someone on the team would have written by hand if they had a spare half-hour each morning.&lt;/p&gt;

&lt;p&gt;I want to walk through how I built it, because I think the process matters more than the artefact you end up with.&lt;/p&gt;

&lt;h2 id=&quot;why-first-drafts-fail&quot;&gt;Why first drafts fail&lt;/h2&gt;

&lt;p&gt;A &lt;a href=&quot;https://code.claude.com/docs/en/skills&quot;&gt;skill&lt;/a&gt; is, mechanically, a markdown file in a known location that an agent reads and executes. It’s a runbook — the kind of document a teammate might write to explain how they handle a recurring piece of work — except the audience is an agent rather than another human, and the document gets read end-to-end before each run rather than skimmed when someone gets stuck.&lt;/p&gt;

&lt;p&gt;This is one of the more interesting things to have happened to documentation in a long time. Markdown that used to be a static reference is now closer to executable code: dense, specific, and load-bearing. Documentation has become more valuable than it was, and harder to get right.&lt;/p&gt;

&lt;p&gt;You could, in principle, just ask Claude to write a skill for you — describe the process in a couple of sentences, ask for a runbook, and call it done. I haven’t found that works very well.&lt;/p&gt;

&lt;p&gt;The best book I’ve read on writing this kind of executable process documentation is Atul Gawande’s &lt;a href=&quot;https://atulgawande.com/book/the-checklist-manifesto/&quot;&gt;&lt;em&gt;The Checklist Manifesto&lt;/em&gt;&lt;/a&gt;. Gawande’s domain was surgery, aviation and construction — not software — but the book is fundamentally about what makes a piece of process documentation reliably followable by experts under load, and most of its conclusions transfer.&lt;/p&gt;

&lt;p&gt;The takeaway that matters most for skill-writing is that you’re not done with a checklist when you’ve written it. You’re done when you’ve iterated on it through real use, watched it fail, and rewritten the items it got wrong. The WHO surgical safety checklist went through dozens of &lt;a href=&quot;https://www.nejm.org/doi/full/10.1056/NEJMsa0810119&quot;&gt;operating-theatre trials&lt;/a&gt; before publication — items dropped because they turned out to be noise, items added because they addressed real failure modes the first draft hadn’t covered, and most of the value came from the iteration rather than the writing.&lt;/p&gt;

&lt;p&gt;I think the same is true for AI skills. The first draft you write reflects the steps you remembered, which isn’t quite the same as the steps an agent needs to be told. Closing that gap takes the same kind of iterative testing.&lt;/p&gt;

&lt;h2 id=&quot;solve-the-problem-first&quot;&gt;Solve the problem first&lt;/h2&gt;

&lt;p&gt;I spent the first couple of hours not writing a skill at all. I opened a Claude session and asked it to analyse the previous day’s spend.&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;Please run an analysis of app/ai/docs/ai-spend.md for the last day (April 16th) of spend across all elements of AI spending.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Once Claude had pulled the basic numbers, I asked for more.&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;Can you do a deep dive into this? I want to understand:&lt;/p&gt;
  &lt;ol&gt;
    &lt;li&gt;Can we review all our tags and suggest which tags we should add or adjust&lt;/li&gt;
    &lt;li&gt;Does any of this spend look like something that is unusual or caused by bugs/runaway processing&lt;/li&gt;
    &lt;li&gt;Why are we going via Sonnet 4.5 for anything? We should be using 4.6 in Vertex for all our stuff&lt;/li&gt;
  &lt;/ol&gt;
&lt;/blockquote&gt;

&lt;p&gt;From here the work got more interesting. We spent the next hour and a bit arguing through the data — what each &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;tag_feature&lt;/code&gt; actually meant in business terms, what counted as real spend versus internal noise from engineers running experiments, and where margins lived. Halfway through, we hit a tagging issue: code-guidance generation was being categorised as &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;backfill&lt;/code&gt; when it was actually customer-facing onboarding traffic, while subsequent generations belonged in our processor surface. After a back-and-forth I landed on a concrete proposal.&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;How do you feel about creating a new feature of code-guidance that represents generating guidance for a repository, and then we use the source as either backfill if it’s an initial generation or processor if it’s subsequent?&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;We fixed the underlying dbt model in the same session. Other things came up too: a missing column (&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;turn_phase&lt;/code&gt; hadn’t been wired through yet), some prompts still routing through Sonnet 4.5 when they should have moved to 4.6 on Vertex, and a bimodal distribution in investigation cost that I hadn’t realised was hiding the real signal.&lt;/p&gt;

&lt;p&gt;None of this could have been written into a skill ahead of time, because none of it was known ahead of time. If I had skipped to drafting the skill from memory, I would have encoded my pre-existing assumptions — the wrong tagging, the missed routing, the bimodal distribution I hadn’t noticed — and the skill would have looked plausible while producing misleading reports.&lt;/p&gt;

&lt;p&gt;After a couple of hours of this I had a report I trusted, and the principle I wanted the skill to start with: never report a flag without investigating it. Only then did I ask Claude to write the skill itself.&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;yes, let’s draft this skill. I want to ensure that if we find any organisation or prompt or pattern that looks anomalous, we genuinely dig into what has driven that spend increase, whether it’s backfills or a bug or etc&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2 id=&quot;extract-reference-into-the-codebase&quot;&gt;Extract reference into the codebase&lt;/h2&gt;

&lt;p&gt;I’d recommend extracting the reference content — data model, queries, taxonomies, anything an agent might need to look up — into separate files in your codebase, and keeping the skill itself focused on the orchestration logic that points at them.&lt;/p&gt;

&lt;p&gt;For the spend report, all of the data model description, canonical BigQuery queries, tag taxonomy, and the list of internal orgs to filter out went into &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;server/app/ai/docs/ai-spend.md&lt;/code&gt;, with investigation-specific details in a sibling doc. About 1,600 lines between them. The skill itself reads like a runbook: build the baseline, track these KPIs, scan for these flags, investigate each one before reporting, write the report in this shape, post it to this channel. When it needs a query, it points at the doc rather than pasting the SQL inline.&lt;/p&gt;

&lt;p&gt;The split is worth the effort for three reasons. The reference docs are useful outside the skill — those queries are the ones I’d reach for when debugging an alert or doing an ad-hoc analysis, and having them in a known location helps anyone on the team who needs them.&lt;/p&gt;

&lt;p&gt;They’re also visible to agents working anywhere in that part of the codebase, loaded into context whenever someone is editing AI cost code rather than only when the skill is active. The same investment pays for both narrow and wide use cases.&lt;/p&gt;

&lt;p&gt;And the skill itself stays followable. An agent reading 1,600 lines of mixed runbook and SQL is going to lose the thread, where one reading 400 lines of orchestration with pointers to reference material can keep its place.&lt;/p&gt;

&lt;h2 id=&quot;the-dry-run-loop&quot;&gt;The dry-run loop&lt;/h2&gt;

&lt;p&gt;Once you’ve drafted a skill, you need to test whether it actually works. The author is not a great judge of this — they’re carrying context the skill doesn’t capture: which dataset they meant, which step is load-bearing, what “the usual format” looks like. The best way to find out is to put the skill in front of an agent that has none of that context and see what they make of it.&lt;/p&gt;

&lt;p&gt;I do this with a &lt;a href=&quot;https://code.claude.com/docs/en/sub-agents&quot;&gt;sub-agent&lt;/a&gt; specifically because starting a sub-agent resets its context. The sub-agent has only what’s in the skill itself — no prior conversation, no implicit assumptions about what you meant. If a step only worked because of context you were carrying in your head, the sub-agent will fail at it — and that failure is exactly the thing you should have written into the skill but didn’t.&lt;/p&gt;

&lt;p&gt;The prompt I use looks something like:&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;Run the skill at .claude/skills/ai-spend-report/SKILL.md end-to-end against yesterday’s data. Don’t fix anything as you go — just run it as written. When you’re done, report back in three categories: anything ambiguous (places the skill could plausibly be interpreted two ways), anything wrong (queries that errored, paths that didn’t exist, environments that didn’t match — and what you did to work around it), and anything improveable (things you noticed the skill could have done that would have produced a better output).&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;The first dry-run on a new skill will come back with findings in all three categories, and the second usually does too. Several of the BigQuery hygiene rules in the spend report skill started as findings from runs that went wrong: always qualify column names with table aliases (an ambiguous-column error once cancelled a whole batch of parallel queries), always pass &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;--max_rows=5000&lt;/code&gt; on per-day-by-dimension queries (the default 500-row limit was silently truncating the target day’s data), don’t invent new queries — adapt the ones in the runbook (Claude kept trying to write queries I’d already debugged a better version of). Each one is a permanent skill item that wasn’t in the first draft.&lt;/p&gt;

&lt;p&gt;The thing to avoid is treating the dry-run as a one-time pre-launch pass. We use it as a continuous practice: someone on the team runs the spend report each morning as a real piece of work, notices a way the skill could have done better, updates it, and dry-runs the new version before the next morning’s run. Just like in the checklist manifesto, you keep adjusting as you learn more. A skill that hasn’t been edited in months is probably either not being used, or quietly producing worse output than it could.&lt;/p&gt;

&lt;h2 id=&quot;removing-the-human&quot;&gt;Removing the human&lt;/h2&gt;

&lt;p&gt;There’s a useful version of “getting the human out of the loop” with agents: set
your success criteria, ask the agent to iterate until it meets them, and review
only the final result.&lt;/p&gt;

&lt;p&gt;For skill-building, this is really effective. Once you’ve drafted a skill and
eyeballed a dry-run or two to make sure the framework is right, I’d recommend
asking an agent to dogfood the skill in a loop — run it end-to-end, critique
what it produced against the three-category schema, apply fixes to the skill,
run it again — and keep going until it has no remaining feedback. The agent runs
many cycles of the dry-run loop autonomously, and you only come in to review the
converged version.&lt;/p&gt;

&lt;p&gt;What makes this work is a clear definition of success. Without the
three-category feedback from the previous section (ambiguous, wrong,
improveable) the agent has nothing to optimise against, and &lt;a href=&quot;https://ralphable.com/blog/ralph-loop-methodology&quot;&gt;“iterate until
done”&lt;/a&gt; doesn’t really mean
anything. Once you have the framework in place, you can hand the optimisation to
the agent.&lt;/p&gt;

&lt;p&gt;I read &lt;em&gt;The Checklist Manifesto&lt;/em&gt; a few years ago and found it really useful,
especially working as an SRE. It happens to translate just as well to AI work
for similar reasons, and happily marries with AI that can autonomously iterate,
which used to be the most time intensive part of writing processes like this.&lt;/p&gt;
</description>
        <pubDate>Mon, 04 May 2026 12:00:00 +0000</pubDate>
      </item>
    
      <item>
        <title>Looking back at 2025</title>
        <link>/2025/</link>
        <guid isPermaLink="true">/2025/</guid>
        <description>
&lt;p&gt;Last year I wrote this from an empty office on New Year’s Eve. This year I’m in
the boardroom between Christmas and New Year, back from a Pizza Union lunch,
waiting for mulled wine to heat up in a Moccamaster because we’re not allowed a
saucepan in the kitchen. There’s a handful of engineers half-working,
half-chatting in the background. It’s a quiet week.&lt;/p&gt;

&lt;p&gt;This is markedly better than last year.&lt;/p&gt;

&lt;p&gt;In &lt;a href=&quot;https://blog.lawrencejones.dev/2024/&quot;&gt;2024&lt;/a&gt; I said I expected to be “wrestling with AI” for another year. I was right. It was worth it.&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;a href=&quot;#the-bet&quot;&gt;The bet (January–March)&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#the-push&quot;&gt;The push (April–September)&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#the-product&quot;&gt;The product (October–December)&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#the-team&quot;&gt;The team&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#everything-else&quot;&gt;Everything else&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#the-hardest-year&quot;&gt;The hardest year&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#looking-ahead&quot;&gt;Looking ahead&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2 id=&quot;preread&quot;&gt;Preread&lt;/h2&gt;

&lt;p&gt;For those fortunate enough to have avoided my internet presence, I’m a founding
engineer at incident.io leading the AI team. My last year has been about
building an ‘AI SRE’: a system that can debug production incidents for you,
digging through logs, metrics, traces and historic incidents to tell you what’s
gone wrong and how to fix it.&lt;/p&gt;

&lt;p&gt;In this post I’ll talk about the ‘investigation system’ which is what does the
debugging of incidents, and chats back to responders in their incident channel.
I’ll also mention the @incident chatbot which responders can ask to take actions
on their behalf or use to query things “what’s the error rate right now? does
this support our theory that service X is the cause?”&lt;/p&gt;

&lt;figure&gt;
  &lt;img src=&quot;/assets/images/2025-ai-sre-product.png&quot; alt=&quot;AI SRE investigation interface showing code changes, past incidents, logs, and metrics&quot; /&gt;
  &lt;figcaption&gt;&lt;a href=&quot;https://incident.io/ai&quot;&gt;AI SRE&lt;/a&gt; - the investigation interface and Slack experience&lt;/figcaption&gt;
&lt;/figure&gt;

&lt;p&gt;That should be enough about the product to understand, and some contextual
markers for the company are:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Grew from 69 → 160 people, 20 → 45 in engineering&lt;/li&gt;
  &lt;li&gt;Substantially grew revenue&lt;/li&gt;
  &lt;li&gt;Series B in April: $62M at $400M valuation&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;And with that…&lt;/p&gt;

&lt;h2 id=&quot;the-bet-januarymarch&quot;&gt;The bet (January–March)&lt;/h2&gt;

&lt;p&gt;Coming back from Christmas, the investigation system (what triggers at the start
of an incident and tries to diagnose the issue) was working in a “prototype
way”.&lt;/p&gt;

&lt;p&gt;It could search for code changes, relevant Slack messages, past incidents,
but making improvements was hard. At ~50 prompts all interacting with one
another it was too easy to make a change in one place that broke the system
elsewhere, and with only prompt-level evals (essentially unit tests) we didn’t
have enough safeguards to allow scaling the team in headcount.&lt;/p&gt;

&lt;p&gt;I’d spent the previous December making ad-hoc changes and hoping they’d work,
but I was sorely missing tools that could quickly confirm the impact was good or
catch if there were regressions. With us making a big bet on AI–the Series B
already in motion–it wasn’t viable for just me to be working on this.&lt;/p&gt;

&lt;p&gt;What that meant was a bit uncertain, as ‘tooling’ for AI systems was fairly
nascent at the time. Pulling nouns out of thin air, I’d arrived at this idea of
building ‘datasets’ that we could ‘backtest’ AI interactions against, with
‘graders’ that could score the interactions and ‘scorecards’ to track in which
direction the scores moved.&lt;/p&gt;

&lt;figure&gt;
  &lt;img src=&quot;/assets/images/2025-ai-maturity.png&quot; alt=&quot;AI maturity stages: Development (prompts, evals), Running in production (traces, scorecards, pulse), Evolving the system (datasets, leaderboards, backtests)&quot; /&gt;
  &lt;figcaption&gt;AI maturity stages - from my &lt;a href=&quot;https://leaddev.com/software-quality/becoming-ai-engineers&quot;&gt;LeadDev talk&lt;/a&gt;&lt;/figcaption&gt;
&lt;/figure&gt;

&lt;p&gt;I spoke about the AI ‘maturity’ scale at LDX3 later that year, which is what I
spent January building. While uncomfortable pausing work on the actual product,
it was a ‘slow-down to speed-up’ investment which I hoped would unlock more
people being able to work on the investigation system in parallel.&lt;/p&gt;

&lt;p&gt;The breakthrough moment came quicker than I expected, where the MVP backtest
system helped make a change to PR searcher that meant in just an hour I improved
precision and recall by ~20% and could prove that my change was responsible.
It may not sound like much, but until now the changes we’d make were mostly
intuitive, making tweaks that made sense theoretically but lacking the “it made
this number go up!”. It was a deep relief to unlock a more robust workflow, and
we immediately got Lisa and Rory involved in tuning the system.&lt;/p&gt;

&lt;p&gt;Honestly though, a lot of this AI work is just making things up. There aren’t
any great systems for building complex GenAI products because until now those
products haven’t existed, so figuring out sensible approaches to testing and
scaling a team was about taking approaches from other disciplines and refitting
them to work for this new world.&lt;/p&gt;

&lt;p&gt;Consequently, I was a bit nervous. Especially going into the Series B process
when I was being interviewed by potential investors on how we’re building the AI
product, it was very possible they’d laugh at how naive our approach was.&lt;/p&gt;

&lt;p&gt;Happily, that turned out not to be the case! I must’ve spoken to tens of
companies and experts familiar with AI development and felt pretty happy that
every one of them was surprised at our level of sophistication. We had a system
that was extremely non-deterministic, solving complex problems with multiple
agents interacting, but we’d got to a place where changes could be made with
confidence leaning on measurements we could trust. Apparently this was
exceedingly rare.&lt;/p&gt;

&lt;figure&gt;
  &lt;img src=&quot;/assets/images/2025-series-b.png&quot; alt=&quot;incident.io raises $62M to build AI agents that resolve incidents with you&quot; /&gt;
  &lt;figcaption&gt;&lt;a href=&quot;https://incident.io/blog/incident.io-raises-62m&quot;&gt;Series B announcement&lt;/a&gt; - $62M to build AI agents&lt;/figcaption&gt;
&lt;/figure&gt;

&lt;p&gt;We continued to hill-climb on the investigation scores and improve our tooling,
eventually taking a few days as a team to write-up a lot of what we’d learned,
turning it into our &lt;a href=&quot;https://incident.io/building-with-ai&quot;&gt;Building with AI&lt;/a&gt; microsite alongside a
feature in &lt;a href=&quot;https://newsletter.pragmaticengineer.com/p/ai-engineering-in-the-real-world&quot;&gt;The Pragmatic Engineer&lt;/a&gt;. The whole team
contributed, which felt like a good celebration of what we’d achieved,
especially as the product itself wasn’t live with customers (which is usually
where our team gets their buzz).&lt;/p&gt;

&lt;p&gt;The bet on tooling paid off, and continues to. At this point it unlocked
adding more people, but has since allowed us to substantially scale-out AI in
the company.&lt;/p&gt;

&lt;p&gt;And then we announced the Series B. And then we picked a date.&lt;/p&gt;

&lt;h2 id=&quot;the-push-aprilseptember&quot;&gt;The push (April–September)&lt;/h2&gt;

&lt;p&gt;In late May we had the full company offsite in Greece - our first with half the
company in the US and half in the UK. On the last day, tired after a lot of fun,
I sat down with founder and leadership and for the first time seriously spoke
about: what are we going to release? When do we show it? What do we actually
demo?&lt;/p&gt;

&lt;p&gt;At that point we had the investigation system (sometimes good, sometimes not)
automated suggestions into channels, the chatbot for updates and questions. But
nothing tied together into a cohesive product. This was a result of AI being so
R&amp;amp;D heavy, where you don’t know what you’re going to build until you build it
and see what works. So there was a lot of work before this felt like a real
‘product’.&lt;/p&gt;

&lt;p&gt;We decided to target Sev0 San Francisco in September. It’s our yearly conference
in our flagship city, and felt an appropriate moment to release AI SRE to the
world properly.&lt;/p&gt;

&lt;p&gt;The scope we landed on was ambitious: a fully live demo where nothing was faked.
Trigger a real incident in our own production, get paged, kick off the
investigation, let it find the causing PR, draft a fix, merge it, interact with
the chatbot, build a post-mortem. The whole flow, live, in front of hundreds of
people.&lt;/p&gt;

&lt;p&gt;That meant we needed to get from “80% of the time it works” to “100% for a live
demo.” That’s a big gap.&lt;/p&gt;

&lt;p&gt;It was in August that we had a sit-down with the AI team and properly
acknowledged how large that gap was. Given the importance of Sev0, we were
looking for levers that could make sure we hit an amazing result, having already
pulled most of them.&lt;/p&gt;

&lt;p&gt;In a time like this, where you have a huge amount of work to do and a deadline
to hit, the most reliable option is (unfortunately) just working more. Any
arrangement like this is a two-way street and the company is required to support
the team too: food in the office, overtime pay, taxi expenses, removal from
interviews and other lower priority meetings. None of it was mandatory, but the
importance of us nailing this was made clear.&lt;/p&gt;

&lt;p&gt;I was nervous about this ask. The team were already working hard and we’d just added
several new people - asking them to ramp up into a crunch felt tough, but the
response was overwhelmingly positive. I was shocked at how it galvanised the
team which was maybe a bit naive of me. This opportunity is really huge and that
was obvious to me, and unsurprisingly the team around me felt the same. Not only
that, but having the company expressly clear out any distractions or red tape
and allow you to focus on work that really excites you, well. Apparently that’s
something that resonates here.&lt;/p&gt;

&lt;p&gt;We moved into a room at the end of the office - new desks, whiteboards on the
walls, windows overlooking a park. Rory jokingly called it the “Swedish prison”
(“still a prison, but quite nice”). I actively discouraged this but lost the
battle when someone installed a flag.&lt;/p&gt;

&lt;figure&gt;
  &lt;img src=&quot;/assets/images/2025-swedish-prison.png&quot; alt=&quot;The Swedish prison room - the AI team&apos;s workspace during the Sev0 push&quot; /&gt;
  &lt;figcaption&gt;The Swedish prison - our workspace during the Sev0 push&lt;/figcaption&gt;
&lt;/figure&gt;

&lt;p&gt;The ‘crunch’ began with ‘the great refactor’. We’d been building all sorts of AI
features in a quick experimentation loop, but that meant the ideal structure of
the codebase was something we’d deferred, leading to the majority of our AI code
living in a single Go package called &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;copilot&lt;/code&gt; with 500 files.&lt;/p&gt;

&lt;p&gt;The team growing from ~3 to ~7 engineers, a package like that no longer works,
as the blast radius modifying a single file is much harder to predict with
everything tangled together. Merge conflicts are a horrible way to live, and
ownership is hard in a setting like this (not to mention onboarding) so over
July and August we restructured everything into an organised &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;app/ai/*&lt;/code&gt;
hierarchy with 25+ packages. It was a lot to do simultaneously with the Sev0
push, but it’s what enabled us to scale the team without everything falling
over.&lt;/p&gt;

&lt;p&gt;Leading up-to Sev0 the daily rhythm was: stand-ups covering each of the several
on-going projects, and daily demo dry-runs with Pete where we’d build a friction
log of everything that needed improvement. That would produce a backlog, then
subgroups of 2-3 engineers would own a focus area and work from the backlog,
holding themselves to account with backtests and scores. If we started with 80%
correctness when querying the catalog, for example, that subgroup would own
bringing it to 100% before we went out on stage.&lt;/p&gt;

&lt;p&gt;You could see it getting better day by day, which was motivating.&lt;/p&gt;

&lt;p&gt;Some of the debugging got strange. I remember testing whether the chatbot could
see images as they were passed between LLM tool calls. You want to use novel
pictures each time to avoid the LLM ‘cheating’ by reading your previous
interactions and tricking you into thinking it was working.&lt;/p&gt;

&lt;p&gt;At that point, working many hours a day late into the evening, you all end up in
fits of giggles laughing at how ridiculous your job has become. The image of
everyone tired in a room late at night, laughing at the absurdity of copying dog
pictures into incident channels, that’s what engineering looked like this year.&lt;/p&gt;

&lt;figure&gt;
  &lt;img src=&quot;/assets/images/2025-swedish-prison-laughing.png&quot; alt=&quot;The team in the Swedish prison room, late at night, laughing&quot; /&gt;
  &lt;figcaption&gt;Late nights debugging LLM vision&lt;/figcaption&gt;
&lt;/figure&gt;

&lt;p&gt;The demo at Sev0 SF went really, really well. Pete showed the live demo, then I
did a ‘behind the scenes’ segment walking through the same investigation but
showing our internal tooling - how we actually trust and evolve the system. Over
4.5 minutes, watching it go through all the investigation steps and arrive at
conclusions about what the problem was. All of it worked. We were over the moon.&lt;/p&gt;

&lt;p&gt;The audience included people from Amazon, Anthropic, Databricks, Docker, Etsy,
Netflix, Uber. The feedback was overwhelming: “this is exactly what we want.”&lt;/p&gt;

&lt;p&gt;We delivered exactly what we’d committed to at the offsite - that last day in
Greece when we said Sev0 September is when we release this. It felt like we did
a phenomenal job given all the constraints.&lt;/p&gt;

&lt;figure&gt;
  &lt;img src=&quot;/assets/images/2025-sev0-sessions.png&quot; alt=&quot;Sev0 sessions page showing the AI SRE product showcase&quot; /&gt;
  &lt;figcaption&gt;&lt;a href=&quot;https://youtu.be/e_hG9jdxa6s&quot;&gt;Sev0 SF product showcase&lt;/a&gt; - where we demoed AI SRE live&lt;/figcaption&gt;
&lt;/figure&gt;

&lt;p&gt;Afterwards, jet-lagged and exhausted, Martha, Rory, Shlok, Sam, Ed bumbled around
San Francisco with me. We hiked Eagles Point. Tried to see the sea lions -
they stunk. Attempted a baseball game but messed-up the timings. Scootered
between drinks. Really fun, really exhausting, really worthwhile.&lt;/p&gt;

&lt;p&gt;One moment I keep coming back to: Shlok joined as an intern during the craziest
time, got onboarded onto all the AI stuff, contributed to the Sev0 demo, came to
San Francisco, and saw his work presented on stage. As someone who wouldn’t be
here if not for my internship at GoCardless, seeing the company grow into a
place that can give that type of experience is quite emotional.&lt;/p&gt;

&lt;p&gt;They say there are different types of fun, where ‘Type 2’ is challenges that
become rewarding in retrospect. I’ve had a lot of that in my career, enough that
I’ve become good at recognising when it’s happening at the time and appreciating
it.&lt;/p&gt;

&lt;p&gt;Perhaps that’s cheating, but I realised how much I’d miss it even when locked in
the Swedish prison. Lots of memories.&lt;/p&gt;

&lt;h2 id=&quot;the-product-octoberdecember&quot;&gt;The product (October–December)&lt;/h2&gt;

&lt;p&gt;For about 12 months I’d been telling Pete that we should hold off on telemetry
(metrics, logs, traces).&lt;/p&gt;

&lt;p&gt;My theory was that competitors were going deep on observability because they
don’t have incident data. We do. Our platform is the system of record for
everything that happens during incident response - alerts, code changes,
postmortems, Slack messages. That’s data no one else has, and I thought we
should exhaust what we could do with it before chasing telemetry connections.&lt;/p&gt;

&lt;p&gt;I was increasingly uncomfortable with this position. As time went on and
competitors invested heavily in their observability integrations, I started to
feel like I was wrong. But we kept pushing on the investigation brain - what we
call the ‘assessment’ step - modelling chains of causation, structuring findings
more robustly, introducing thinking models in various places.&lt;/p&gt;

&lt;p&gt;In November, something clicked. The changes we’d made drove our RCA quality
scores from ~60% to 75-80%. At that point, the feedback from customers changed:
“This is really good. I just want you to have access to more data. It’s not that
your reasoning is wrong - it’s that you can’t see the logs.”&lt;/p&gt;

&lt;p&gt;Now it made sense to start on telemetry.&lt;/p&gt;

&lt;p&gt;The good thing about having held off is that I’d been thinking about the
architecture for almost a year. I sat down and realised we could build this out
really quickly. What followed was about four weeks of me trying to spike out a
system that could plug into any data source - logs, metrics, dashboards, traces,
even SQL databases - and expose them behind a ‘telemetry agent’ that understands
how to use them.&lt;/p&gt;

&lt;p&gt;One driving principle of all our AI SRE so far has been to make it work
generally, without requiring customers to give specific instructions or
customise the prompts. Telemetry should be the same: you plug in a data source,
the system compiles information about what’s in there, combines it with a
language specification for how to query it, and learns how to use it
effectively. When an incident happens, it already knows what data is available
and how to get at it. Zero custom prompting per customer - it generically
understands how to use their systems.&lt;/p&gt;

&lt;p&gt;After building the initial telemetry system with Loki + Prometheus + Tempo, the
team managed to get Datadog (logs, metrics and traces) up and running in just a
week. When we dialled it in for one of our design partners, it took two hours to
fix-up some teething problems and see their investigation scores jump.&lt;/p&gt;

&lt;p&gt;The results have been kind of incredible. The team’s Slack is now full of
messages like:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;“It beat me by about 6 hours” - on finding a foreign key constraint violation
from logs&lt;/li&gt;
  &lt;li&gt;“There was no dashboard for this, it just found it” - on a batch job that
silently stopped running&lt;/li&gt;
  &lt;li&gt;“Do you know how hard it’d be to find that in a trace on mobile?” - on finding
a date bug where the iOS app requested schedule entries for year 2061&lt;/li&gt;
  &lt;li&gt;“The fact that it’s able to validate this is &lt;em&gt;fucking insane&lt;/em&gt;”&lt;/li&gt;
&lt;/ul&gt;

&lt;figure&gt;
  &lt;img src=&quot;/assets/images/2025-team-feedback.png&quot; alt=&quot;Team Slack reactions to AI SRE findings&quot; /&gt;
  &lt;figcaption&gt;Team reactions when AI SRE finds something good&lt;/figcaption&gt;
&lt;/figure&gt;

&lt;p&gt;In our production incident account, we now have AI SRE connected to Grafana
(Loki, Prometheus, Tempo), GCP logs, dashboards, and more. When our Cloud SQL
has a deadlock, it correlates the alert logs with deadlock logs and lock wait
lists from cloud logging. It’s able to combine these sources into a picture
that’s more complete than anything we’ve had before.&lt;/p&gt;

&lt;p&gt;Honestly, I use the telemetry agent more than I use Grafana now. It’s better
than me at formulating the right LogQL or PromQL query, and being able to tie
that immediately into GCP cloud logging - then feed it back into the
investigation to refine what we think is going wrong - that’s game-changingly
good.&lt;/p&gt;

&lt;figure&gt;
  &lt;img src=&quot;/assets/images/2025-advanced-uses.png&quot; alt=&quot;Using AI SRE for general production questions beyond incidents&quot; /&gt;
  &lt;figcaption&gt;Using AI SRE for general production questions, not just incidents&lt;/figcaption&gt;
&lt;/figure&gt;

&lt;p&gt;By December we’d hit ~90% RCA quality across 50 representative incidents. Design
partners are starting to say “this is seriously useful” and our job over the
next couple of months is to get them to “I cannot live without this.”&lt;/p&gt;

&lt;p&gt;Reflecting on this: I think I’ve been messing around with how to build these
kinds of abstractions for most of my professional career. pgsink (an open source
ETL project I built years ago), the alert system abstractions at incident.io,
the engine programming language that powers our conditional logic. Building
systems like this is my biggest strength as an engineer, and I’m really excited
about what this framework will allow us to do.&lt;/p&gt;

&lt;p&gt;It’s made me feel better about holding off as long as we did, now we can see how
fast we can build on stronger foundations.&lt;/p&gt;

&lt;h2 id=&quot;the-team&quot;&gt;The team&lt;/h2&gt;

&lt;p&gt;In January, the AI team was me, Lisa, and Rory Malcolm. By December, we were 18
engineers.&lt;/p&gt;

&lt;p&gt;Growing a team 6x while shipping a product is hard. Growing an AI team 6x is
harder, because AI work doesn’t fit normal frameworks.&lt;/p&gt;

&lt;p&gt;You can’t scope it in advance - you’re often trying to do something you’re not
sure will work, so you prototype until something emerges. And our normal
processes like ‘polish parties’, where you walk through the product
click-by-click and roast the flow, fall short because AI might work for one use
case and fail terribly for 30% of others. If you created a pretty AI interaction
where the AI is totally wrong, no one cares. It might even offend them more.&lt;/p&gt;

&lt;p&gt;What worked instead was what I described in the push: subgroups owning specific
parts of the system, measured by scores, with full autonomy on how they hit
100%. The eval infrastructure we built in January made this possible, and
without it, we couldn’t have parallelised the work.&lt;/p&gt;

&lt;p&gt;By December the team had settled into three themes: the ‘brain’ (the core
investigation engine), integrations (Datadog, external status pages, IDE
distribution), and design partners (proving AI SRE at scale with companies that
have thousands of engineers and services).&lt;/p&gt;

&lt;p&gt;But broader than just the AI team, there are some moments I keep coming back to:&lt;/p&gt;

&lt;h3 id=&quot;qcon-in-april&quot;&gt;QCon in April&lt;/h3&gt;

&lt;p&gt;I was there to support Martha and Alicia who were both giving talks.&lt;/p&gt;

&lt;p&gt;QCon is extremely technical - most speakers have published respected technical
books. Martha’s talk was about the reliability work we’d done together on the
on-call product the previous year: load testing, production drills, all the
things I’d learned as an SRE at GoCardless. She’d never done this kind of work
before, but she learned it and delivered a talk that was incredibly practical
and full of hard-earned lessons.&lt;/p&gt;

&lt;p&gt;On-call has averaged four nines availability since launch, which is notable for
a product that’s only a year old and already a third of our business. Watching
her on stage, I kept thinking about the fact that I joined this company when it
was just the three founders, Lisa and I. Now it’s 160 people, and we have engineers
speaking at conferences like QCon with authority and confidence.&lt;/p&gt;

&lt;h3 id=&quot;anthropic-dinner-and-others&quot;&gt;Anthropic dinner (and others)&lt;/h3&gt;

&lt;p&gt;I went to an Anthropic engineering leadership dinner in November with a
collection of other top company leaders in London.&lt;/p&gt;

&lt;p&gt;I’d accepted last minute and hadn’t clocked it was a fancy place in Mayfair - I
turned up in a scruffy t-shirt and jeans, looking extremely out of place.&lt;/p&gt;

&lt;p&gt;Despite this, it was a real pinch-me moment as people noticed my incident.io
namebadge (misspelled, if I remember correctly) and were effusive about our brand
and what they’d seen of it. We keep getting comments about being &lt;em&gt;the&lt;/em&gt; place to
work in London which is a proud moment for everyone who’s helped build the
culture here, but it was particularly noticeable in a room full of such high
profile companies.&lt;/p&gt;

&lt;h3 id=&quot;100-offer-acceptance&quot;&gt;100% offer acceptance&lt;/h3&gt;

&lt;p&gt;I’m overjoyed that we went all-in on internships and graduate roles this year
and have made offers to 5 of each, with all 10 offers being accepted.&lt;/p&gt;

&lt;p&gt;That’s crazy in any circumstance but is even wilder considering we had
&lt;em&gt;thousands&lt;/em&gt; of applicants to both roles. The candidates are the best in the
entire country with every company to pick from, but a huge effort to run an
exceptional recruitment process has meant they’ve chosen incident.io as the
place they’ll start their careers.&lt;/p&gt;

&lt;p&gt;It’s not just junior roles, though: we’ve hired about 20 engineers this last
year, and the new hires we’ve made are all exceptional. This is the strongest
team I’ve ever worked in, full of kind, hard-working and talented people who
make working here a joy.&lt;/p&gt;

&lt;h2 id=&quot;everything-else&quot;&gt;Everything else&lt;/h2&gt;

&lt;p&gt;Beyond the product work, I’ve been busier externally than any year before. A quick round-up:&lt;/p&gt;

&lt;h3 id=&quot;talks&quot;&gt;Talks&lt;/h3&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;a href=&quot;https://leaddev.com/software-quality/becoming-ai-engineers&quot;&gt;LeadDev LDX3&lt;/a&gt; (June) - “Becoming AI Engineers” - my first big conference talk, covering maturity stages, tooling, and the human side of AI systems&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://youtu.be/e_hG9jdxa6s&quot;&gt;Sev0 SF &amp;amp; London&lt;/a&gt; (September/October) - “Behind the scenes” product showcase segment&lt;/li&gt;
&lt;/ul&gt;

&lt;h3 id=&quot;podcasts&quot;&gt;Podcasts&lt;/h3&gt;

&lt;p&gt;I’ve been doing more podcasts this year, trying to speak about AI and topics on
engineering culture.&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;a href=&quot;https://aiadoptionplaybook.podbean.com/e/incidentios-lawrence-jones-on-building-ai-that-automatically-investigates-technical-outages&quot;&gt;AI Adoption Playbook&lt;/a&gt; (May) - Building AI that investigates outages, scorecard-driven development&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://adventuresindevops.com/episodes/2025/10/20/solving-incidents-with-one-time-ephemeral-runbooks/&quot;&gt;Adventures in DevOps&lt;/a&gt; (October) - Ephemeral runbooks, dynamically generated from PRs and past incidents&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://podcasts.apple.com/us/podcast/90-of-ai-demos-fail-heres-how-to-build-one-that-wont/id1431648914?i=1000735527275&quot;&gt;IT Visionaries&lt;/a&gt; (November) - “90% of AI Demos Fail” - the gap between demos and production&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://www.producttalk.org/when-ai-becomes-your-sre-how-incident-io-is-automating-incident-response/&quot;&gt;Product Talk with Teresa Torres&lt;/a&gt; (November) - “When AI Becomes Your SRE” - with Ed Dean&lt;/li&gt;
&lt;/ul&gt;

&lt;h3 id=&quot;writing&quot;&gt;Writing&lt;/h3&gt;

&lt;p&gt;As is tradition, I’ve done much less writing this year than I would like, but am
very proud of our AI microsite and featuring in the Pragmatic Engineer.&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;a href=&quot;/ai-mvp/&quot;&gt;Beyond the AI MVP&lt;/a&gt; (February) - What it really takes to ship AI products&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;/ai-dont-need-python/&quot;&gt;You Don’t Need Python&lt;/a&gt; (February) - Building AI in Go, why static typing helps&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;/ai-dilemma/&quot;&gt;AI Innovator’s Dilemma&lt;/a&gt; (March) - Why startups have an advantage in AI&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;/ai-engineering-role/&quot;&gt;Why Change Role to AI Engineering&lt;/a&gt; (April) - Career pivot, what the role actually means&lt;/li&gt;
  &lt;li&gt;Plus the &lt;a href=&quot;https://newsletter.pragmaticengineer.com/p/ai-engineering-in-the-real-world&quot;&gt;Pragmatic Engineer feature&lt;/a&gt; and &lt;a href=&quot;https://incident.io/building-with-ai&quot;&gt;Building with AI microsite&lt;/a&gt; launch in March&lt;/li&gt;
&lt;/ul&gt;

&lt;h2 id=&quot;the-hardest-year&quot;&gt;The hardest year&lt;/h2&gt;

&lt;p&gt;I’ve worked a lot this year. More than any year before, in this role or
otherwise, by a margin. I’m not complaining - I knew what I was signing up for
joining a start-up like this – but I want to be honest about the experience
instead of pretending it was an easy ride.&lt;/p&gt;

&lt;p&gt;AI work doesn’t fit the normal frameworks. You can’t scope it properly because
you don’t know what’s going to work until you try it. That makes it hard to
forecast, hard to communicate to stakeholders, hard to give PMs and designers
something to work with. For long stretches I’d go heads-down building something
that might not pan out, then surface weeks later with a prototype and realise
I’d left other fires to burn in my absence.&lt;/p&gt;

&lt;p&gt;That oscillation is challenging. And the competition hasn’t made it easier -
everyone and their grandmother is building an AI SRE nowadays, from well-funded
startups to megacap companies like Datadog. There were periods where I genuinely
wasn’t sure if we were ahead or behind, and I felt a large amount of
responsibility for making sure we landed.&lt;/p&gt;

&lt;p&gt;I think what made it manageable was having something to show for it. The Sev0
push was brutal, but we shipped. The telemetry work was intense, but customers
are now saying things that make it feel worthwhile. If I’d worked this hard and
we’d shipped something mediocre, I’d be in a different headspace right now.&lt;/p&gt;

&lt;p&gt;Did I manage it better than 2024? Honestly, yes. Last year I was wrestling with
whether AI would work at all. This year I was wrestling with how to make it
great. That’s a better problem to have, even if it’s still hard.&lt;/p&gt;

&lt;p&gt;The team helped. Having people around who are just as invested, who you can
laugh with at 10pm in the Swedish prison while debugging whether an LLM can see
a picture of a dog - that makes the difference between miserable and memorable.&lt;/p&gt;

&lt;h2 id=&quot;looking-ahead&quot;&gt;Looking ahead&lt;/h2&gt;

&lt;p&gt;No one has quite cracked AI SRE yet. I think we’ve almost done that.&lt;/p&gt;

&lt;p&gt;We have 5 design partners - multi-billion dollar companies with thousands of
engineers - running real incidents through AI SRE. We’re at ~90% RCA quality.
The telemetry system is working. The team is 18 engineers with a clear path to
growing further.&lt;/p&gt;

&lt;p&gt;Next year is when the rubber hits the road: actually deploying and selling this
at scale. That’s a different kind of challenge to what we’ve faced so far. Less
R&amp;amp;D uncertainty, more execution against a defined product. Scaling what works
rather than building from scratch.&lt;/p&gt;

&lt;p&gt;I don’t think we’ll have the same intensity as this year. Not because we’ll work
less, but because the shape of the work changes. The foundation is there now and
what comes next is capitalising on that, and if our design partners continue
saying what they’re saying, we might have lightning in a bottle.&lt;/p&gt;

&lt;p&gt;I’m again reminding myself to be appreciative of the journey. Each year at
incident.io has been the most significant and exciting of my career, and that
continues. I got to build something genuinely new this year with people I really
like working with, and that’s not something to take for granted.&lt;/p&gt;

&lt;p&gt;If you’d told me in January where we’d be by December - the product, the team,
the external recognition - I’d have been sceptical, but we delivered on almost
everything we set out to do.&lt;/p&gt;

&lt;p&gt;So what’s the prediction for 2026? We’ll know by this time next year whether AI
SRE is truly the product that changes how companies run incidents. I think it
will be. And if I’m wrong, it won’t be for lack of trying.&lt;/p&gt;

&lt;p&gt;See you then.&lt;/p&gt;
</description>
        <pubDate>Tue, 30 Dec 2025 15:00:00 +0000</pubDate>
      </item>
    
      <item>
        <title>Why change role to AI Engineering</title>
        <link>/ai-engineering-role/</link>
        <guid isPermaLink="true">/ai-engineering-role/</guid>
        <description>
&lt;p&gt;We’ve just launched an AI Engineer role, and Pete’s written a post explaining
&lt;a href=&quot;https://incident.io/blog/why-hire-ai-engineers&quot;&gt;why we’ve created the role&lt;/a&gt; which goes nicely with our blog
series &lt;a href=&quot;https://incident.io/building-with-ai&quot;&gt;“Building with AI”&lt;/a&gt; that the team released the other
week.&lt;/p&gt;

&lt;p&gt;With all the noise in the industry right now, you might think a role like ‘AI
Engineering’ is for SEO or an attempt to ride the hype wave. That’s not why we
did it, though: we created it because the work is materially different, and we
want to represent that clearly so people can make informed decisions when
applying.&lt;/p&gt;

&lt;p&gt;While Pete’s post explains what AI engineering means for us as a company, I want
to address what this role might mean for you as an engineer considering the
switch. If you’re a software engineer with an interest in AI thinking about
making this pivot, what does that mean for your day-to-day work? Your career
trajectory? What new experiences will you gain, and what familiar aspects of
your current role might you leave behind?&lt;/p&gt;

&lt;p&gt;This post is my honest pros-and-cons list that I’d give to a friend considering
a switch into AI Engineering. I’ll be candid about both the exciting
opportunities and the potential challenges, drawing from my own experience
making a similar career transition.&lt;/p&gt;

&lt;p&gt;First though, I want to share a personal story about where I found this kind of
advice particularly valuable in my own career.&lt;/p&gt;

&lt;h2 id=&quot;sre&quot;&gt;SRE&lt;/h2&gt;

&lt;p&gt;A year into my role at GoCardless working on payment pipelines, I faced a
similar career decision. Our SRE team was short-staffed, and Norberto—then SRE
lead, now VP Eng at incident.io—approached me about making the switch.&lt;/p&gt;

&lt;p&gt;What I appreciated most about Norberto’s approach was his honesty. He emphasized
this would be a fundamentally different experience than my current role. It
wasn’t a lateral move or small adjustment, it was a significant career decision
that would give me different growth opportunities and require commitment to see
the payoff. Not a decision to make lightly.&lt;/p&gt;

&lt;p&gt;His “pros” were compelling: I’d gain exposure to a huge amount of software by
learning to run it, which would develop my sense for building better systems
(absolutely true in retrospect). I’d build incident response skills (you can see
how that ended up shaping my career!) and encounter more challenging technical
areas—like distributed systems—than I might otherwise.&lt;/p&gt;

&lt;p&gt;But it was his candid “anti-sell” points that I found most valuable:&lt;/p&gt;

&lt;ol&gt;
  &lt;li&gt;“Your development as a software engineer will slow, as you’ll write much
less code.”&lt;/li&gt;
  &lt;li&gt;“The work is further from the product, which changes your relationship to the
business and understanding of the company.”&lt;/li&gt;
  &lt;li&gt;“Infrastructure work can be long, tedious, extremely frustrating: if you’re
not up for feedback loops that would break a normal dev, it may not be for
you.”&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;I ended up working as an SRE for half a decade, eventually becoming Principal
SRE and leading the infrastructure function at GoCardless. Norberto’s assessment
couldn’t have been more accurate. Having that honest preview helped me make the
most of my time in the role, and that experience became a key part of why I’m
good at my job today.&lt;/p&gt;

&lt;p&gt;I want to offer you the same candid assessment about AI Engineering.&lt;/p&gt;

&lt;h2 id=&quot;why-switch-to-an-ai-engineer-role&quot;&gt;Why switch to an ‘AI Engineer’ role?&lt;/h2&gt;

&lt;p&gt;Norberto’s advice proved invaluable because it focused on how I would experience
the role as an individual—the unvarnished reality of the hard parts, what growth
I’d gain, and what I might sacrifice. It helped me make the decision
intentionally, and when I eventually hit the harder parts, I was prepared and
ready to get through them.&lt;/p&gt;

&lt;p&gt;I want to offer the same service for anyone considering our AI Engineer role.
The ideal candidate is likely already in a Product Engineering position or
something similar. So I’m going to share some “ground truths” about the
experience you’d have working as an AI Engineer, particularly how it contrasts
with typical Product Engineering work.&lt;/p&gt;

&lt;p&gt;If you’re weighing this career move, here’s what you should consider:&lt;/p&gt;

&lt;h3 id=&quot;its-the-number-one-priority&quot;&gt;It’s the number one priority&lt;/h3&gt;

&lt;p&gt;Most companies are racing to capture their AI opportunity, which makes AI work
the company ‘P1’.&lt;/p&gt;

&lt;p&gt;Working on a high-stakes, high-reward company initiative is a great way to get
exposure to leadership and learn how to move fast under pressure. You’ll be at
the center of strategic conversations, with visibility to executives and
decision-makers who care deeply about your team’s success.&lt;/p&gt;

&lt;p&gt;When I was in SRE, infrastructure projects often felt distant from company
priorities until something broke. In contrast, AI work today is the key
strategic direction for most companies, it’s what everyone wants to know about,
and what many hopes are riding on.&lt;/p&gt;

&lt;p&gt;If that sounds exciting, AI Engineering could be an opportunity to really push
yourself and develop crucial skills in delivering under pressure. Of course, the
reverse is also true: if you prefer steadier, more predictable work with less
scrutiny, AI might not be the right fit, at least not for now while the race is
on.&lt;/p&gt;

&lt;h3 id=&quot;potential-for-impact-is-huge&quot;&gt;Potential for impact is huge&lt;/h3&gt;

&lt;p&gt;Until now, the products being built with AI were simply not able to exist.&lt;/p&gt;

&lt;p&gt;That means a vast amount of potential value has become accessible and every
company is starting the race at the same time. It’s an unusually level playing
field that gives even small companies the opportunity to win.&lt;/p&gt;

&lt;p&gt;In our case, if we manage to build an AI incident investigator that automates
the debugging of an incident, that will fundamentally change how people respond
to incidents. It will be a ‘before/after incident.io’ moment, representing a
substantial shift in how the industry handles critical failures.&lt;/p&gt;

&lt;p&gt;Opportunities to build category-defining products don’t come along often. If you
want to be part of building something truly game-changing and associate yourself
with a product that people will remember as being the first of its kind, then an
AI Engineering role is likely your best shot right now.&lt;/p&gt;

&lt;h3 id=&quot;help-define-best-practices-and-tooling&quot;&gt;Help define best practices and tooling&lt;/h3&gt;

&lt;p&gt;You’ll be working on the forefront of a new tech wave, which means you have the
opportunity to be the ‘first’ to learn how to do things, and to teach others.&lt;/p&gt;

&lt;p&gt;We’ve seen this already at incident.io, where we’ve had to create tooling from
scratch to help us build our investigations system. Everyone in the industry is
trying to solve these problems, but we’re among the first companies to build
appropriate internal tools to address them. We’re not just implementing existing
solutions, we’re inventing them.&lt;/p&gt;

&lt;p&gt;What you build, you can share externally. You can see our &lt;a href=&quot;https://incident.io/building-with-ai&quot;&gt;“Building with
AI”&lt;/a&gt; series where we share in detail how we work with AI
systems. This kind of content helps build your personal brand as someone helping
the industry figure out how to work with this new technology.&lt;/p&gt;

&lt;p&gt;It’s not just blogs either, with our team &lt;a href=&quot;https://www.linkedin.com/posts/lawrence2jones_for-those-of-you-attending-ldx3-leaddev-london-activity-7299810043523182593-3_8n&quot;&gt;speaking at conferences&lt;/a&gt;
and regularly talking with other world-class teams about what’s working, what
doesn’t.&lt;/p&gt;

&lt;p&gt;Becoming an expert in a domain that is growing this fast, in a role where your
company supports you speaking externally, is an exceptional way to grow yourself
and your career.&lt;/p&gt;

&lt;h3 id=&quot;progress-can-be-slow-and-inconsistent&quot;&gt;Progress can be slow and inconsistent&lt;/h3&gt;

&lt;p&gt;Building AI systems comes with a unique set of challenges that traditional
software engineering doesn’t prepare you for. Progress rarely follows a
predictable, linear path—and this is both the hardest part of the job and where
the greatest growth happens.&lt;/p&gt;

&lt;p&gt;In traditional product engineering, you generally know when a feature is “done.”
The requirements are clear, the acceptance criteria are defined, and you can
check boxes as you go. In AI engineering, the landscape shifts constantly:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Some weeks you’ll make remarkable progress, others you’ll feel like you’re
moving backward&lt;/li&gt;
  &lt;li&gt;Knowing when you’re “done” is hard—there’s always another edge case to handle
or percentage point of accuracy to chase&lt;/li&gt;
  &lt;li&gt;You’re working with probabilities instead of certainties, which fundamentally
changes how you measure success&lt;/li&gt;
  &lt;li&gt;There are few established patterns to follow; you’re creating them as you go&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This uncertainty can be mentally taxing. The dopamine hit is way less reliable
than smashing out product features—don’t do this if you live for consistent todo
list checkboxes!&lt;/p&gt;

&lt;p&gt;But this challenging environment is precisely where you’ll develop skills that
are incredibly valuable and transferable:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;You’ll learn to define meaningful metrics that actually reflect real-world
performance&lt;/li&gt;
  &lt;li&gt;You’ll build tooling to measure quality and progress, turning the subjective
into the objective&lt;/li&gt;
  &lt;li&gt;You’ll develop grit and resilience that will serve you in any future role&lt;/li&gt;
  &lt;li&gt;You’ll become comfortable making decisions with incomplete information&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;It’s not possible to “vibes” your way through AI engineering. You can’t just say
a feature is good because it feels right, you have to build the datasets and
tools to prove it with numbers. This rigor forces you to become a more
disciplined engineer and project manager.&lt;/p&gt;

&lt;p&gt;Taking on this challenge can help develop an ability to drive progress through
ambiguity, which is one of the most differentiated skills you can have, either
as an engineer or leader. This makes people exceptionally valuable not just in
AI, but in any complex, uncertain engineering environment.&lt;/p&gt;

&lt;h3 id=&quot;product-surface-will-be-smaller&quot;&gt;Product surface will be smaller&lt;/h3&gt;

&lt;p&gt;One significant shift when moving from product engineering to AI engineering is
the visible impact of your work. Let’s be direct: you won’t build as much
user-facing product surface as you would in a traditional product role.&lt;/p&gt;

&lt;p&gt;In product engineering, you regularly ship features users directly interact
with. You work closely with designers to build user facing interfaces, and you
get immediate feedback when customers use what you’ve built. It’s satisfying to
point at a screen and say, “I built that.”&lt;/p&gt;

&lt;p&gt;AI engineering work is different:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;The majority of your work will be improving the system that powers the product
surface, potentially leading to no visible changes&lt;/li&gt;
  &lt;li&gt;You’ll likely work less with designers, as there is less user-facing parts of
the product to be designed&lt;/li&gt;
  &lt;li&gt;The “wow” moments come from how well the system is built under-the-hood,
rather than visual polish&lt;/li&gt;
  &lt;li&gt;Success is measured more in metrics and capabilities than a human-made
judgement on quality&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;So less conventional software engineering work, but it’s not all bad: AI systems
require extensive internal tooling, and as a person building the system and
the intended of that tooling, you’ll have opportunities to extend those tools
yourself. Lisa shows a lot of what we’ve built in &lt;a href=&quot;https://incident.io/building-with-ai/built-our-own-ai-tooling&quot;&gt;“Why we built our own AI
tooling”&lt;/a&gt; if you’re interested.&lt;/p&gt;

&lt;p&gt;There’s a creative freedom in building internal tooling that is rare in
customer-facing product. That’s because internal tools are most important to be
functional, and the bar for polish is lower when shipping to an internal team
than external, allowing you to quickly prototype experiences and even ship
autonomously without any extensive design review.&lt;/p&gt;

&lt;p&gt;It can be fun to build tools you use yourself, and to do so quickly, solving a
problem that you are your team are personally impacted by.&lt;/p&gt;

&lt;h2 id=&quot;its-different-enough&quot;&gt;It’s different enough&lt;/h2&gt;

&lt;p&gt;Just like SRE, AI Engineering is a different enough experience than Product
Engineering that it’s worth giving it a name to make those differences clear.&lt;/p&gt;

&lt;p&gt;The ideal candidates are generalist software engineers, but they need to be
excited about the challenges this role presents. You want people who find AI
technology genuinely fascinating, who enjoy keeping up with the latest
advancements, and who won’t be frustrated by extended periods of gradually
tweaking systems to improve on benchmarks.&lt;/p&gt;

&lt;p&gt;This isn’t a role for everyone, and that’s okay. Some engineers thrive in the
predictable rhythm of product development, where work is more predictable and
feedback immediate. Others will find the frontier nature of AI work energising
and might be looking for a career defining opportunity, leveraging the AI wave
to see what they can achieve.&lt;/p&gt;

&lt;p&gt;If you’re an engineer who reads this and thinks “wow, that sounds exciting!”
then I urge you to consider making the switch. There’s so much opportunity in AI
right now that it could be a huge career-accelerant, one that you’d look back on
in future as a defining moment in your professional journey.&lt;/p&gt;

&lt;p&gt;This is a chance to build something totally new and be recognised for getting
there first, and a chance to help define AI Engineering as a discipline. The
skills you develop working with these systems today will be increasingly
valuable as AI continues to transform how we build software.&lt;/p&gt;

&lt;p&gt;If that’s you, I’d love to chat. Either reach out to me on &lt;a href=&quot;https://www.linkedin.com/in/lawrence2jones/&quot;&gt;LinkedIn&lt;/a&gt;,
&lt;a href=&quot;mailto:lawrence@incident.io&quot;&gt;email me&lt;/a&gt; or apply directly at
&lt;a href=&quot;https://incident.io/careers&quot;&gt;incident.io/careers&lt;/a&gt;. Even if you’re just curious and not ready to apply,
I’m happy to discuss what the transition might look like for someone with your
background.&lt;/p&gt;
</description>
        <pubDate>Thu, 10 Apr 2025 08:00:00 +0000</pubDate>
      </item>
    
      <item>
        <title>Optimizing LLM prompts for low latency</title>
        <link>/optimizing-llm-prompts/</link>
        <guid isPermaLink="true">/optimizing-llm-prompts/</guid>
        <description>
</description>
        <pubDate>Tue, 25 Mar 2025 12:00:00 +0000</pubDate>
      </item>
    
      <item>
        <title>AI Innovator&apos;s Dilemma</title>
        <link>/ai-dilemma/</link>
        <guid isPermaLink="true">/ai-dilemma/</guid>
        <description>
&lt;p&gt;I’m currently building an &lt;a href=&quot;https://incident.io/ai#investigations&quot;&gt;AI-powered incident investigation
product&lt;/a&gt; that automatically debugs and triages production issues
when incidents are declared.&lt;/p&gt;

&lt;p&gt;We’re one of many new entrants in the “Agentic SRE” space (yuck). Working here
has given me a front-row seat to the competitive dynamics of the AI ecosystem,
which I’m increasingly seeing as the innovator’s dilemma writ-large.&lt;/p&gt;

&lt;p&gt;The dilemma describes how successful companies can fail precisely because they
listen to their customers and invest in projects that promise the highest
return. This rational behaviour makes them vulnerable to smaller companies who
initially serve smaller markets with lower profitability, but eventually grow to
threaten the incumbent’s core business.&lt;/p&gt;

&lt;p&gt;In today’s AI landscape, this dynamic is supercharged. Startups with products
that can be quickly adjusted to capture AI-enabled use cases have significant
advantages over incumbents, in ways that will make AI one of the most disruptive
technological shifts in recent history.&lt;/p&gt;

&lt;p&gt;This is all standard posturing you’ll see from most AI ‘influencers’, so I’ll
jump into what I’m seeing working with this technology on the day-to-day.&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;a href=&quot;#exponentially-higher-cost-to-ga&quot;&gt;Exponentially higher cost to GA&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#initial-buy-in-is-the-same&quot;&gt;Initial buy-in is the same&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#small-team-advantage&quot;&gt;Small team advantage&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#dogfooding-and-iteration-speed&quot;&gt;Dogfooding and iteration speed&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#traditional-moats-dont-protect-incumbents&quot;&gt;Traditional moats don’t protect incumbents&lt;/a&gt;
    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#data-moats-have-moved&quot;&gt;Data moats have moved&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#integration-advantage-flips-to-the-newcomer&quot;&gt;Integration advantage flips to the newcomer&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#cutting-edge-technology-is-being-commoditised&quot;&gt;Cutting-edge technology is being commoditised&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#startups-are-going-to-win-this&quot;&gt;Startups are going to win this&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2 id=&quot;exponentially-higher-cost-to-ga&quot;&gt;Exponentially higher cost to GA&lt;/h2&gt;

&lt;p&gt;Large incumbents face a critical problem with AI products: they must solve for
enormous scale from day one, while startups like ours can focus narrowly and
ship earlier. This difference in go-to-market requirements creates a surprising
advantage for smaller players.&lt;/p&gt;

&lt;p&gt;The economics are challenging as as the investment required to build a
sophisticated AI product scales with both the size and diversity of your
customer base. It’s not just linear scaling–it’s multiplicative, and that cost
isn’t just what appears on your AI bill.&lt;/p&gt;

&lt;p&gt;As you scale an AI system to larger problem-spaces, two things happen:&lt;/p&gt;

&lt;ol&gt;
  &lt;li&gt;You require vastly more evaluation datasets and testing&lt;/li&gt;
  &lt;li&gt;The scope of the problem can explode before your team get traction solving it&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;When building our incident investigation agent we began by focusing exclusively
on solving for ourselves, starting with an agent that finds code changes that
caused our incidents. Getting that system good was a process of building
training data, running repeated evals, constant testing against our modest
datasets. Our scale means our spend on salaries far outweighs our AI bills, and
the resulting agent generalises to a decent chunk of our userbase.&lt;/p&gt;

&lt;p&gt;Now imagine you’re PagerDuty or GitHub, both companies where an agentic SRE
would fit well into their offerings. To make this agent worth building, it would
need to work for such a large number of customers that you’d be drowning in
diverse tech stacks and different coding practices. Achieving consistent
performance across that variety of use cases would require an eval suite that is
prohibitively expensive to run at the frequency your team will need to iterate
effectively. This often leads larger companies to delay investment while waiting
for technical improvements that promise to reduce these costs.&lt;/p&gt;

&lt;p&gt;This creates a window where companies like ours can build, deploy, and iterate
on AI systems while larger competitors are still figuring out how to make the
economics work. By the time they solve the scale problem, we’ll have multiple
generations of improvement and real-world feedback baked into our systems.&lt;/p&gt;

&lt;p&gt;That headstart is even more crucial because…&lt;/p&gt;

&lt;h2 id=&quot;initial-buy-in-is-the-same&quot;&gt;Initial buy-in is the same&lt;/h2&gt;

&lt;p&gt;I’ve written a blog post recently called &lt;a href=&quot;/ai-mvp/&quot;&gt;“Beyond the AI MVP”&lt;/a&gt; that
discusses how easily you can build a credible-looking AI prototype that turns
out to be useless in practice. You only realize this when people start genuinely
using the product.&lt;/p&gt;

&lt;p&gt;It’s at that point that the real work starts, because in order to build AI
systems effectively you need:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;A team with experience deploying AI for real-world uses to real people&lt;/li&gt;
  &lt;li&gt;Investment in tooling driven by your specific company use cases&lt;/li&gt;
  &lt;li&gt;Time for your team to learn the new tools&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Whether you’re building an agentic AI system for large-scale use cases or a more
modest customer profile, the buy-in required before your team can begin
effectively implementing the system is similar. That buy-in includes building
tools to be effective with AI such as eval suites, backtests, and scorecards.
It’s also about changing how you work and upskilling your team.&lt;/p&gt;

&lt;p&gt;All of this learning and investment is slow and, crucially, doesn’t get much
faster by pouring more resource on the problem. You can put the entire company
on it, but it’s unlikely to accelerate the individual learning curve of an
engineer, and the chaos of everyone building competing internal tools without
clear direction is unlikely to help. We found it hard to parallelise this
investment beyond more than two-or-three people.&lt;/p&gt;

&lt;p&gt;Startups who can deploy AI systems to simpler customer environments will build a
meaningful headstart around expertise, internal tooling, and avoid the AI MVP
trap.&lt;/p&gt;

&lt;p&gt;Maybe larger companies will pay the buy-in late but eventually catch-up, though,
at which point their resources allow them to overtake? Well…&lt;/p&gt;

&lt;h2 id=&quot;small-team-advantage&quot;&gt;Small team advantage&lt;/h2&gt;

&lt;p&gt;One advantage of a larger company is people, who you can (presumably) throw at a
problem to make things go faster.&lt;/p&gt;

&lt;p&gt;If you look around, though, the AI break-out companies like Cursor aren’t
massive–they’re small, &amp;lt;20 people at $100M ARR! The standard explanation is
“first-mover advantage in a new market,” but I think it’s more fundamental than
that. We simply haven’t cracked how to build compelling AI tools with large
teams.&lt;/p&gt;

&lt;p&gt;“Feature factories” will not be able to evolve agentic systems into a polished
experience. Not now, at least: in these early days, you need a small core team
who can hold the entire system in their head, so they can catch the often
unpredictable impact that small prompt tweaks can cause in a system where errors
exponentially compound. They leverage tools like evals to help control the
chaos, but “craftsmanship” has become more important to a quality AI experience
than it has been in product engineering for the last decade or more.&lt;/p&gt;

&lt;p&gt;For incumbents, this is a problem. They’ll need much smaller, skunkworks-esque
teams to do the initial discovery and development. Established companies are
typically worse at this than startups, though, who live and breathe this
execution model.&lt;/p&gt;

&lt;p&gt;Even if they create these teams…&lt;/p&gt;

&lt;h2 id=&quot;dogfooding-and-iteration-speed&quot;&gt;Dogfooding and iteration speed&lt;/h2&gt;

&lt;p&gt;The most powerful feedback loop in AI development is dogfooding—using the
product yourself in real-world scenarios. We’ve been pushed to build speculative
agent tool calling to optimise our chat interactions to get them fast enough for
people to enjoy using them, for example, and caught everything from AI
misunderstanding European names (thanks Leo Sjöberg!) to weird prompt
misdirections by actively using the product ourselves.&lt;/p&gt;

&lt;p&gt;We haven’t yet scaled these systems to work for the largest customers, though, so
incumbents are locked out from dogfooding like this exactly because of their
size and complexity. If iteration is the only reliable way to understand
time-to-build, being unable to dogfood is a massive pain to navigate.&lt;/p&gt;

&lt;p&gt;Red tape at larger companies compounds this problem. When every iteration
requires multiple approvals, security reviews, and compliance checks, the
essential rapid feedback loop is broken. A change that takes hours at a startup
might take weeks or months at an enterprise.&lt;/p&gt;

&lt;p&gt;This “iteration advantage” isn’t just about moving faster; it’s about learning
faster. In AI product development, the quality of your solution depends heavily
on how many real-world scenarios you’ve encountered and solved for. Every
iteration that incorporates real feedback improves the system exponentially
compared to theoretical improvements made in isolation.&lt;/p&gt;

&lt;p&gt;By the time incumbents have built the infrastructure to test at scale, startups
will have gone through dozens of iterations with real users, developing an
instinct for what works that’s nearly impossible to shortcut.&lt;/p&gt;

&lt;p&gt;So what if these larger companies enact ‘war-time’ policies, dropping all the
red tape? Even then…&lt;/p&gt;

&lt;h2 id=&quot;traditional-moats-dont-protect-incumbents&quot;&gt;Traditional moats don’t protect incumbents&lt;/h2&gt;

&lt;p&gt;Those are a bunch of novel, AI-specific headwinds for smaller companies. But if
you’ve worked in tech long enough, you’ve heard the standard narrative about why
established companies are protected: they have the data, the integrations, and
access to the best tech.&lt;/p&gt;

&lt;p&gt;AI is rewriting this playbook in counterintuitive ways.&lt;/p&gt;

&lt;h3 id=&quot;data-moats-have-moved&quot;&gt;Data moats have moved&lt;/h3&gt;

&lt;p&gt;In our situation, PagerDuty is a good example of an incumbent who doesn’t have
the right data to build a moat. Our product has always seen so much more of the
incident process than they have, where we see all messages posted in the channel
and attachments, incident follow-ups, tickets, post-mortems.&lt;/p&gt;

&lt;p&gt;AI creates totally new product opportunities, allowing you to solve problems
that were previously out of reach. Incumbents won’t ever have considered these
problems because they weren’t possible, so it’s likely they never started
collecting the data.&lt;/p&gt;

&lt;p&gt;The only “moat” that matters is how fast you can iterate on your AI system,
which requires a feedback loop with your customers now. Again, this plays into
the dilemma, where incumbents are delaying starting until the tech allows them
to address enterprise, while upstarts are already getting hands-on experience
and building themselves a headstart.&lt;/p&gt;

&lt;h3 id=&quot;integration-advantage-flips-to-the-newcomer&quot;&gt;Integration advantage flips to the newcomer&lt;/h3&gt;

&lt;p&gt;Established players usually have an integration advantage – everyone already
connects to them. Surprisingly, in AI, this dynamic reverses.&lt;/p&gt;

&lt;p&gt;Modern startups have strong incentives to connect into existing ecosystems of
tools, but incumbents have the luxury of saying “connect to us”. That leaves
young startups with fewer integrations, but what they have is under their
control.&lt;/p&gt;

&lt;p&gt;As AI changes the nature of how systems communicate, having a breadth of
existing integrations is only an advantage if you can effectively improve and
change them. Startups will be fine, but the long-tail wait for integrator
ecosystems to make changes becomes an anchor holding incumbents back.&lt;/p&gt;

&lt;h3 id=&quot;cutting-edge-technology-is-being-commoditised&quot;&gt;Cutting-edge technology is being commoditised&lt;/h3&gt;

&lt;p&gt;The sharp-edge of AI R&amp;amp;D is happening in mega-scaling AI companies like OpenAI,
Anthropic, Google, not (or rarely) in the companies building AI products.&lt;/p&gt;

&lt;p&gt;It’s highly unusual that cutting-edge technology would be as available to a
consumer purchaser as to a massive corporation, or that access would be metered
in a pay-as-you-go fashion that disrupts capital advantages too. The AI startup
launching on ProductHunt this week will use the same models as Google
themselves, it’s an unusually even playing field.&lt;/p&gt;

&lt;h2 id=&quot;startups-are-going-to-win-this&quot;&gt;Startups are going to win this&lt;/h2&gt;

&lt;p&gt;This is going to be a major disruptive shift and is happening extremely quickly.
Generative AI changes enough of what is possible and how to achieve it that the
rules have changed, and almost every traditional advantage of incumbency has
been neutralized or inverted.&lt;/p&gt;

&lt;p&gt;To recap:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Building for large, diverse customer bases is exponentially more expensive
than focusing on narrow verticals, creating space for startups to innovate and
making it hard for incumbents to justify the investment.&lt;/li&gt;
  &lt;li&gt;This headstart matters because the initial investment in AI requires a similar
time commitment regardless of company size, creating an opportunity for startups
to build expertise and tooling.&lt;/li&gt;
  &lt;li&gt;Small, cohesive teams have an advantage in developing AI products since we
don’t yet have a playbook for effectively scaling AI development with large
teams, countering an incumbents biggest advantage (their resource).&lt;/li&gt;
  &lt;li&gt;Dogfooding and rapid iteration are only possible at certain scales, giving
startups the ability to learn from real-world usage and improve faster than
incumbents locked out by their own complexity.&lt;/li&gt;
  &lt;li&gt;Traditional moats of data, integrations, and cutting-edge tech distribution
aren’t applying.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This isn’t to say incumbents are doomed. The smartest ones will respond by
creating autonomous AI divisions with different economics and timelines,
acquiring promising startups early, or pivoting to platform plays that leverage
their scale in new ways.&lt;/p&gt;

&lt;p&gt;But there’s a window of opportunity right now that’s unusually wide. For perhaps
the next 2-3 years, we’ll see startups solving problems that should “rightfully”
belong to established players. Just look at how quickly Cursor has become the
dominant IDE, or the speed that ElevenLabs hit $100M ARR, in spaces you’d expect
JetBrains or Google to dominate.&lt;/p&gt;

&lt;p&gt;What happens after that window closes? My guess is that we’ll see a
consolidation phase where the successful startups either get acquired or grow
into the new incumbents. But by then, the market will have been fundamentally
reshaped, and we’ll think about AI very differently than we do right now.&lt;/p&gt;

&lt;p&gt;It’s a crazy time to be working in tech. If you’re building an AI startup,
though, don’t be intimidated by competitors with deeper pockets. You have a
surprising number of systemic advantages, provided you can move quickly enough
to use them.&lt;/p&gt;
</description>
        <pubDate>Thu, 13 Mar 2025 08:00:00 +0000</pubDate>
      </item>
    
      <item>
        <title>You don&apos;t need Python to build AI products</title>
        <link>/ai-dont-need-python/</link>
        <guid isPermaLink="true">/ai-dont-need-python/</guid>
        <description>&lt;p&gt;“If you want to build AI products, you need to use Python.”&lt;/p&gt;

&lt;p&gt;I hear this a lot, and it’s wrong. I get why people think it- software engineers
have been trained to lean into open-source tooling, and the AI ecosystem is
undoubtably strongest in Python.&lt;/p&gt;

&lt;p&gt;But if you don’t already use Python, switching languages for the ecosystem is
likely a bad call. Not only is that ecosystem less mature than it seems (who
genuinely has enough experience to build an opinionated agent-framework at this
point?), but it is grounded more in a research/ML perspective than a product
one.&lt;/p&gt;

&lt;p&gt;Additionally, the language itself is a poor fit for AI products! Python
concurrency can be tricky, which is going to hurt you when it comes to
optimising the latency of your AI systems, and a static type-system can bring
some much-needed structure to non-deterministic models.&lt;/p&gt;

&lt;p&gt;At incident.io, we use Go for all our backend, and saw no reason why AI should
be any different. Go has been a fantastic choice, helping us &lt;a href=&quot;https://incident.io/ai&quot;&gt;build AI
systems&lt;/a&gt; that spawn concurrent prompts, speculatively execute tools, and instrument
everything to the hilt.&lt;/p&gt;

&lt;p&gt;Despite Go being known as a no-frills language, we’ve built some really
ergonomic abstractions that make working with AI really easy. I expect you can
do it in your native language, too.&lt;/p&gt;

&lt;h2 id=&quot;promptyarr&quot;&gt;PromptYarr&lt;/h2&gt;

&lt;p&gt;Here’s an example of a prompt in our codebase:&lt;/p&gt;

&lt;div class=&quot;language-go highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;k&quot;&gt;type&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;PromptYarr&lt;/span&gt; &lt;span class=&quot;k&quot;&gt;struct&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;{}&lt;/span&gt;

&lt;span class=&quot;k&quot;&gt;type&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;PromptYarrInput&lt;/span&gt; &lt;span class=&quot;k&quot;&gt;struct&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
    &lt;span class=&quot;n&quot;&gt;Message&lt;/span&gt; &lt;span class=&quot;kt&quot;&gt;string&lt;/span&gt; &lt;span class=&quot;s&quot;&gt;`json:&quot;text&quot; description:&quot;Text to translate into pirate&quot;`&lt;/span&gt;
&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;

&lt;span class=&quot;k&quot;&gt;type&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;PromptYarrResult&lt;/span&gt; &lt;span class=&quot;k&quot;&gt;struct&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
    &lt;span class=&quot;n&quot;&gt;Message&lt;/span&gt; &lt;span class=&quot;kt&quot;&gt;string&lt;/span&gt; &lt;span class=&quot;s&quot;&gt;`json:&quot;message&quot; description:&quot;Resulting pirate-speak&quot;`&lt;/span&gt;
&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;

&lt;span class=&quot;k&quot;&gt;func&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;p&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;PromptYarr&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;Model&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;()&lt;/span&gt; &lt;span class=&quot;kt&quot;&gt;string&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
    &lt;span class=&quot;k&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;goopenai&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;GPT4o&lt;/span&gt;
&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;

&lt;span class=&quot;k&quot;&gt;func&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;p&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;PromptYarr&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;Result&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;()&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;PromptYarrResult&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
    &lt;span class=&quot;k&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;PromptYarrResult&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;{}&lt;/span&gt;
&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;

&lt;span class=&quot;k&quot;&gt;func&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;p&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;PromptYarr&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;Prompt&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;input&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;PromptYarrInput&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;[]&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;goopenai&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;ChatCompletionMessage&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
    &lt;span class=&quot;k&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;[]&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;goopenai&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;ChatCompletionMessage&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
        &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
            &lt;span class=&quot;n&quot;&gt;Role&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;s&quot;&gt;&quot;system&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;
            &lt;span class=&quot;n&quot;&gt;Content&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;s&quot;&gt;`
# Context

You are a pirate translator who helps translate normal text into pirate speak.

# Task

Translate the given text into pirate speak, making sure to:
* Use common pirate phrases and terminology
* Keep the core meaning of the message intact
* Be consistent with pirate dialect throughout
* Add nautical references where appropriate
`&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;
        &lt;span class=&quot;p&quot;&gt;},&lt;/span&gt;
        &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
            &lt;span class=&quot;n&quot;&gt;Role&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;s&quot;&gt;&quot;user&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;
            &lt;span class=&quot;n&quot;&gt;Content&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;input&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;Message&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;
        &lt;span class=&quot;p&quot;&gt;},&lt;/span&gt;
    &lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;
&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Each prompt is its own struct, describing which model to use, the input type
that we use to template the messages, and finally the prompt that we’ll send to
OpenAI (or Anthropic, GCP, whatever).&lt;/p&gt;

&lt;p&gt;What I love about this is how much heavy lifting the type system is doing for
us. Running the prompt is as simple as:&lt;/p&gt;

&lt;div class=&quot;language-go highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;n&quot;&gt;result&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;_&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;:=&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;ai&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;RunPrompt&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;ctx&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;db&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;identity&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;PromptYarr&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
    &lt;span class=&quot;n&quot;&gt;Input&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;s&quot;&gt;&quot;Hello, how are you?&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;
&lt;span class=&quot;p&quot;&gt;})&lt;/span&gt;

&lt;span class=&quot;c&quot;&gt;// &quot;Ahoy, how be ye?&quot;&lt;/span&gt;
&lt;span class=&quot;n&quot;&gt;fmt&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;Println&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;result&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;Message&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Behind the scenes, &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;RunPrompt&lt;/code&gt; is doing some cool stuff:&lt;/p&gt;

&lt;ol&gt;
  &lt;li&gt;It reflects over our &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Result&lt;/code&gt; type to build an OpenAPI specification, using
struct tags like &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;description&lt;/code&gt; and &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;enum&lt;/code&gt; as documentation.&lt;/li&gt;
  &lt;li&gt;That specification is used to force the model into giving structured JSON
responses that match our type exactly.&lt;/li&gt;
  &lt;li&gt;The prompt is templated with our &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;input.Message&lt;/code&gt;.&lt;/li&gt;
  &lt;li&gt;Finally, the response is parsed back into our result type.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Each prompt lives in its own file (&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;prompt_yarr.go&lt;/code&gt;) alongside its evaluation
suite (&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;prompt_yarr.yaml&lt;/code&gt;), making it easy to maintain and test.&lt;/p&gt;

&lt;h2 id=&quot;fun-with-generics&quot;&gt;Fun with generics&lt;/h2&gt;

&lt;p&gt;The pattern above works great for fixed prompts, but sometimes you need more
flexibility. That’s where Go’s generics come in handy.&lt;/p&gt;

&lt;p&gt;Here’s an example from our incident investigation system:&lt;/p&gt;

&lt;div class=&quot;language-go highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;n&quot;&gt;gradeResult&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;err&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;:=&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;ai&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;RunPrompt&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;ctx&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;db&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;identity&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;
	&lt;span class=&quot;n&quot;&gt;ai&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;PromptInvestigationGrade&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;k&quot;&gt;struct&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
		&lt;span class=&quot;n&quot;&gt;FoundPermalinks&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;[]&lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;string&lt;/span&gt; &lt;span class=&quot;s&quot;&gt;`json:&quot;found_permalinks&quot; description:&quot;The permalinks of the identified code changes&quot;`&lt;/span&gt;
	&lt;span class=&quot;p&quot;&gt;}]{&lt;/span&gt;
		&lt;span class=&quot;n&quot;&gt;Check&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;:&lt;/span&gt;     &lt;span class=&quot;n&quot;&gt;codeChangesCheck&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;
		&lt;span class=&quot;n&quot;&gt;Artifacts&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;codeChangesCheck&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;Artifacts&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;
		&lt;span class=&quot;n&quot;&gt;Task&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;s&quot;&gt;`
Find the shortlist of code changes that have been found in the check as high
confidence results that relate to the incident.
`&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;
	&lt;span class=&quot;p&quot;&gt;},&lt;/span&gt;
&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;We’re using &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;PromptInvestigationGrade&lt;/code&gt; across our &lt;a href=&quot;https://incident.io/ai#investigations&quot;&gt;investigation
system&lt;/a&gt;, but each time we run it we want different types of
results back. Sometimes we want permalinks to code changes, other times we’re
extracting timeline entries, or grading the quality of our investigation
hypothesis.&lt;/p&gt;

&lt;p&gt;Rather than copy-and-pasting the prompt in order to use the same context setup,
we can use a generic type parameter to control the result we get back. The
prompt template and core logic stays the same, but we get different structured
data back each time.&lt;/p&gt;

&lt;p&gt;That’s as close as we’ll get to Vercel’s &lt;code&gt;```ai&lt;/code&gt; in Go, and I’d say
it’s a strong challenger.&lt;/p&gt;

&lt;h2 id=&quot;python-is-not-the-only-answer&quot;&gt;Python is not the only answer&lt;/h2&gt;

&lt;p&gt;Python is a great tool for machine learning and a lot more. But it has real
weaknesses when it comes to building production AI systems, especially if you’re
already working in a different language.&lt;/p&gt;

&lt;p&gt;I’ve spoken with several teams who switched to Python to work with AI, away from
their normal stack, and they’ve all struggled. They’re trying to learn AI
alongside new tools and patterns (&lt;a href=&quot;/learn-one-thing/&quot;&gt;almost always a bad idea&lt;/a&gt;), which
makes it much more likely they burn out or fail.&lt;/p&gt;

&lt;p&gt;Even if they succeed, they’ve disconnected their AI features from their core
product. These are companies aiming to be “AI native” but have their AI features
living in a separate codebase with different conventions. That doesn’t feel like
success to me.&lt;/p&gt;

&lt;p&gt;At incident.io, we kept everything in Go and it’s working really well. Our AI
features live right alongside our core product, using the same development
patterns the team already knows. We’ve even managed building some expressive and
fancy abstractions in a language that is notoriously no-frills, while leveraging
Go’s strengths in concurrency and type safety.&lt;/p&gt;

&lt;p&gt;The AI ecosystem will continue to be Python-first, and that’s fine! The actual
interaction with models is just HTTP requests with JSON payloads, though. Build
good abstractions in your language of choice, and focus your energy on the hard
stuff: &lt;a href=&quot;/ai-mvp/&quot;&gt;making AI features that actually work&lt;/a&gt;.&lt;/p&gt;
</description>
        <pubDate>Sun, 16 Feb 2025 12:00:00 +0000</pubDate>
      </item>
    
      <item>
        <title>Beyond the AI MVP: What it really takes</title>
        <link>/ai-mvp/</link>
        <guid isPermaLink="true">/ai-mvp/</guid>
        <description>&lt;p&gt;Most companies building AI products today are stuck in the experimental phase,
lacking the basic tooling and infrastructure needed to build reliable systems.
It’s easy to spot once you know what to look for.&lt;/p&gt;

&lt;p&gt;Take the current trend of companies talking about load-balancing their AI
operations across multiple providers. Sounds sophisticated, right? But it
reveals something concerning about the state of AI engineering.&lt;/p&gt;

&lt;p&gt;Let me show you why. Last week we tried upgrading from 4o-2024-08-06 to
2024-11-20. Same model, just updated knowledge and weights. On one of our core
prompts:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;4o-2024-08-06 passed 100% of our tests&lt;/li&gt;
  &lt;li&gt;4o-2024-11-20? Dropped to 79%&lt;/li&gt;
  &lt;li&gt;And here’s the kicker: Anthropic’s Sonnet 3.5 hit 95%&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;That last bit is shocking - a completely different model family performed more
consistently than an upgraded version of the same model. But what’s more
concerning is how many companies are talking about switching between providers, 
implying they don’t have the tools they need to measure these differences.&lt;/p&gt;

&lt;p&gt;This may sound like an easy problem to fix: they can just add tests, right?
Sadly this is a lot harder than you might expect, and the gap between “we should
test our AI” and having reliable, production-grade evaluation tools is much
bigger than people realise, even though it’s essential to building great AI
products.&lt;/p&gt;

&lt;figure&gt;
  &lt;img src=&quot;/assets/images/ai-mvp-evals.png&quot; style=&quot;max-height: 420px&quot; alt=&quot;Differences in same evals run across different models&quot; /&gt;
&lt;/figure&gt;

&lt;h2 id=&quot;all-you-need-is&quot;&gt;All you need is…&lt;/h2&gt;

&lt;p&gt;The AI community loves a good “all you need is X”. All you need is attention!
All you need is transformers! And the latest: all you need is evals!&lt;/p&gt;

&lt;p&gt;Just write some tests, they say. Measure your model performance. Track your
metrics. They’re not wrong - but anyone who’s actually tried to build robust
testing infrastructure for AI systems knows it’s not that simple.&lt;/p&gt;

&lt;p&gt;We’ve got to a place where we can quantify how a model upgrade impacts us, but
what have we needed to build to do this?&lt;/p&gt;

&lt;p&gt;Well:&lt;/p&gt;

&lt;ol&gt;
  &lt;li&gt;A test suite with 30+ distinct scenarios&lt;/li&gt;
  &lt;li&gt;Code to compare expected vs actual outputs (which uses AI, too!)&lt;/li&gt;
  &lt;li&gt;The test runner itself&lt;/li&gt;
  &lt;li&gt;Strategies to run those tests in our CI without costs spiraling&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Honestly, writing the tests themselves is the easy bit! Almost all AI tools and
frameworks are written in Python, reflecting the origins of AI in the research
teams who built the models and the machine-learning community who first adopted
them.&lt;/p&gt;

&lt;p&gt;But most product teams don’t use Python, which means you need to create a
lot of these tools from scratch. That’s big undertaking, and almost no one is
talking about how to integrate this stuff into a normal software development
lifecycle.&lt;/p&gt;

&lt;p&gt;There’s a reason no one is talking about this: it’s because most teams, even
those at billion-dollar companies, just haven’t built this yet.&lt;/p&gt;

&lt;h2 id=&quot;the-ai-mvp-trap&quot;&gt;The AI MVP trap&lt;/h2&gt;

&lt;p&gt;At incident.io, we wanted to create &lt;a href=&quot;https://incident.io/ai&quot;&gt;an automated system for triaging incidents&lt;/a&gt; -
something that could look at dashboards, merged PRs, and various data sources to
figure out what went wrong. Two days later, I had a working prototype that
looked amazing. It analysed everything, drew conclusions, and posted them right
to our incident channel.&lt;/p&gt;

&lt;p&gt;It looked finished. It wasn’t even close.&lt;/p&gt;

&lt;p&gt;This is the trap of AI products, and most teams will follow the same pattern.&lt;/p&gt;

&lt;p&gt;Let me break it down:&lt;/p&gt;

&lt;h3 id=&quot;stage-1-the-deceptive-mvp&quot;&gt;Stage 1: The Deceptive MVP&lt;/h3&gt;

&lt;p&gt;You build something in days that looks almost finished. The demo is incredible.
Your team is excited. Then it meets reality, and everything falls apart. The
system that looked so polished in demos starts making basic mistakes that seem
obvious in hindsight.&lt;/p&gt;

&lt;h3 id=&quot;stage-2-swings-and-non-deterministic-roundabouts&quot;&gt;Stage 2: Swings and Non-Deterministic Roundabouts&lt;/h3&gt;

&lt;p&gt;You start iterating on your MVP, trying to improve it. But as you add
complexity, the system becomes increasingly unpredictable. You’re making changes
based on vibes, improving some edge cases while (invisibly) breaking others.&lt;/p&gt;

&lt;p&gt;This is the stage 90% of companies building AI are in. You can even see it in
FANG: the AI features Google have added to GCP feel very much like an engineers
first attempt to use an LLM in a product, spitting out terrible SQL suggestions
in BigQuery. Apple’s message summarisation features cross-pollinating between
messages and providing horribly inaccurate headlines is another.&lt;/p&gt;

&lt;h3 id=&quot;stage-3-science&quot;&gt;Stage 3: Science&lt;/h3&gt;

&lt;p&gt;At this point you realise your system is complex enough that it demands tooling
to help manage and understand it, tooling that you need to build. I call this
the point at which you need to start to ‘science’ it, taking inspiration from ML
practices and finding ways to apply those lessons to your context.&lt;/p&gt;

&lt;p&gt;At minimum, you will need:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;An eval test suite&lt;/li&gt;
  &lt;li&gt;Automated grading of AI interactions in your product&lt;/li&gt;
  &lt;li&gt;Observability tools to help introspect multi-stage LLM interactions&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;That’s what you need, but you’ll &lt;em&gt;want&lt;/em&gt; much more too.&lt;/p&gt;

&lt;p&gt;We’ve evolved our tools by (purposely) being intolerant of friction: if you
regularly need to do X to work with/debug our AI systems, then we build tooling
that makes it cheap for you to do X in minutes.&lt;/p&gt;

&lt;p&gt;As one example: it takes less than 30 seconds for an incident.io engineer to go
from a failing LLM interaction in production to running it as an eval test case
in their IDE. That’s how you build the leverage you need to work with these
systems.&lt;/p&gt;

&lt;h3 id=&quot;stage-4-real-work&quot;&gt;Stage 4: Real Work&lt;/h3&gt;

&lt;p&gt;Finally, you reach a point where you can reliably assess AI performance and
improve your system with confidence. You have continuous monitoring,
comprehensive eval suites, prompt analysis tools - the works.&lt;/p&gt;

&lt;p&gt;And that’s when the uncomfortable truth hits you: everything before this was
basically pretending. You look at your tooling, think about how much work it
took to get here, and realise something concerning: you haven’t heard many other
companies talk about building these kinds of tools.&lt;/p&gt;

&lt;p&gt;Which makes you wonder: how many companies are still stuck in that chaotic MVP
stage, shipping AI features without really understanding how they’re performing?&lt;/p&gt;

&lt;h2 id=&quot;its-not-easy-or-simple&quot;&gt;It’s not easy, or simple.&lt;/h2&gt;

&lt;p&gt;Here’s the thing: building reliable AI systems is hard. Really hard. And anyone
telling you “all you need is X” is selling you a simplified version of reality.
The tools are immature, there aren’t many examples to follow, and if you’re
struggling to get things right - that’s completely normal. You’re not alone.&lt;/p&gt;

&lt;p&gt;The industry itself is still finding its feet. The first book on “AI
Engineering” was literally published last month, and we’re still inventing the
terminology to describe what we’re doing. When you’re pushing into new territory
like this, it’s critical to understand where your team sits on the maturity
curve. Are you still in the MVP stage? Starting to science it? Having a clear
picture of where you are helps you mature faster, providing a path forward.&lt;/p&gt;

&lt;p&gt;The companies that will succeed with AI won’t be the ones with the biggest
budgets, access to the latest models, or even the most ML expertise. They’ll be
the ones that invest in understanding their systems, that build the tools to
measure and improve them, and that take the time to do things right.&lt;/p&gt;

&lt;p&gt;So the next time someone tells you they’re building a multi-provider AI
strategy, ask them how they’re measuring the impact. Ask them about their
tooling. Ask them about their eval suite. Because if they can’t answer those
questions, they’re probably still stuck in the MVP trap - and they might not
even know it.&lt;/p&gt;
</description>
        <pubDate>Sat, 01 Feb 2025 12:00:00 +0000</pubDate>
      </item>
    
      <item>
        <title>Looking back at 2024</title>
        <link>/2024/</link>
        <guid isPermaLink="true">/2024/</guid>
        <description>&lt;p&gt;I’m determined to make a tradition of this, which is why I find myself in an empty office on New Years Eve trying to remember what’s gone by these last twelve months.&lt;/p&gt;

&lt;p&gt;I ended &lt;a href=&quot;https://blog.lawrencejones.dev/2023/&quot;&gt;“Looking back at 2023”&lt;/a&gt; saying “brace for impact” which I had thought meant I was prepared for this year, but in retrospect I wasn’t even close. It’s a common story in start-ups to say “thank god that’s over, next year will be easier!” and be repeatedly wrong, but 2024 was particularly hard.&lt;/p&gt;

&lt;p&gt;There is a lot to show for it, though.&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;a href=&quot;#the-work&quot;&gt;The work&lt;/a&gt;
    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#releasing-on-call-january-march&quot;&gt;Releasing On-call (January-March)&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#building-on-our-release-april-june&quot;&gt;Building on the release (April-June)&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#scaling-to-larger-customers-july-september&quot;&gt;Scaling to larger customers (July-September)&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#ai-forever&quot;&gt;AI (forever)&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#everything-else&quot;&gt;Everything else&lt;/a&gt;
    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#ups-and-downs&quot;&gt;Ups and downs&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#talks-and-conferences&quot;&gt;Talks and conferences&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;h2 id=&quot;the-work&quot;&gt;The work&lt;/h2&gt;

&lt;p&gt;This year was about three things: releasing and then extending On-call, conferences and external work, then AI.&lt;/p&gt;

&lt;h3 id=&quot;releasing-on-call-january-march&quot;&gt;Releasing On-call (January-March)&lt;/h3&gt;

&lt;p&gt;I started 2024 hell bent on getting our on-call product released, having been working on it since July the previous year.&lt;/p&gt;

&lt;p&gt;In my previous recap I’d described On-call as “our most ambitious product yet” with one part being the reliability demands that come with a paging system. I was once a Principal SRE running large payment systems and I needed to become that person again as we ramped up for release.&lt;/p&gt;

&lt;p&gt;This meant:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Building a plan to ensure On-call would be rock-solid&lt;/li&gt;
  &lt;li&gt;Reviewing every piece of code, adding tests, confirming edge cases&lt;/li&gt;
  &lt;li&gt;Running production drills to properly test everything&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I’ve got a draft blog post I’m yet to publish called “10 days of load testing and drills” which is all about that last point:&lt;/p&gt;

&lt;figure&gt;
  &lt;img src=&quot;/assets/images/2024-load-testing-drills.png&quot; style=&quot;max-height: 420px&quot; alt=&quot;Load testing interface showing drill scenarios and test results&quot; /&gt;
&lt;/figure&gt;

&lt;p&gt;To summarise: I spent several weeks in February working with Martha (an engineer from the team) to kick the living crap out of On-call before we released it.&lt;/p&gt;

&lt;p&gt;By a fair margin, these weeks were the most fun I had this year. We had to build out core observability tooling (we had just setup Grafana before the break, but had no dashboards, docs or best-practices) and plan a load testing strategy, then run drills with each engineer in the team trying to repeatedly break the system.&lt;/p&gt;

&lt;p&gt;Reliability and system design is my wheelhouse and I was bound to find it fun, but the most rewarding part was working with Martha. She joined the project with almost zero o11y experience and left being one of the most competent at the company, having listened to me drone on about the “importance of dashboard design” and what must’ve seemed like a load of other nonsense.&lt;/p&gt;

&lt;p&gt;Working with Martha and each of the team to take proper ownership over On-call was extremely rewarding. It’s a testament to this work that since launch, On-call has exceeded 99.99% availability, even having onboarded hundreds of customers, some pretty large.&lt;/p&gt;

&lt;p&gt;We have a &lt;a href=&quot;https://incident.io/hubs/building-on-call&quot;&gt;“Behind-the-scenes building On-call”&lt;/a&gt; blog series that I recommend you check-out, but you can see how well the team met this challenge through their writing:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Martha with &lt;a href=&quot;https://incident.io/hubs/building-on-call/building-on-call-our-observability-strategy&quot;&gt;“Our observability strategy”&lt;/a&gt; which should be required reading for any team rolling out o11y&lt;/li&gt;
  &lt;li&gt;Rory Malcolm on &lt;a href=&quot;https://incident.io/hubs/building-on-call/continually-testing-our-product-with-smoke-tests&quot;&gt;“Continually testing with smoke tests”&lt;/a&gt; talking about the automated tests we run continuously to ensure we never miss a page&lt;/li&gt;
  &lt;li&gt;Leo Sjöberg on building on the horrible &lt;a href=&quot;https://incident.io/hubs/building-on-call/the-complexity-of-phone-networks&quot;&gt;“Complexity of phone networks”&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Ask anyone: four nines availability is no joke. There are teams in FANG who will tell you this isn’t possible for company like ours to achieve that, especially for a system like this.&lt;/p&gt;

&lt;p&gt;Well, this team proves that wrong.&lt;/p&gt;

&lt;h2 id=&quot;building-on-our-release-april-june&quot;&gt;Building on our release (April-June)&lt;/h2&gt;

&lt;p&gt;We &lt;a href=&quot;https://incident.io/hubs/on-call/announcing-on-call&quot;&gt;released On-call on March 5th&lt;/a&gt; but it’s easy to release a product, even one with a lot of fanfare, and find no users.&lt;/p&gt;

&lt;p&gt;Thankfully that did not happen with On-call, and to give a sense of what’s happened in the 9 months since we launched:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Over 60% of our customers have bought On-call&lt;/li&gt;
  &lt;li&gt;On-call alone is about as big as incident.io was 2.5 years into operation&lt;/li&gt;
  &lt;li&gt;We have sent 4M on-call notifications (app notifications, phone calls, SMS, etc)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;That’s now, but the first few months after launching were essential! We might’ve just launched an On-call product but (quite entertainingly) so had FireHydrant, and Rootly had soft launched their On-call website (I think in response to our impending launch?) so we were in a crowded space.&lt;/p&gt;

&lt;p&gt;That meant several months of dialling into the customer feedback firehose and building whatever was needed to unblock deals, smoothing rough edges found during migration, and generally getting comfortable running this system.&lt;/p&gt;

&lt;p&gt;Probably the most noticeable of this work was &lt;a href=&quot;https://incident.io/changelog/smart-escalation-paths-for-improved-incident-handling&quot;&gt;“Smart Escalation Paths”&lt;/a&gt; which introduced dynamic branching into escalations, supporting out-of-hours low urgency pages and a series of other improvements.&lt;/p&gt;

&lt;figure&gt;
  &lt;img src=&quot;/assets/images/2024-smart-escalation.png&quot; style=&quot;max-height: 420px&quot; alt=&quot;Smart Escalation Paths interface showing branching notification flows&quot; /&gt;
&lt;/figure&gt;

&lt;p&gt;After so long building a product without customers (other than early partners) it was energising to plug back into the ship, feedback, iterate cycle. Honestly just seeing people go “wow, this is so good!” felt rewarding and helped the team feel their achievement.&lt;/p&gt;

&lt;p&gt;I also got to dive into mobile app development, something I’d never done before. This involved setting up authentication for the mobile app, a few small features, and eventually giving me the opportunity to build a silly diagram of the custom in-house over-the-air deployment flow we’d built!&lt;/p&gt;

&lt;figure&gt;
  &lt;img src=&quot;/assets/images/2024-deployment-flow.png&quot; style=&quot;max-height: 420px; margin-bottom: 1rem;&quot; alt=&quot;Diagram showing the over-the-air deployment flow for mobile apps&quot; /&gt;
&lt;/figure&gt;

&lt;p&gt;Overall, not a bad quarter!&lt;/p&gt;

&lt;h2 id=&quot;scaling-to-larger-customers-july-september&quot;&gt;Scaling to larger customers (July-September)&lt;/h2&gt;

&lt;p&gt;Thanks to our focus on “human on-call” our On-call product was getting a load of traction with small to medium companies. Crazy huh, imagine making it easy to request cover from your team, or connecting to HR systems and showing holidays alongside your schedules?&lt;/p&gt;

&lt;p&gt;But larger companies have more complex setups, and after assigning engineers to On-call sales calls, we found a bunch of small friction-points that made using us at scale difficult.&lt;/p&gt;

&lt;p&gt;Luckily the issue wasn’t “can incident.io work for my company” and in fact we are (in my opinion) the most flexible and powerful of the on-call products out there, largely due to our Catalog, meaning you can build whatever routing structure you like. Instead, it was “can I figure out how to make it work” which is a very different type of problem.&lt;/p&gt;

&lt;p&gt;On-call in particular is hard for this, as each customer has a unique set of:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Organisation structure&lt;/li&gt;
  &lt;li&gt;Observability/alerting tools&lt;/li&gt;
  &lt;li&gt;Alert routing and ownership mechanisms&lt;/li&gt;
  &lt;li&gt;Alerting philosophies&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;You have to solve the problem by fully understanding both across all customers and generically for our platform, and then deep into whatever slice of tools a customer may want to use. Finding solutions that are idiomatic wrt Grafana/Datadog/whatever you may be using requires an expertise in those tools too, in addition with a strong understanding of our system.&lt;/p&gt;

&lt;p&gt;We approached the problem by roasting our product, repeatedly setting up accounts and tracking how customers did it, forcing people to develop a ‘healthy impatience’ with our product so they’d balk at the first sign of friction.&lt;/p&gt;

&lt;p&gt;Eventually, we rolled out a series of changes that massively helped bigger companies like Intercom access the power of our product more easily.&lt;/p&gt;

&lt;p&gt;These ranged from:&lt;/p&gt;

&lt;figure&gt;
  &lt;img src=&quot;/assets/images/2024-config-interface.png&quot; style=&quot;max-height: 420px&quot; alt=&quot;Enhanced configuration interface showing alert routing and team setup&quot; /&gt;
&lt;/figure&gt;

&lt;ul&gt;
  &lt;li&gt;Redesigning alert config so we visually show how alerts flow from source to routes&lt;/li&gt;
  &lt;li&gt;Using AI to automatically parse alert attributes into Catalog fields, so we wire-up Team, Service, Feature or Product automatically&lt;/li&gt;
  &lt;li&gt;Adding onboarding sign-posts that help customers find their way to the right configuration&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The best part was, after shipping any of these changes, sitting on a call with a customer helping them setup their config and watching as they skipped through the stages, or in some cases had everything automatically wire itself up for them.&lt;/p&gt;

&lt;p&gt;I regularly review our larger customer’s configurations and now, after all this, you can visually see how much cleaner their config has become with the product helping them improve it.&lt;/p&gt;

&lt;p&gt;Really rewarding, and one of the reasons why we’re closing this year having landed some of our biggest On-call sales yet.&lt;/p&gt;

&lt;h2 id=&quot;ai-forever&quot;&gt;AI (forever)&lt;/h2&gt;

&lt;p&gt;If you’d asked me in January what my focus would be this year, AI wouldn’t have even made the list. And yet here I am, having spent the last quarter hitting my head against LLMs and building a foundation for what could be our most exciting product yet.&lt;/p&gt;

&lt;p&gt;Quite clearly AI changes the scene: auto-generating incident summaries is by far the most widely adopted of the features we built last year, and often the one people quote as the most useful. But there’s so much more that is possible with modern AI tools that can totally change incident response.&lt;/p&gt;

&lt;p&gt;That’s why I was asked to help setup a team whose focus would be ambitious, step-changes we could make to the product with AI. Initially I was helping build abstractions, which meant: building eval frameworks that could reliably test prompt behaviour, creating debugging tools that could introspect multi-step AI interactions, and developing architectural patterns like our map-reduce shortlister that efficiently searches data using AI models.&lt;/p&gt;

&lt;p&gt;But as we started pulling on the thread of AI we began seeing ever more opportunities to totally overhaul our product. It seemed increasingly obvious that someone was going to reimagine incident response with these tools, and we’d love that person to be… well, us.&lt;/p&gt;

&lt;p&gt;So I ended up on the team full time, which meant turning my job into a full time struggle.&lt;/p&gt;

&lt;p&gt;That’s because AI engineering is different. Not only are the tools themselves non-deterministic, but figuring out how to use them effectively is a process with very non-linear progress.&lt;/p&gt;

&lt;p&gt;Some weeks you’ll make breakthrough after breakthrough, and others you’ll spend days wrestling with prompt engineering only to end up exactly where you started. It’s a humbling experience, especially for engineers used to deterministic systems. Even – and in some cases especially – our most experienced and productive engineers hated it, and we had to build some resilience to that.&lt;/p&gt;

&lt;p&gt;We now have a roadmap, though, and unlike On-call we’re talking more publicly about what we’re building. We even have a beautiful homepage at &lt;a href=&quot;https://incident.io/ai&quot;&gt;incident.io/ai&lt;/a&gt;!&lt;/p&gt;

&lt;p&gt;That roadmap breaks into three initiatives:&lt;/p&gt;

&lt;h3 id=&quot;scribe-launched&quot;&gt;Scribe (launched)&lt;/h3&gt;

&lt;figure&gt;
  &lt;img src=&quot;/assets/images/2024-scribe-interface.png&quot; style=&quot;max-height: 420px; margin-bottom: 1rem;&quot; alt=&quot;Scribe interface showing AI-generated meeting notes and action items&quot; /&gt;
&lt;/figure&gt;

&lt;p&gt;Scribe joins incident calls for you – Zoom, GMeet, whatever – and takes notes, then processes them into key moments and actions that get relayed back to the incident channel.&lt;/p&gt;

&lt;p&gt;This is so obviously a perfect use case for AI, with it freeing capacity for humans to do the real work (responding to the incident) while helping them do their job better, by communicating their work more effectively to their colleagues.&lt;/p&gt;

&lt;p&gt;While I didn’t work on Scribe myself, it’s built on the AI primitives I’d helped build back in October such as our new prompt framework and eval test suite. It was a good example of how effective those abstractions have been, as it allowed the team to build the AI parts of Scribe very quickly, and even people who hadn’t worked with AI before felt confident in the outcome.&lt;/p&gt;

&lt;h3 id=&quot;chat-early-access&quot;&gt;Chat (early access)&lt;/h3&gt;

&lt;figure&gt;
  &lt;img src=&quot;/assets/images/2024-chat-interface.png&quot; style=&quot;max-height: 420px; margin-bottom: 1rem;&quot; alt=&quot;Chat interface demonstrating natural language interaction with incident.io&quot; /&gt;
&lt;/figure&gt;

&lt;p&gt;The incident.io team no longer use slash commands to run their incidents. Instead, we chat to our bot and just tell it what we need:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;“@incident.io draft me an update including why Postgres is checkpointing so regularly”&lt;/li&gt;
  &lt;li&gt;“@incident.io decline this incident and create a follow-up”&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I am biased, but this is the best bot I’m yet to interact with, and people are finding novel use cases for it on the daily.&lt;/p&gt;

&lt;p&gt;We have a #copilot-pulse channel that pings every time someone interacts with the bot, along with a grade we assign to each interaction that we monitor for quality.&lt;/p&gt;

&lt;p&gt;It already does a huge range of things, but some of my favourite interactions are people just asking it for help with the incident. “Fix my query” or “what does that actually mean” where it saves them loads of time to get an answer immediately, one that has all the context of the incident.&lt;/p&gt;

&lt;figure&gt;
  &lt;img src=&quot;/assets/images/2024-copilot-examples.png&quot; style=&quot;max-height: 420px; margin-bottom: 1rem;&quot; alt=&quot;Examples of AI copilot helping with incident management tasks&quot; /&gt;
&lt;/figure&gt;

&lt;h3 id=&quot;investigation-coming-soon&quot;&gt;Investigation (coming soon)&lt;/h3&gt;

&lt;figure&gt;
  &lt;img src=&quot;/assets/images/2024-investigation-preview.png&quot; style=&quot;max-height: 420px; margin-bottom: 1rem;&quot; alt=&quot;Preview of the Investigation system showing automated incident analysis&quot; /&gt;
&lt;/figure&gt;

&lt;p&gt;But the really exciting (and challenging) work is in our Investigations system. We’re pushing the boundaries of what’s practical with current AI technology, aiming to have the system automatically check dashboards, read logs, and build a coherent picture of what’s happening before responders even arrive. The goal is ambitious: turn hours-long debugging sessions into minutes by having AI do the heavy lifting.&lt;/p&gt;

&lt;p&gt;Personally, this thing has been a challenge. I struggle to sleep when I have an unsolved problem and I’ve gone weeks having no idea how to make this stuff work, where I’ve been dreaming every night of LLM prompts and all sorts. It’s been quite a nightmarish struggle, honestly.&lt;/p&gt;

&lt;p&gt;But when it works – when you see the bot correctly identify the root cause of an incident and suggest the exact right action – it feels like we’re glimpsing the future of incident response.&lt;/p&gt;

&lt;p&gt;This is definitely turning into “the thing” for 2025. The foundational work we’ve done this year, while often invisible, has set us up to deliver some pretty incredible capabilities to our customers. It’s not just about making existing workflows slightly better – it’s about fundamentally transforming how teams handle incidents.&lt;/p&gt;

&lt;h2 id=&quot;everything-else&quot;&gt;Everything else&lt;/h2&gt;

&lt;p&gt;I’m getting dangerously close to needing to leave for NYE, so I’ll keep this short.&lt;/p&gt;

&lt;h3 id=&quot;ups-and-downs&quot;&gt;Ups and downs&lt;/h3&gt;

&lt;p&gt;Looking at what we’ve achieved in 2024 is incredible. Even just the success of On-call is massive, ignoring everything else we’ve done.&lt;/p&gt;

&lt;p&gt;It’s been really tough, though. We’re in great shape now but things weren’t as rosy at the start of the year, leading to some hard decisions and parting with some of the team in June.&lt;/p&gt;

&lt;p&gt;I’d never been close to layoffs before and definitely not in a team as close as ours. This sucked for everyone, a totally shitty experience that leaves some nasty scars for everyone it touches, even when handled well (which, in my opinion, it was).&lt;/p&gt;

&lt;p&gt;At this point it’s been 3.5 years since I joined incident, having given myself two days (otherwise known as a weekend) between a 6 year stint at GoCardless that was similarly intense. While I’m focused on the next few months, I want to carve out a proper break for myself next year to reset a bit, as it’s been all consuming for a while now.&lt;/p&gt;

&lt;p&gt;Just start-ups, I guess!&lt;/p&gt;

&lt;h3 id=&quot;talks-and-conferences&quot;&gt;Talks and conferences&lt;/h3&gt;

&lt;figure&gt;
  &lt;img src=&quot;/assets/images/2024-conference-slides.png&quot; style=&quot;max-height: 420px; margin-bottom: 1rem;&quot; alt=&quot;Collection of presentation slides from various conference talks&quot; /&gt;
&lt;/figure&gt;

&lt;p&gt;On a positive note I spoke a lot more this year, and travelled a bunch to do it. Some highlights were:&lt;/p&gt;

&lt;h4 id=&quot;architecture-at-incidentio-netflix&quot;&gt;Architecture at incident.io (Netflix)&lt;/h4&gt;

&lt;p&gt;I have a huge amount of respect for Netflix engineering which has only been strengthened by my experience working with them as a customer.&lt;/p&gt;

&lt;p&gt;It was a big moment for me when I was invited to give a presentation on incident.io’s architecture in our of the internal engineering technical deep-dives.&lt;/p&gt;

&lt;p&gt;Over one hundred engineers came to listen to how we built our little incident app, with subjects ranging from Postgres TOAST tables to load testing and modular monoliths. Getting grilled by Principal engineers at one of &lt;em&gt;the&lt;/em&gt; infrastructure giants was a massive highlight for me!&lt;/p&gt;

&lt;h4 id=&quot;starting-from-nothing-staffplus-new-york&quot;&gt;Starting from nothing, StaffPlus, New York&lt;/h4&gt;

&lt;p&gt;LeadDev and StaffPlus are really special conferences to me, having attended them and listened closely in my early career and having always appreciated their work.&lt;/p&gt;

&lt;p&gt;New York is a pretty insane flagship location to get invited to talk, but even cooler if you’re talking about how to “start from nothing” with big company initiatives, and pulling the covers back on the experience of a Staff individual contributor in those situations.&lt;/p&gt;

&lt;p&gt;I’d also never been to New York, and got to visit a bunch of friends from our office while there.&lt;/p&gt;

&lt;p&gt;You can watch the recording here: &lt;a href=&quot;https://www.youtube.com/watch?v=Ui5e7-3i-ZQ&quot;&gt;“Starting from nothing”&lt;/a&gt;&lt;/p&gt;

&lt;h4 id=&quot;incidents-are-a-whole-organization-game-sev0-san-francisco&quot;&gt;Incidents are a whole organization game, Sev0, San Francisco&lt;/h4&gt;

&lt;p&gt;We ran our own conference this year called “Sev0” which was &lt;strong&gt;so much fun&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Firstly, if you’re a company like us with a bunch of top tech logos, SF is where you go to meet your customers. Having dinner with the speakers beforehand was quietly mindblowing for me, when you get an insight into these tech behemoths and how they do things through some of their most senior staff.&lt;/p&gt;

&lt;p&gt;I delivered a talk on leveraging organisational context during incidents, a topic particularly close to my heart after fighting tooth and nail to build our Catalog product as a fully flexible schema’d store, all to power use cases like syncing your CRM.&lt;/p&gt;

&lt;p&gt;The venue was amazing, the people totally awesome, 10/10 would recommend.&lt;/p&gt;

&lt;p&gt;You can see the talk and transcript at &lt;a href=&quot;https://www.sev0.com/sessions/organization-aware-incident-response&quot;&gt;“Organization-aware incident response”&lt;/a&gt;.&lt;/p&gt;

&lt;h2 id=&quot;wrapping-up&quot;&gt;Wrapping up&lt;/h2&gt;

&lt;p&gt;Looking back, this has been a year of massive change – both planned and unexpected.&lt;/p&gt;

&lt;p&gt;We started with the intensity of launching On-call, a product that exceeded even our ambitious reliability goals and has grown to be about as big as incident.io was at 2.5 years. Then came the harder moments in summer that tested our resilience as a team, and eventually dropping myself headfirst into a deep sea of AI.&lt;/p&gt;

&lt;p&gt;It’s been really hard, even harder than the previous years and what I’d expected it to be!&lt;/p&gt;

&lt;p&gt;Christmas has been a time of reflection for me and I’ve processed a lot, leaving me feeling like I fit a whole load of life experience into the last year.&lt;/p&gt;

&lt;p&gt;I’m again reminding myself to be appreciative of the journey, and that the experience I’m having now will be the one I miss in a couple of years, and not to waste any moment of it.&lt;/p&gt;

&lt;p&gt;So not making the same mistake again: next year is going to be harder again. I will break myself several times over before fully cracking these AI products, I will repeatedly feel hopeless and like I’m not able to meet the challenge, and there will be curveballs I don’t expect which totally throw me.&lt;/p&gt;

&lt;p&gt;If we’ve achieved as much at the end of 2025 as we did this year, though, it’ll have been worth it.&lt;/p&gt;

</description>
        <pubDate>Tue, 31 Dec 2024 12:00:00 +0000</pubDate>
      </item>
    
      <item>
        <title>When Game Days go wrong</title>
        <link>/game-days-go-wrong/</link>
        <guid isPermaLink="true">/game-days-go-wrong/</guid>
        <description>&lt;p&gt;It was the week before pandemic lockdowns began.&lt;/p&gt;

&lt;p&gt;Like many companies, we were thinking about what a fully remote workforce might
mean for us. In an attempt to get ahead of things, we scheduled a &lt;a href=&quot;https://incident.io/blog/game-day&quot;&gt;‘Game
Day’&lt;/a&gt; to test our work-from-home incident response capabilities. You
know, just in case we’d need to abandon the office (spoiler: we would).&lt;/p&gt;

&lt;p&gt;The timing was perfect. We had several new team members and others who were
almost ready to join the on-call rotation but needed a confidence boost. Our
goal was simple: familiarise people with our systems and processes, deliberately
steering away from stress testing the infrastructure itself.&lt;/p&gt;

&lt;p&gt;Focusing on how we’d respond remotely was the point of this, so we planned to
break things in obvious ways and watch how the incident response unfolded.&lt;/p&gt;

&lt;p&gt;As the designated villain for the day, I had a straightforward plan:&lt;/p&gt;
&lt;ol&gt;
  &lt;li&gt;Detach a disk from our Postgres VM (running in a three-node cluster using
&lt;a href=&quot;https://github.com/sorintlab/stolon&quot;&gt;Stolon&lt;/a&gt; and &lt;a href=&quot;https://etcd.io/&quot;&gt;Etcd&lt;/a&gt;)&lt;/li&gt;
  &lt;li&gt;Fill up an &lt;a href=&quot;https://www.elastic.co/elasticsearch&quot;&gt;Elasticsearch&lt;/a&gt; disk with junk (running in Kubernetes)&lt;/li&gt;
  &lt;li&gt;Create tons of consoles to exhaust cluster capacity&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Pretty standard stuff. In fact, it sounded like it might even be fun.&lt;/p&gt;

&lt;h2 id=&quot;all-according-to-plan&quot;&gt;All according to plan&lt;/h2&gt;

&lt;p&gt;For a while it was, with the Game Day starting smoothly.&lt;/p&gt;

&lt;p&gt;When Postgres died and recovered, the team opened an incident and handled it
well. As they were wrapping up the Postgres recovery, I started filling up the
Elasticsearch disk, hoping to nudge the fairly large (~30TB) cluster into a
degraded state.&lt;/p&gt;

&lt;p&gt;Alerts began firing, and the team efficiently split into two groups to handle
both issues. Perfect! This is exactly the type of response we were after,
proving we could handle ramping pressure even while remote.&lt;/p&gt;

&lt;p&gt;It was time, then, to make things more interesting. So I started creating
a load of consoles in the Kubernetes cluster.&lt;/p&gt;

&lt;p&gt;The console creation was meant to gradually fill the Kubernetes cluster with
batch jobs, exhausting our staging clusters capacity. This should have been safe
– we had &lt;a href=&quot;https://kubernetes.io/docs/concepts/scheduling-eviction/pod-priority-preemption/&quot;&gt;pod priorities&lt;/a&gt; ensuring staging workloads were
assigned much lower priorities than production ones. No matter how many staging
consoles were created in the cluster there should be no impact on production
workloads, as Kubernetes will evict staging over production workloads first.&lt;/p&gt;

&lt;p&gt;So when someone from support raised the alarm that the production app was down,
I was more than a little confused.&lt;/p&gt;

&lt;h2 id=&quot;going-sideways&quot;&gt;Going sideways&lt;/h2&gt;

&lt;p&gt;It was at this point that everything started going sideways.&lt;/p&gt;

&lt;p&gt;Alerts were firing everywhere: Postgres alerts, HAProxy reporting no backends,
blackbox alerts confirming our API was unresponsive, and – most worryingly –
Etcd cluster out of quorum. That last one was particularly problematic because
Stolon relies on Etcd for leadership election. No Etcd quorum means no database
connections, which means no API requests, no batch jobs… no nothing.&lt;/p&gt;

&lt;p&gt;The root cause? A perfect storm of “tomorrow’s problems” catching up with us.&lt;/p&gt;

&lt;p&gt;At the time, we were running everything (production and staging) in a single
large Kubernetes cluster, separating environments and cluster infrastructure
using namespaces. We used pod priorities to ensure workloads would arrange
themselves correctly – cluster-level infrastructure above production, production
above staging, and so on.&lt;/p&gt;

&lt;p&gt;But we’d made a critical mistake, one that would come back to haunt us in the
worst possible way. It all traced back to when we initially rolled out pod
priorities…&lt;/p&gt;

&lt;h2 id=&quot;the-mistake&quot;&gt;The mistake&lt;/h2&gt;

&lt;p&gt;When we initially rolled out pod priorities, we thought we’d be physically
separating the cluster within a month. To avoid doing substantial operational
work on something that would be rebuilt “soon,” we’d skipped applying pod
priorities to some sensitive deployments, including Etcd.&lt;/p&gt;

&lt;p&gt;Here’s where things get interesting: in Kubernetes, pod priorities work through
a numeric class system. We had set this up pretty sensibly, with system
workloads at priority 300, production at 200, and staging at 100. The idea is
simple – when the cluster needs to make space, it evicts pods with lower
priorities first.&lt;/p&gt;

&lt;p&gt;But there’s a subtle gotcha that bit us hard. Before you introduce any priority
classes to your cluster, every pod essentially has equal priority. They’re all
implicitly set to 0, but it doesn’t matter because they’re all the same. The
moment you add even a single priority class, though, that changes completely –
now any pod without an explicit priority gets assigned 0, making it lower
priority than everything else.&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;There exists a ‘globalDefault’ property that can be set for a priority class
which means any pod without a class will get assigned that priority. We didn’t
have this set in our cluster, though I’d advise people set this if they’re
using pod priorities.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;By not setting a priority on our Etcd pods while having priorities everywhere
else, we’d accidentally marked our most critical infrastructure component as the
first thing to be evicted under pressure. When I came along and began filling
the cluster with staging consoles (a job I admit to doing with enthusiasm), we
started evicting Etcd pods. By the time alerts fired, we’d evicted enough pods
to lose quorum, having eaten well into our &lt;a href=&quot;https://kubernetes.io/docs/concepts/workloads/pods/disruptions/&quot;&gt;pod disruption
budgets&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;This prevented the Etcd pods from successfully rejoining the cluster when
restarted. We were, in technical terms, pretty screwed.&lt;/p&gt;

&lt;h2 id=&quot;righting-the-ship&quot;&gt;Righting the ship&lt;/h2&gt;

&lt;p&gt;The immediate focus was restoring database access. We deactivated the Stolon
Postgres cluster manager and booted Postgres manually, relying on muscle memory
for the right commands. We bypassed both PgBouncer and the Stolon fencing proxy,
pointing applications directly at Postgres. This brought things back up, albeit
in an unmanaged state.&lt;/p&gt;

&lt;p&gt;After taking a moment to contemplate our life choices, we formulated a plan
using Etcd’s disaster recovery procedure. It took about six hours to bring
everything back and perform a Stolon failover. A good chunk of that time was
spent running &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;pg_basebackup&lt;/code&gt; to restore another node – our database was about
6TB at this point.&lt;/p&gt;

&lt;p&gt;It was a long day and not at all what we’d had planned. As drills go though,
this was probably the most intense way we could ever have tested our production
readiness in a remote context, even if it cost us more than we’d anticipated.&lt;/p&gt;

&lt;h2 id=&quot;infrastructure-debt-doesnt-age-well&quot;&gt;Infrastructure debt doesn’t age well&lt;/h2&gt;

&lt;p&gt;There’s a pattern in infrastructure work that’s worth recognising: we often
defer work because we think a better solution is coming “soon.” But “soon” has a
way of stretching into weeks or months, and the work we carefully documented and
planned to revisit gets buried under newer, more urgent tasks.&lt;/p&gt;

&lt;p&gt;Over time, this creates hidden trapdoors in our infrastructure. When we leave
configuration half-applied or work partially complete, we’re not just creating
technical debt – we’re fragmenting our team’s mental model of the system. Every
“we’ll fix it later” adds another dimension of complexity, often temporal, that
someone needs to keep in mind. Eventually, someone (in this case, me) will
forget about that complexity and fall right through the trapdoor.&lt;/p&gt;

&lt;h2 id=&quot;the-real-test-isnt-the-outage&quot;&gt;The real test isn’t the outage&lt;/h2&gt;

&lt;p&gt;Of everything I took from this incident, though, it was how our organisation
responded that I found most interesting.&lt;/p&gt;

&lt;p&gt;In preparing for an important change (remote work during COVID), while trying to
do the right thing for the company (training new incident responders), we
accidentally caused a significant outage. It would have been easy to say “well,
we won’t be doing Game Days again!” or worse, fire the person (me) who pressed
the buttons and wash your hands of their incomptence (ouch).&lt;/p&gt;

&lt;p&gt;Instead, my boss, our CTO, caught up with me afterward to say “thank god we
found this while the whole team were on a call ready to respond!”. It’s true,
this would have been far worse had it happened out of hours, but you bet he’d
got a lot of heat for this outage. It would have been easy to push blame to me,
but he didn’t, and in that moment he created the essential conditions of a
‘blameless’ incident culture. One where an outage like this can balance its cost
with the lessons learned from it.&lt;/p&gt;

&lt;p&gt;Sometimes the most valuable lessons come from the most uncomfortable situations.
The trick is making sure your team feels safe enough to learn from them.&lt;/p&gt;
</description>
        <pubDate>Sun, 08 Dec 2024 12:00:00 +0000</pubDate>
      </item>
    
      <item>
        <title>How we page ourselves if incident.io goes down</title>
        <link>/who-watches-the-watchers/</link>
        <guid isPermaLink="true">/who-watches-the-watchers/</guid>
        <description>
</description>
        <pubDate>Wed, 27 Nov 2024 12:00:00 +0000</pubDate>
      </item>
    
      <item>
        <title>Learn one thing at a time</title>
        <link>/learn-one-thing/</link>
        <guid isPermaLink="true">/learn-one-thing/</guid>
        <description>&lt;p&gt;Of the mental models and rules I use in my life, by far the most useful is to
learn only one thing at any given time.&lt;/p&gt;

&lt;p&gt;If you get it right, you:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Ensure work is the right balance of challenging for it to be enjoyable.&lt;/li&gt;
  &lt;li&gt;Avoid stalling due to an overload of uncertainty.&lt;/li&gt;
  &lt;li&gt;Learn better, and faster.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This rule works for individuals but is also useful for coaching others, debugging team performance, or helping people grow.&lt;/p&gt;

&lt;h2 id=&quot;as-an-individual&quot;&gt;As an individual&lt;/h2&gt;

&lt;p&gt;One of the reasons people find learning new programming languages hard is because they don’t follow this rule.&lt;/p&gt;

&lt;p&gt;Take learning Rust, for example.&lt;/p&gt;

&lt;p&gt;Excited to learn the language and get building, what could possibly be a better learning side-project than implementing the Raft algorithm from the whitepaper?&lt;/p&gt;

&lt;p&gt;Well, in order to implement this, you must:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Have a strong theoretical understanding of the algorithm.&lt;/li&gt;
  &lt;li&gt;Know how to structure the algorithm in code, which often looks different than it does in a paper.&lt;/li&gt;
  &lt;li&gt;Implement the technical nuances of the algorithm (e.g. sending packets, etc).&lt;/li&gt;
  &lt;li&gt;Learn Rust semantics and how to work with the language (e.g. Borrow Checker, type-system, etc).&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Each of these problems are individually challenging. Solving them all together is a recipe for failure, collectively representing so much uncertainty that–if you don’t break it into pieces and solve them independently–you may be unable to progress at all.&lt;/p&gt;

&lt;p&gt;If the goal is actually to learn Rust, we’ll do much better to try implementing a simple program first to learn the operational semantics of the language. Then a program with more structure, helping learn types and modules. Finally, once you’ve really studied the paper, you might try implementing Raft.&lt;/p&gt;

&lt;p&gt;A few situations and how this rule applies:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Never written Rust before?&lt;/strong&gt; Start simple first, write a basic program with
no structure.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Understand Rust but haven’t built a networked app yet?&lt;/strong&gt; Practice networking
in a toy program first.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Already implemented Raft in another language?&lt;/strong&gt; Great, you can probably get
going as the only new thing you’re learning is the language.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The last point is interesting: this rule isn’t always about limiting your ambition, it’s about helping you identify if you should break down a problem, or solve it wholesale. It’s about ensuring you can make consistent, incremental progress more than anything else, as–over time–the only thing that matters for solving hard problems is whether you can sustain your energy to persist.&lt;/p&gt;

&lt;h2 id=&quot;focusing-your-learning&quot;&gt;Focusing your learning&lt;/h2&gt;

&lt;p&gt;You might be working to build a thing, or you might be trying to learn something.&lt;/p&gt;

&lt;p&gt;Doing both at once is suboptimal, though often unavoidable when your goal is to ship a thing. If your goal is learning, though, you can likely focus exclusively on that and be more effective as a result.&lt;/p&gt;

&lt;p&gt;I found learning how to write Go code difficult. A beginner level of proficiency came quickly but it took me a long time to learn the idioms and find patterns that weren’t a rephrasing from another language that didn’t quite fit.&lt;/p&gt;

&lt;p&gt;To break out of this, I took a codebase I was familiar with and rewrote it many times over, incrementally improving the quality of the code. I’d spent so much time working on it that I knew the problem space really well, letting me focus entirely on the code itself.&lt;/p&gt;

&lt;p&gt;Conveniently, the codebase is open-source: &lt;a href=&quot;https://github.com/gocardless/pgsql-cluster-manager&quot;&gt;gocardless/pgsql-cluster-manager&lt;/a&gt;, an HA Postgres cluster supervisor that manages a proxy to route incoming Postgres connections to whichever Postgres node is the current primary.&lt;/p&gt;

&lt;p&gt;This project was the first Go codebase I’d ever built myself. The original code was functional but messy, leading me to &lt;a href=&quot;https://github.com/gocardless/pgsql-cluster-manager/pull/34&quot;&gt;rewrite it almost from scratch&lt;/a&gt; in an attempt to fix some of my annoyances with the initial version. When we deprecated Corosync and Pacemaker (which pgsql relied on) we rewrote the project into &lt;a href=&quot;https://github.com/gocardless/stolon-pgbouncer&quot;&gt;gocardless/stolon-pgbouncer&lt;/a&gt;, now the third time I’d tried solving this problem, cementiong the lessons from previous attempts.&lt;/p&gt;

&lt;p&gt;Eventually, I took everything I’d learned and applied it building
&lt;a href=&quot;https://github.com/lawrencejones/pgsink&quot;&gt;pgsink&lt;/a&gt;, a Postgres change-capture tool that I used as a sandbox to
practice improving my Go code for several years.&lt;/p&gt;

&lt;p&gt;Rehashing the same problem gave me the headspace to really learn. There’s no
way I’d have improved as much over three different projects.&lt;/p&gt;

&lt;h2 id=&quot;applied-to-teams&quot;&gt;Applied to teams&lt;/h2&gt;

&lt;p&gt;If you lead technical teams, you should be incorporating this rule on the daily.&lt;/p&gt;

&lt;p&gt;When onboarding a new joiner or helping develop existing members, you want to help people pick projects that meet this criteria.&lt;/p&gt;

&lt;p&gt;The challenges found in a team context are usually:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Product, where you need to know an existing product well in order to deliver.&lt;/li&gt;
  &lt;li&gt;Business, when the work requires navigating the organisation, e.g. project with a lot of stakeholders.&lt;/li&gt;
  &lt;li&gt;Technical, if the work requires technical proficiency in a tool or system, e.g. building a feature that needs to be scalable.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Ideal staffing configurations are:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Everyone is comfortable across all areas&lt;/strong&gt; ⇒ unlikely, and often neglecting an opportunity to develop someone.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;One person on the team is new to one of the challenges&lt;/strong&gt; ⇒ ideal sweet spot, where the team can invest time supporting that person and upskilling them while making good progress.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;No mutual gaps&lt;/strong&gt; ⇒ collectively, the team have expertise and experience in all the challenges this project presents, even if some are new to some on the team.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Not always possible, but these are the conditions where individual growth can be afforded without it impacting delivery. If you can arrange projects to adhere to this, you should be able to grow your team sustainably while allowing you to ship consistently.&lt;/p&gt;

</description>
        <pubDate>Fri, 26 Apr 2024 12:00:00 +0000</pubDate>
      </item>
    
      <item>
        <title>Looking back at 2023</title>
        <link>/2023/</link>
        <guid isPermaLink="true">/2023/</guid>
        <description>&lt;p&gt;Last year I wrote &lt;a href=&quot;/2022/&quot;&gt;“Looking back at 2022”&lt;/a&gt; and found it valuable to
reflect and celebrate a year of work, even if just as a reminder of the things
that happened before going into the next.&lt;/p&gt;

&lt;p&gt;So with another year having passed, time to try again! This time for my second
full year working at incident.io.&lt;/p&gt;

&lt;p&gt;To contextualise the year, some milestones (&lt;a href=&quot;https://incident.io/blog/reflecting-on-a-momentous-2023&quot;&gt;see company post&lt;/a&gt;) are:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;34 to 77 employees&lt;/li&gt;
  &lt;li&gt;Opened our first New York office, Stephen moving out to lead it&lt;/li&gt;
  &lt;li&gt;Shipped two new products: Status Pages and Catalog&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I always start these posts by listing everything that comes to mind over the
last year, finding common themes, then deciding on a structure to best
communicate them.&lt;/p&gt;

&lt;p&gt;This year we’ll go with:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;a href=&quot;#the-work&quot;&gt;The work&lt;/a&gt;
    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#status-pages-jan-mar&quot;&gt;Status Pages (Jan-Mar)&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#catalog-apr-july&quot;&gt;Catalog (Apr-July)&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#redacted-july-dec&quot;&gt;On-call &lt;del&gt;REDACTED&lt;/del&gt; (July-Dec)&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#wins&quot;&gt;Wins&lt;/a&gt;
    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#internships&quot;&gt;Internships&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#migration-from-heroku-to-gcp&quot;&gt;Migration from Heroku to GCP&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#engineering-nits&quot;&gt;Engineering nits&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#observations&quot;&gt;Observations&lt;/a&gt;
    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;#ai&quot;&gt;AI&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#my-role&quot;&gt;My role&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;#writing&quot;&gt;Writing&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#brace-for-impact&quot;&gt;Brace for impact&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2 id=&quot;the-work&quot;&gt;The work&lt;/h2&gt;

&lt;p&gt;I’ve spent the last year working across three distinct teams, each working on
different (and totally greenfield) products.&lt;/p&gt;

&lt;h3 id=&quot;status-pages-jan-mar&quot;&gt;Status Pages (Jan-Mar)&lt;/h3&gt;

&lt;p&gt;The year began with us wanting to launch incident.io’s first ‘new’ product,
&lt;a href=&quot;https://incident.io/status-pages&quot;&gt;Status Pages&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;In my last post I said:&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;I’ll be starting 2023 by supporting the creation of a new team, the first
we’ll be creating out of the general engineering pool.&lt;/p&gt;

  &lt;p&gt;In a past life, I’ve found success in joining a team and helping them
establish themselves, building relationships that last so I can support them
once I move away.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;That team was the Status Pages team, and my gameplan for a project like this is
joining the team properly for 6-8 weeks, with an aim of:&lt;/p&gt;

&lt;ol&gt;
  &lt;li&gt;Establish a baseline for ways of working (2 weeks)&lt;/li&gt;
  &lt;li&gt;Grind to a meaningful goal (2 weeks, repeat 1-2x)&lt;/li&gt;
  &lt;li&gt;Repeat (2) but with an eye on succession (2 weeks)&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;At least, this was how I framed it when planning with Pete…&lt;/p&gt;

&lt;p&gt;…and it – broadly – worked, with me joining a team of Martha (TL), Megan (PM),
Isaac, Dimitra (eng) and James (designer) to build the MVP of what has
eventually become our industry-leading status page offering.&lt;/p&gt;

&lt;figure&gt;
  &lt;img src=&quot;/assets/images/2023-status-pages.webp&quot; style=&quot;max-height: 440px&quot; alt=&quot;Status Pages screenshot&quot; /&gt;
&lt;/figure&gt;

&lt;p&gt;As expected, the first step was figuring out what on earth we would build. It’s
easy to assume you ‘know’ what the project will be before you begin but that’s
always never the case: what even is a status page, really?&lt;/p&gt;

&lt;p&gt;Obviously, you need a page to display the status of your site, but:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Do we run health checks against customer sites?&lt;/li&gt;
  &lt;li&gt;Are we planning on integrating with monitoring tools like Datadog to power
uptime charts?&lt;/li&gt;
  &lt;li&gt;Will our pages be authenticated?&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This was the most difficult part of my time in the team, mostly because having
started work on January 1st, there were several key stakeholders out-of-office.&lt;/p&gt;

&lt;p&gt;We had assumed a status page was so ‘obvious’ that the team could get on with
planning the product without too much outside guidance, but it happens that
commercial goals significantly impact what you build in this space (are you
building for brand presence, existing customer experience, or revenue
generation?).&lt;/p&gt;

&lt;p&gt;This caused us to stall, which felt–to the team–like a false start. I’ll be keen
to avoid starting projects with similar unresolved questions in future!&lt;/p&gt;

&lt;p&gt;What followed was much smoother, though: &lt;a href=&quot;https://incident.io/blog/how-we-built-status-pages&quot;&gt;learning our way around Next.js
SSR&lt;/a&gt; didn’t take too long, and smart decisions such as
using Vercel for hosting meant we got to an MVP very quickly. Our product teams
can be extremely productive when given space to execute and a clear goal; after
the initial ambiguity was cleared we went from an MVP to a feature-full and
polished page in just a couple of months.&lt;/p&gt;

&lt;p&gt;The team went on to &lt;a href=&quot;https://incident.io/blog/announcing-status-pages&quot;&gt;launch Status Pages in April&lt;/a&gt; with
me having left in March. While I was sad to have left before we’d properly
launched the product, I’ve since been really proud of all the work the team has
produced.&lt;/p&gt;

&lt;p&gt;Especially considering my contribution is intended to be a solid foundation to
build on, I’m particularly happy at how much they innovated in the 8 months
after launch. Our Status Pages are now the most powerful on the market, with
options for internal or customer-specific pages, best-in-class integration with
the rest of our product, authenticated pages and more.&lt;/p&gt;

&lt;p&gt;I’m proud to have been there at the start to help them get going!&lt;/p&gt;

&lt;h3 id=&quot;catalog-apr-july&quot;&gt;Catalog (Apr-July)&lt;/h3&gt;

&lt;p&gt;As I began to look for the next project after Status Pages, it happened that
customers kept asking us for ‘something’ that sounded a lot like a service
catalog.&lt;/p&gt;

&lt;p&gt;This landed on my doorstep, not least because &lt;a href=&quot;/service-registry&quot;&gt;I’ve been thinking about service
catalogs for years&lt;/a&gt; but also because it’s a product feature
I’ve been planning since I joined the company. I’ve already written about my
experience of this project in &lt;a href=&quot;/catalog/&quot;&gt;“Three months building a catalog”&lt;/a&gt;
where I talk about what the work itself looked like, so won’t repeat myself
here.&lt;/p&gt;

&lt;figure&gt;
  &lt;img src=&quot;/assets/images/2023-catalog.png&quot; style=&quot;max-height: 420px&quot; alt=&quot;Catalog&quot; /&gt;
&lt;/figure&gt;

&lt;p&gt;Reflecting on this project from a personal perspective, though, I found the move
from Status Pages straight into catalog to be difficult.&lt;/p&gt;

&lt;p&gt;I’d left a team (Status Pages) that was just hitting its stride, a team I
enjoyed working with, and before the product I’d invested a lot into was
launched. It felt like I’d got off one stop too soon, and going straight back
into the (extreme) ambiguity of catalog discovery, initially solo, was a big
gear shift.&lt;/p&gt;

&lt;p&gt;Other aspects made this project hard, too: holidays and conferences came at
inopportune times, and it happens that building a catalog–at least, the one we
wanted to build–is very technically challenging. Even explaining what you were
building to internal teams was a hurdle!&lt;/p&gt;

&lt;p&gt;So hard work, but we &lt;a href=&quot;https://incident.io/blog/announcing-catalog&quot;&gt;launched Catalog in June&lt;/a&gt; to a massive
amount of customer appreciation and surprisingly high adoption. The feedback we
heard was our product was much more flexible than our competitors, that it felt
great to use, and people were surprised at how many previously impossible or
painful automations it made possible.&lt;/p&gt;

&lt;p&gt;I stuck around until after launch this time, too, so I left with much more
closure than I had Status Pages.&lt;/p&gt;

&lt;h3 id=&quot;on-call-redacted-july-dec&quot;&gt;On-call &lt;del&gt;REDACTED&lt;/del&gt; (July-Dec)&lt;/h3&gt;

&lt;p&gt;After catalog launched, I moved to start a team building our most ambitious
product yet, one that we’re yet to announce or launch.&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;So happy to share this project was building &lt;a href=&quot;https://incident.io/on-call&quot;&gt;incident.io
On-call&lt;/a&gt;!&lt;/p&gt;

  &lt;p&gt;You should absolutely check-out the launch video and keep an eye out for a
load of technical content I’ve been storing up while this project was
under-wraps that I can’t wait to get out in the open.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;This project has required the largest amount of up-front design of any project
I’ve worked on before, the next largest (in my experience) being &lt;a href=&quot;/moving-on-from-gocardless/#gocardless-and-open-banking-dec-2020-july-2021&quot;&gt;adding an
Open-Banking payments scheme to the GoCardless product&lt;/a&gt;, an
undertaking that built into four teams over a 9-month period.&lt;/p&gt;

&lt;p&gt;As an initial team of six (PM, TL, designer, 2x SDE, 1x SRE) the first two weeks
involved about 6 hours a day of whiteboarding and discussions, producing technical
docs to explore different approaches. The process reminded me a lot of Stripe’s
&lt;a href=&quot;https://stripe.com/blog/payment-api-design&quot;&gt;designing a unified payments API&lt;/a&gt;, with us trying to consider every
possible way a customer might want to use this product before we commit to a
design.&lt;/p&gt;

&lt;p&gt;It was exhausting but a load of fun, and you’d often find the team sitting in
odd positions with blank stares after a day of working on it, or producing
increasingly unhinged AI photoshops and meeting notes…&lt;/p&gt;

&lt;figure&gt;
  &lt;img src=&quot;/assets/images/2023-unhinged.png&quot; style=&quot;max-height: 320px; margin-bottom: 20px&quot; alt=&quot;Silly photos of the team&quot; /&gt;
&lt;/figure&gt;

&lt;p&gt;After the initial discovery, we got stuck into building.&lt;/p&gt;

&lt;p&gt;This is a big project that we’re going to release in one go, which comes with
all the usual challenges like motivating the team without a regular “we’ve
shipped this!” cadence, or managing the compounding risk of building so much on
top of product that customers haven’t yet used.&lt;/p&gt;

&lt;p&gt;You can manage these problems: we’ve tried hard to find clear milestones and
celebrate hitting them, and we have design partners who are using what we build
and giving early feedback. It’s still harder than a normal 2-weeks-then-release
cycle though, especially in an organisation like ours that’s built around those
faster feedback loops.&lt;/p&gt;

&lt;p&gt;It’s awkward talking in abstract about what we’re building but I will say this
is something we knew we’d build from the moment I’d joined, and I’ve had it in
mind over every project I’ve ever done at incident. If I’ve done my job well,
the new product will fit within the rest of our product suite as if it was
always designed to be there (because in a sense, it was) and it’s been fun to
see which of those anticipatory decisions have paid-off.&lt;/p&gt;

&lt;p&gt;I can’t wait until we’ve launched and I can speak about this publicly, but for
now…&lt;/p&gt;

&lt;p&gt;🤐&lt;/p&gt;

&lt;h2 id=&quot;wins&quot;&gt;Wins&lt;/h2&gt;

&lt;p&gt;There are a number of things I’d consider a ‘win’ from last year. Here are a few
that stood out to me.&lt;/p&gt;

&lt;h3 id=&quot;internships&quot;&gt;Internships&lt;/h3&gt;

&lt;p&gt;It was very last-minute, but in December we decided to work with Imperial (my
old university) to offer three internship placements for the coming summer.&lt;/p&gt;

&lt;p&gt;My part in this process was to create a &lt;a href=&quot;https://github.com/incident-io/internships&quot;&gt;take-home test&lt;/a&gt; that we’d
use to decide who to bring into the on-site interviews. I always find the
process of building these tests fun, and I was especially happy with how this
test introduced students to our space (incident response), having them build an
on-call scheduler.&lt;/p&gt;

&lt;figure&gt;
  &lt;img src=&quot;/assets/images/2023-internships.png&quot; style=&quot;margin-bottom: 20px&quot; alt=&quot;Screenshot of the internship GitHub repo&quot; /&gt;
  &lt;figcaption&gt;
    Taken from our internships repo &lt;a href=&quot;https://github.com/incident-io/internships&quot;&gt;incident-io/internships&lt;/a&gt;
  &lt;/figcaption&gt;
&lt;/figure&gt;

&lt;p&gt;The 20 candidates who passed the take-home came into the office for an
assessment day, interviewing with a number of our product team. We ended the day
extremely impressed with the quality of the candidates, leading to an intense
decision meeting where we had to decide which of the many candidates we wanted
to hire would get one of the three places.&lt;/p&gt;

&lt;p&gt;This process felt really special to me. I wouldn’t be where I am now had I not
done a similar six-month placement at GoCardless, and the idea that some of
these students may one day feel the same about incident.io is a great (but
weird!) moment.&lt;/p&gt;

&lt;h3 id=&quot;migration-from-heroku-to-gcp&quot;&gt;Migration from Heroku to GCP&lt;/h3&gt;

&lt;p&gt;Since I joined incident we had run on Heroku. I’m happy to say that’s no longer
the case, having migrated ourselves entirely into GCP in September, taking less
than 10 minutes of downtime.&lt;/p&gt;

&lt;p&gt;I was around on migration day (Saturday) to assist, but full credit for how
smoothly this went goes to Ben Wheatley, our (at the time) one-man SRE team.&lt;/p&gt;

&lt;figure&gt;
  &lt;img src=&quot;/assets/images/2023-migration.png&quot; style=&quot;margin-bottom: 20px&quot; alt=&quot;Slack messages from the incident channel&quot; /&gt;
  &lt;figcaption&gt;
    Taken from &lt;a href=&quot;https://twitter.com/lawrjones/status/1700525812825427974&quot;&gt;this tweet thread&lt;/a&gt; of the full migration process
  &lt;/figcaption&gt;
&lt;/figure&gt;

&lt;p&gt;Ben had spent the weeks in advance of the migration both building out the GCP
platform and the migration plan into it. I’ve worked with Ben for years and know
how meticulous he is, but I was most impressed with how he worked with the
broader Product Engineering team during this process.&lt;/p&gt;

&lt;p&gt;For each stage of the migration, Ben found volunteers with an interest in
infrastructure to pair with him. Working like this was a great way to build
operational experience before we moved over (our Product Engineers are on-call
and will need this knowledge) but it also helped incorporate an app engineering
perspective, something you can see in the ergonomics of the new tools/processes.&lt;/p&gt;

&lt;p&gt;Not only did the migration go fast and smooth, it also showcased a model of SRE
&amp;lt;&amp;gt; SDE collaboration that is rare in our industry, one I’d like us to remember
and do more of as we grow.&lt;/p&gt;

&lt;h3 id=&quot;engineering-nits&quot;&gt;Engineering nits&lt;/h3&gt;

&lt;p&gt;We try to be pragmatic when it comes to technical investments, accepting that no
code is ever ‘perfect’ and trying to avoid implementing ‘best practices’ without
asking if they make sense for us first.&lt;/p&gt;

&lt;p&gt;It’s easy to join the team and interpret this as “we never make technical
investments” which is a terrible outcome for everyone, especially as that’s
definitely &lt;em&gt;not&lt;/em&gt; our view.&lt;/p&gt;

&lt;p&gt;I believe the opposite: that we’re great at making judicious and impactful
technical investments and we’ve been doing so ever since the company was born.
On the hunch that this work is happening but lacked visibility, I created an
&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;#engineering-nits&lt;/code&gt; Slack channel to improve things.&lt;/p&gt;

&lt;figure&gt;
  &lt;img src=&quot;/assets/images/2023-engineering-nits.jpeg&quot; style=&quot;margin-bottom: 20px&quot; alt=&quot;The #engineering-nits Slack channel&quot; /&gt;
&lt;/figure&gt;

&lt;p&gt;If–as an incident developer–you hit a snag or think “urgh, that was annoying”
when writing code or using tools, this channel is where you should post your
thoughts.&lt;/p&gt;

&lt;p&gt;It’s explicitly not about venting, and is instead about building awareness of
our weaknesses and highlighting the work people are doing to improve or fix
problems alongside normal product delivery.&lt;/p&gt;

&lt;p&gt;We’ve since had 10 engineers contribute 30 ‘nits’ to the channel, where we’ve
found solutions for 13 of them (45%). Every nit comes with a discussion that
shares context and history of the codebase, turning the channel into a great
knowledge-sharing tool as well as a demonstration of the investment we do want
to prioritise and an example of people doing it.&lt;/p&gt;

&lt;p&gt;These nits have ranged from:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Our hot-reloader is flaky and loading stale code (fixed!)&lt;/li&gt;
  &lt;li&gt;Writing ‘deletion protection’ code for the product is difficult (fixed!)&lt;/li&gt;
  &lt;li&gt;Deploys are slow (on-going)&lt;/li&gt;
  &lt;li&gt;Test output for errors is bad (fixed!)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Anyone is free to discuss or tackle the problems in the channel, and we’ve even
started a series of blog posts for people who want to share this type of work
externally (see &lt;a href=&quot;https://incident.io/blog/slack-previews&quot;&gt;Storybook for Slack&lt;/a&gt; and &lt;a href=&quot;https://incident.io/blog/codegen-faster&quot;&gt;Generating code
faster&lt;/a&gt;).&lt;/p&gt;

&lt;p&gt;At 25 engineers and growing, now is the time to start being deliberate about the
culture we want to create. Empowering every developer to own and improve the
codebase is a key part of my ideal culture; #engineering-nits is a small but
promising step in the right direction.&lt;/p&gt;

&lt;h2 id=&quot;observations&quot;&gt;Observations&lt;/h2&gt;

&lt;p&gt;General observations that I’ve taken from the year, both general and personal.&lt;/p&gt;

&lt;h3 id=&quot;ai&quot;&gt;AI&lt;/h3&gt;

&lt;p&gt;I began the year sceptical about AI. Clearly it was becoming an important
tool, but I didn’t know how quickly it would find its way into all software, or
how that would feel.&lt;/p&gt;

&lt;p&gt;After last year’s developments, I now believe AI tools will become a key part of
&lt;em&gt;every&lt;/em&gt; product team’s toolbelt, and teams who don’t take advantage of them will
be leaving a category of delight and product-polish on the table.&lt;/p&gt;

&lt;p&gt;I’ve come to this through several experiences, such as:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;My initial experiments using OpenAI APIs to build toy product features back in
February.&lt;/li&gt;
  &lt;li&gt;Watching how quickly teams at incident adopted these tools, finding new ways
to develop with them, such as incorporating real-time feedback from the
product into their evaluation of the model.&lt;/li&gt;
  &lt;li&gt;Recently using AI for data analysis of &lt;a href=&quot;https://incident.io/blog/festive-macbooks&quot;&gt;developer MacBook build
times&lt;/a&gt; and was blown away at what it could do.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I’m not yet convinced that AI will take over the world, and I don’t believe this
generation of AI tools is going to take our (software engineers) jobs. But I do
think you could review any software product and–with minimal effort–use AI tools
to improve or totally reimagine those UIs, leading to vastly improved customer
experiences.&lt;/p&gt;

&lt;p&gt;Just as the DevOps movement brought production operations into the remit of app
developers, the ubiquity of AI tools and the potential they unlock will force
the average developer to start using them. That’s going to be an interesting
shift, given how few developers have experience working with non-deterministic
data models or similar systems.&lt;/p&gt;

&lt;h3 id=&quot;my-role&quot;&gt;My role&lt;/h3&gt;

&lt;p&gt;Urgh, this one is hard.&lt;/p&gt;

&lt;p&gt;For anyone in similar positions, let me be clear: moving from a Principal/Staff
position at a larger (500+) company into a start-up is going to feel pretty
confusing.&lt;/p&gt;

&lt;p&gt;I’ve had 2.5 years to figure this out but in a company that’s grown this
fast–from me joining as first employee to our now 80+ person team–how you
interpret your role might change every six months, so you don’t get much time to
settle in.&lt;/p&gt;

&lt;p&gt;This year started with the creation of the first separate team (Status Pages)
and was followed quickly by four more. We’ve built each team from a common
leadership structure: Product Manager, Tech Lead, Engineering Manager and (where
we have resource) a Design Lead.&lt;/p&gt;

&lt;p&gt;You need this structure to encourage the right type of inter-lead-and-team
collaboration, but it’s made my job a bit harder: as someone outside that
structure but with a role that requires me to work across teams, I have to try a
bit harder to make sure I’m involved at the right time. I still find my way into
much of what I need to be in and most people know when to pull on me for input,
but I miss the clearer structure I’d known at GoCardless where it was more
officially understood how I might be useful to people.&lt;/p&gt;

&lt;p&gt;On a different note: this year surprised me with how much time I spent actually
building.&lt;/p&gt;

&lt;figure&gt;
  &lt;img src=&quot;/assets/images/2023-contributions.png&quot; style=&quot;margin-bottom: 20px&quot; alt=&quot;GitHub contribution graph for 2023&quot; /&gt;
&lt;/figure&gt;

&lt;p&gt;Most of my time being spent in a team building things has meant a lot of my
impact has come from ensuring the product we’re building has ‘multiplicative
impact’ where each new product feature makes the whole suite stronger, in a
‘greater than the sum of its parts’ sense.&lt;/p&gt;

&lt;p&gt;The best example of this is the Catalog which has become a foundational part of
our product, weaving its way into many other product features. The idea of
putting your organisation’s data into our tool (via the Catalog) is to allow
other features to do things with that data, so it’s unsurprising other features
have begun to build on it, but it’s not just about that.&lt;/p&gt;

&lt;p&gt;Just as important as if other features start using it is making it easy for
teams to do so, providing ‘lego bricks’ through which they can access the
abstraction, and ensuring that if you invest in those ‘bricks’ then all other
features using them can benefit.&lt;/p&gt;

&lt;p&gt;Doing this right would mean Catalog ends up everywhere, which is what we’ve
seen:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;a href=&quot;https://incident.io/changelog/auto-export-follow-ups&quot;&gt;Auto-export follow-ups&lt;/a&gt;
can use Catalog to determine what Jira/Linear Project/Team you export to.&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://incident.io/changelog/introducing-status-page-sub-pages&quot;&gt;Introducing status page sub-pages&lt;/a&gt;
links sub-pages to Catalog data so you can say “create sub-pages for each
Region in the Catalog”.&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://incident.io/changelog/configure-your-debriefs&quot;&gt;Configure your debriefs&lt;/a&gt;
uses the Catalog to determine who to invite to your incident debriefs (e.g.
invite the TL + EM + PM of the Teams affected by this incident).&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;That even ignores much of what we’ve been building for the last 6 months (and is
yet to be released) that is built entirely on top of Catalog.&lt;/p&gt;

&lt;p&gt;The tl;dr is that this year has been about putting my energy into this type of
stewardship, both around the product that we build and the tools that we use to
build it. I expect next year will see me do less of this myself and more of
working with teams to help them think like this themselves, though it’ll depend
a lot on the challenges we face as to where I’m most useful.&lt;/p&gt;

&lt;h3 id=&quot;writing&quot;&gt;Writing&lt;/h3&gt;

&lt;p&gt;Every year I say I’d like to write more, and each year I write less. No doubt
this trend will continue, but I am happy with a few pieces I wrote this year.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://incident.io/blog/monolith&quot;&gt;Keep the monolith, but split the workloads&lt;/a&gt; started a huge
online discussion that kept going for a couple of weeks. This is great as the
post (1) exhibits a lot of ways we think about software at incident.io and (2)
gets us a bit more exposure as a Go shop, which is great for our recruitment
efforts.&lt;/p&gt;

&lt;p&gt;It’s also a topic I have a lot of experience with and one I’d love to speak
about, but am yet to find the right conference for it.&lt;/p&gt;

&lt;p&gt;The other big-ticket post was &lt;a href=&quot;https://incident.io/blog/monolith&quot;&gt;Tracking developer build times to decide if the
M3 MacBook is worth upgrading&lt;/a&gt;. The investigation and process of
writing this post was really enjoyable, and like many of my favourites included a
combination of hacking (building the new hot-reloader), technical deep-dive (Go
compiler performance) and data analysis. It’s a great example of the ‘fun’
someone might have if they join the incident team.&lt;/p&gt;

&lt;p&gt;Personal blog posts are where I get a bit sad: this died a death this year,
mostly because I was spending all my efforts building product. There were a few
that landed well, though:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;a href=&quot;/catalog/&quot;&gt;Three months building Catalog&lt;/a&gt; (July)&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;/state-machines/&quot;&gt;Use your database to power state machines&lt;/a&gt; (September)&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;/cas/&quot;&gt;Adding concurrency control to HTTP APIs&lt;/a&gt; (October)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Next year I’d love to lean a bit more technical, going deeper on the tools we
use at incident and the strategies we’ve taken to evolve the codebase or improve
reliability. We’ll see if there’s time for that, amongst everything else!&lt;/p&gt;

&lt;h2 id=&quot;brace-for-impact&quot;&gt;Brace for impact&lt;/h2&gt;

&lt;p&gt;That’s it, 2023 is over with.&lt;/p&gt;

&lt;p&gt;While it’s been a hell of a year and I’m proud of everything in this post, I
confess it feels misrepresentative: the majority has been spent building a
product we’re yet to release, so it’s–by necessity–an incomplete picture.&lt;/p&gt;

&lt;p&gt;That’s no bad thing, though! It just means a lot of the work this year has gone
into making 2024 incredible.&lt;/p&gt;

&lt;p&gt;Unsurprisingly, I’m a mix of excited, hopeful, and trepidatious about the
next 12 months. I have no doubt it’ll be the biggest year yet in my incident.io
career, but I’m finding it harder to predict than the previous two. That’s the
nature of us making some big, potentially company-changing bets, but we won’t
know if we’ve hit a home run until they land.&lt;/p&gt;

&lt;p&gt;I know it’ll be a lot of hard work, but I’m confident we’ll make something great
of it. Whatever happens, I’ll be proud to work alongside the amazing team we’ve
built, am excited by all the new people we’ll welcome, and will try my best to
make sure this is a year we can’t forget.&lt;/p&gt;
</description>
        <pubDate>Fri, 29 Dec 2023 12:00:00 +0000</pubDate>
      </item>
    
      <item>
        <title>Tracking developer build times to decide if the M3 MacBook is worth upgrading</title>
        <link>/festive-macbooks/</link>
        <guid isPermaLink="true">/festive-macbooks/</guid>
        <description>
</description>
        <pubDate>Tue, 19 Dec 2023 12:00:00 +0000</pubDate>
      </item>
    
  </channel>
</rss>
