<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Attainable AI Newsletter - Medium]]></title>
        <description><![CDATA[A weekly newsletter and accompanying blogs focused on real world and practical applications of machine learning and data science. - Medium]]></description>
        <link>https://medium.com/attainable-ai?source=rss----63bf0adc2152---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>Attainable AI Newsletter - Medium</title>
            <link>https://medium.com/attainable-ai?source=rss----63bf0adc2152---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 03 Dec 2026 05:10:48 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/attainable-ai" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Tokens are Cheap, Turns are Not]]></title>
            <link>https://medium.com/attainable-ai/tokens-are-cheap-turns-are-not-df564a845a6d?source=rss----63bf0adc2152---4</link>
            <guid isPermaLink="false">https://medium.com/p/df564a845a6d</guid>
            <category><![CDATA[claude]]></category>
            <category><![CDATA[claude-code]]></category>
            <category><![CDATA[plugins]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[Haley Massa]]></dc:creator>
            <pubDate>Fri, 25 Sep 2026 01:36:21 GMT</pubDate>
            <atom:updated>2026-09-25T01:36:21.354Z</atom:updated>
            <content:encoded><![CDATA[<p>I feel like everyone has caught wind of the term <em>tokenomics</em> recently. From customer calls to consultants’ LinkedIn posts, people are becoming more and more aware of AI spend and looking for a better way to quantify it. You can’t price it for teams as a simple per-question price. Instead, we need to think about question complexity and model power. Teams are measuring that complexity by the tokens needed. Makes sense.</p><p>That’s led many cost-wary teams to start building their own token optimizers. Seeing the trend take off, I wanted to dig into one of these examples myself. A few weeks ago, Spotify published a blog post that bounced around Hacker News and Reddit about a Claude Code plugin claiming a 90% cut in tokens. So in this piece, I’m taking you with me as we rebuild it and look under the hood.</p><blockquote>TLDR; Spotify’s token cut is real. With their hook enforced, Claude read 87% fewer lines of big files. But the bill went up 19%, with no measurable change in accuracy. (With the plugin exactly as published, costs rose 8%, too small to separate from chance.) Blocking a read doesn’t remove the need for the information. Claude just takes more turns to get it, and every turn resends the whole conversation.</blockquote><h3>What Spotify Built, and Why</h3><p><strong>The why:</strong> The Spotify team noticed a trend in their Claude Code usage. A huge share of the tokens Claude Code used went toward tasks that didn’t need the frontier-level reasoning power of high-powered LLMs.</p><p>For their use case, Spotify works on a large monorepo. In that repo, most of their questions or work end up falling into:</p><ul><li><strong>Bulk file reads:</strong> loading 700-plus-line files into context just to check a pattern or answer a question about a fraction of it.</li><li><strong>Templated code generation:</strong> writing boilerplate, configs, or scaffolding, where the structure is already known.</li></ul><p>Spotify didn’t want to keep paying frontier prices to carry around the parts of a file nobody asked about.</p><p><strong>The what:</strong> To fix this, Spotify built a more deterministic workflow for these task types. It sends these requests to a smaller, cheaper model (the <em>worker</em>) to process and return the key insights to Claude as context. They chose Gemini 2.5 Flash as the worker: it takes the large file, reads it, and hands back the key context for Claude Code. They published it as a plugin called <em>shunt</em> in their <a href="https://github.com/spotify/portal-ai-plugins/tree/b5ed620c6850f1ea7327b7cd9d0696aae0bf2d89/plugins/shunt">portal-ai-plugins</a> repository.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*pKfskW2kHm9WIkYE.png" /><figcaption>Generated by Claude Code. Representative of Spotify Shunt’s Two Delegation Paths</figcaption></figure><p>This is built with two Claude Code primitives working together:</p><ul><li><strong>Skills</strong> load instructions into context only when a task calls for them.</li><li><strong>Hooks</strong> are a checkpoint before a tool call, able to block or redirect it before the model ever sees the result.</li></ul><p>Spotify built two skills, bulk-reader and code-writer, that load when a request matches one of the two workflows above. They’re really just instructions for how to hand a task off to the cheaper model and what to do with what comes back. The hook is what’s supposed to force the choice: a PreToolUse hook checks the file Claude is about to read against a 350-line threshold. If it’s over, the hook blocks the read and points the model to bulk-reader instead. A skill only helps if the model opens it, and the hook is the enforcer that’s meant to make sure it does.</p><p>The assumption they’re making is that fewer tokens sent to the expensive model means a proportionally smaller bill. That equivalence (a token avoided is a dollar saved) is exactly what the rest of this post tests.</p><h3>Our Experiment</h3><p><em>Does cutting tokens actually cut cost? </em>That became the thesis of this evaluation. But as I started experimenting, I wanted a more holistic evaluation of the workflow the team built. I believe every AI workflow (predictive, generative, or agentic) should be judged on the same evaluation triangle: performance, latency, and cost.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*zcNJ8iai6Wu55eRn.png" /><figcaption>Image generated by Claude Code. My favorite overused description of areas for evaluation: the triangle.</figcaption></figure><p>To get a fair read on all three, I reproduced Spotify’s setup as closely as an outsider reading a blog post can: their repo, their hook, their two workflows, run against the plain Claude Code baseline they’re implicitly comparing themselves to.</p><h3>Experiment Design</h3><p>Every task ran under three setups:</p><ul><li><strong>Stock:</strong> Claude Code with nothing added.</li><li><strong>As shipped:</strong> stock plus Spotify’s plugin, exactly as published. The published hook has an exception: it still lets Claude read a big file if it asks for a specific range of lines, so Claude can page around the block and read the whole file anyway.</li><li><strong>As described:</strong> the same plugin, but with that exception removed, so the hook blocks it the way Spotify’s post describes.</li></ul><p>Both hook setups use a one-turn call to Claude Haiku in place of Spotify’s hosted Gemini model, since I don’t have access to their internal system, only a Claude subscription ;).</p><p><strong>Why Kafka: </strong>Spotify’s code is private, so I needed a public repo that looks like theirs in the one way the hook cares about: lots of files over 350 lines, in a language their benchmark used. There’s a second, less obvious constraint. Stock Claude Code already refuses to read very large files on its own (anything over about 25,000 tokens gets paged), so the test files have to sit between Spotify’s 350-line threshold and Claude Code’s own limit, or the hook never gets a chance to fire.</p><p>Backstage, Spotify’s own open-source project, was the obvious first pick and lost: only 7.5% of its files clear 350 lines, holding 38% of its code. Apache Kafka has 17% of its files over that line, holding 64% of the code. So the test repo is Kafka, pinned to one commit, in Java and Scala.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*gFmKE8aEQL6Rwfv9.png" /><figcaption>Table generated with stats from the experiment; Claude Code generated the format.</figcaption></figure><p>One honest limit: Kafka is a repo the model has seen in training, and Spotify’s code is not. So every session runs offline and sandboxed: no web tools, no network commands, no reading anything outside the checkout, a private empty /tmp folder per session, and a line in the system prompt telling the model to answer from the repository, not memory. That same constraint, Claude Code cut off from the internet, applied to every test.</p><p><strong>Why We Ran It Through Claude: </strong>One interesting thing I found in their code: Spotify’s own benchmark never sends a single request through Claude Code. It just compares the token count of the original file with the token count of Gemini’s summary.</p><p>To test the plugin more thoroughly, this eval runs real Claude Code sessions. Every task runs start to finish in one live, headless (no chat window) claude -p session per task per setup. That’s the real Claude Code model, on the real repo, making its own tool calls, hitting the real hook, and choosing its own next move after a block. That’s how we can see whether the model opens the skills, how it handles the block, what it loads into context, and what all of that costs.</p><p><strong>How it Ran: </strong>So now we have Kafka, and we know we want to run it through Claude. I’m not going to sit and type prompts into my Claude Code window 189 times. Nothing here is interactive: a script starts Claude Code in headless mode with the same files, constraints, and setup for every task.</p><p>This is the actual command, the same for all three setups:</p><blockquote><em>CLAUDE_CODE_ENABLE_TELEMETRY=1 \ OTEL_EXPORTER_OTLP_ENDPOINT=http://127.0.0.1:4318 \ CLAUDE_CODE_PROMPT_CACHE_TTL=5m CLAUDE_CODE_SUBAGENT_PROMPT_CACHE_TTL=5m \ unshare -m bash -c &#39;mount -t tmpfs none /tmp &amp;&amp; exec &quot;$@&quot;&#39; _ \ claude -p &quot;$PROMPT&quot; \ --model claude-sonnet-5 \ --permission-mode acceptEdits \ --settings &quot;$HARNESS/settings.json&quot; \ --append-system-prompt &quot;Answer from the repository checked out in the \ working directory. Do not rely on memory of the upstream project or on \ the internet.&quot; \ --max-turns 40 \ --output-format json</em></blockquote><p>The cache setting at the top makes sure every setup pays the same rate to store a file in the prompt cache (more on caching below), so Claude Code can’t quietly switch billing tiers mid-run and skew the comparison.</p><ul><li>--model: every setup runs on the same baseline Sonnet model.</li><li>--settings: loads the offline sandbox.</li><li>unshare: gives each session its own empty/tmp, so nothing it writes can be found by a later run.</li></ul><p>When a run finishes, the harness collects the cost, token usage, full transcript, and OpenTelemetry trace (a step-by-step log of every request), checks what changed in the repo, grades the answer, and deletes the workspace. The next run starts clean.</p><h3>Evaluation Design</h3><p><strong>Why These Tasks: </strong>As a non-Kafka expert, I’ll admit I cheated and used Claude to help think through which synthetic tasks would make the most sense. I focused on five categories that cover what Spotify named as workflows and future ideas in their blog, with 3–5 tasks each for a small but early sample:</p><ul><li><strong>Spotify’s own benchmark (4 tasks).</strong> Their four tasks, rebuilt on Kafka with the same shapes and file sizes, so the comparison is theirs first.</li><li><strong>Needle reads (4 tasks).</strong> One fact buried in a file of 1,000 to 1,900 lines. This is the exact case Spotify’s post describes (read 700 lines to check one thing), and the case their benchmark never tests.</li><li><strong>Their shapes at real file sizes (5 tasks).</strong> The same kinds of questions as their four, but on files big enough to actually trip the 350-line threshold, which two of theirs never do.</li><li><strong>Harm (5 tasks).</strong> Precise edits and debugging are the two task types Spotify’s own post says the approach isn’t for. The hook only sees a line count, so it fires on these anyway. I wanted to know if that costs anything.</li><li><strong>Controls (3 tasks).</strong> The same shapes on small files, to measure what the plugin costs just by being installed. (On one of them, Claude went looking in a neighboring 700-line file, so the hook fired there too.)</li></ul><p>I ran every task three times, interleaved by setup so time of day never lines up with one setup by coincidence: 189 sessions, about $25 at list price.</p><p><strong>Why These Metrics: </strong>Spotify’s own evaluation used one metric: tokens avoided. I kept it to check their findings against mine, and added the rest of the evaluation triangle, plus one more:</p><ul><li><strong>Performance:</strong> Did the task actually get done? A cheaper answer isn’t great if it’s missing the point. Measured by whether the answer was correct and whether Claude found the right file.</li><li><strong>Cost:</strong> What each Claude Code session actually cost, broken down per turn.</li><li><strong>Latency:</strong> For agents, this usually tracks cost closely, but I was curious what it feels like for the person waiting. Measured by wall-clock time, turns per run, and time per turn.</li><li><strong>Behavior:</strong> What the model did right after a block. Did it call the worker, run a search, or try reading part of the file?</li></ul><p>Behavior earned its spot after my first run, when I realized the published hook wasn’t really blocking. That’s why the third setup exists.</p><h3>Some Things Worth Remembering Before the Results</h3><p>Tokens you already know. Two other mechanics matter for what’s coming.</p><ul><li><strong>No memory between turns.</strong> The model itself remembers nothing between turns. Not here, not in ChatGPT, not anywhere. Every time Claude Code asks it something, it resends the entire conversation so far: every earlier message, every file it’s read, every tool result. A session feels continuous because Claude Code rebuilds and resends everything each turn, not because the model remembers.</li><li><strong>Prompt caching.</strong> A discount, not a memory. If you sent the same content to the model in the last few minutes, sending it again costs a tenth of the normal price. It changes what resending costs. It doesn’t stop the resending.</li></ul><p>We’ll touch on them as we jump into the numbers. But they’re important concepts to keep in mind when thinking about Claude’s performance.</p><h3>Drumroll… Our Results</h3><h3>The Headline Numbers</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*9gBiVpl_py63eDZU.png" /><figcaption>Figure Generated by Claude Code</figcaption></figure><p>Here’s how the three setups compare on the evaluation triangle, averaged across all 21 tasks:</p><ul><li><strong>Performance</strong> didn’t change in any way I could measure: 100% of stock runs passed, 98% as shipped, and 97% as described. That’s three failures out of 189, too few to say the hook hurt accuracy.</li><li><strong>Cost</strong> went up. With the hook enforced, a run cost 19% more on average (14.4¢ versus 12.1¢). Comparing each task to itself, the increase was likely somewhere between 7% and 39%, so it’s not a fluke. As shipped, cost rose 8%, but that’s within what chance alone produces here: on tasks where the hook never fired, costs still moved anywhere from 37% lower to 13% higher between setups.</li><li><strong>Latency</strong> went up: 6.1 turns per run for stock (a turn is one request to the model), 7.7 as shipped, and 9.2 as described. Wall time went from 39 seconds to 51.</li><li><strong>Behavior</strong> is where the plan broke down. The enforced hook blocked a read 96 times, and the model opened Spotify’s skill next only 4 times. In 41, it searched with grep instead. In 33, it tried reading a smaller piece of the file, which it also blocked. In 12 it ran a shell command, and several of those used sed to print the same lines the hook had just refused.</li></ul><h3>Fewer Tokens Read, More Tokens Processed</h3><p>So how can the hook cut tokens and still cost more? It depends on which tokens you count. Spotify’s own formula only works when the worker gets called, which happened in 0 of 63 as-shipped runs and 5 of 63 as-described runs. So I counted three things I could measure on every run:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*cCFrUQQ2x4PkpR7l.png" /><figcaption>Table Generated by Claude Code. Three ways to count what “90% fewer tokens” could mean, per run across the same 189 sessions.</figcaption></figure><ul><li><strong>Lines of the big file Claude read directly:</strong> down 87% with the hook enforced. This is roughly what Spotify measured with Gemini.</li><li><strong>Anything from the big file that reached the model,</strong> including search results: down 51%. Blocking a read doesn’t stop Claude from searching the same file.</li><li><strong>Total tokens the model processed,</strong> most of them the conversation being resent each turn: up 21% as shipped and 41% as described.</li></ul><p>The first two are what the hook controls. The third is what drives the bill, which rose 8% and 19%. The bill rose less than the token count because most of those extra tokens are cheap, cached resends.</p><h3>Why It Costs More</h3><p>Every turn resends the conversation, and the conversation grows every turn. Each resent token is cheap thanks to caching, but it adds up. Blocking a big read does save a little: about a cent per run less spent storing files in the cache. But every block adds turns. With the hook enforced, those extra turns cost about 1.6¢ more per run in resending, 0.6¢ more in new model output, and 0.3¢ for the worker. The savings from blocking were smaller than the cost of the extra turns.</p><p>Here’s what that looks like on one question: what a function called ready() returns, in a 1,500-line file.</p><ul><li><strong>Stock</strong> searched for the function, read the 35 lines it needed, and answered. That took about 4 turns and, on average, 5.1¢.</li><li><strong>As described,</strong> it searched twice, was blocked trying to read a 30-line piece, was blocked again on a 20-line piece, then searched again. That took about 6 turns and 6.8¢, 34% more for the same answer.</li></ul><p>Stock was already reading just the part it needed. The hook couldn’t make that cheaper. It could only add turns.</p><p>The same thing happens when the answer needs most of a big file. For one question (how the broker lifecycle manager moves between states, answered from a 770-line file), stock read the file and answered in about 4 turns. The hook setups took about 9 to 10 turns and cost about 45% more. Figure D breaks down one run of each by where the money went.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Nh3xeLlvJqXSuvhg.png" /><figcaption>Generated by Claude Code. Looking at the OTel tracing</figcaption></figure><h3>Which Tasks Got Cheaper</h3><p>The hook fired on 16 of the 21 tasks. Whether it saved money came down to one thing: what stock would have done anyway.</p><ul><li><strong>Stock read a whole big file but only needed part of it:</strong> the hook saved 7% to 18% (four tasks). For example, to find which methods lack tests, stock read two whole files (1,412 lines). With the hook, a search did the same job.</li><li><strong>Stock already read just a small piece:</strong> the hook cost 17% to 52% more (six tasks, including the ready() example). The enforced hook blocks any read of a big file, even a 20-line one, so it could only add turns.</li><li><strong>The answer needed most of the file:</strong> the hook cost 42% to 86% more (four tasks, such as listing every config key in a file). The content has to come in one way or another, and the block just adds turns.</li></ul><p>The other two tasks where it fired were a control, where Claude wandered into a big neighboring file, and one of Spotify’s tasks, where a single run went off and cost 46¢ on its own.</p><p>Of Spotify’s own four benchmark tasks, one is the whole-file kind, and two never tripped the hook at all. A line-count threshold can’t see any of this. It knows the file is big, but not whether Claude needs one line of it or all of it, or whether Claude was about to read the whole thing in the first place.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*2SAgfKJihe_jCMaC.png" /><figcaption>Generated with Claude Code. Hook cost relative to stock, by category, averaged per task. Spotify’s own four is pulled up by one run that started a background subagent and cost 46¢ on its own.</figcaption></figure><h3>Overall…</h3><h3>Letting Claude Be Claude</h3><p>This wasn’t a crazy idea, and knocking Spotify isn’t the point of this piece. Token spend is one of the most talked-about problems in AI right now. Spotify actually did the work of building in public and sharing, which is the only reason a hobby blogger like me could rebuild it.</p><p>What’s changed is the platform around it. The savings shunt was built to force them to start showing up on their own, in three places:</p><ul><li><strong>In the tokens.</strong> Prompt caching makes resending content you’ve already sent cost a tenth as much.</li><li><strong>In the context window.</strong> Claude Code no longer has to load every tool definition up front. With tool search, MCP tool definitions stay out of context until a task needs them, and Claude loads only those (<a href="https://code.claude.com/docs/en/agent-sdk/tool-search">docs</a>, <a href="https://www.anthropic.com/engineering/advanced-tool-use">Anthropic</a>).</li><li><strong>In the harness.</strong> In my stock runs, with no hook and no instructions, Claude already searched instead of reading whole files on most needle-in-a-haystack tasks.</li></ul><p>Boris Cherny, who leads Claude Code at Anthropic, said something similar at YC Startup School, in a conversation with YC’s Diana Hu: “Every six months, delete your claude.md, delete your skills, delete your hooks, see what the model does, and it might surprise you.” In the same talk, he said his team deleted over 80% of Claude Code’s own system prompt for Opus 5 (<a href="https://www.barath.ai/learnings/boris-cherny-yc-startup-school-2026">write-up</a>, <a href="https://sozai.app/transcript/boris-cherny-cut-80-percent-claude-code-prompt/">transcript</a>). I take a company’s claims about its own product with a grain of salt, but it matches what I saw in my stock runs.</p><p>That’s what I mean by “let Claude be Claude.” It doesn’t mean stop building. Spotify was right to test this. But every optimization is a bet on today’s model, and you need to recheck the bet whenever the model or the harness changes. A hook that paid off on an older model might cost you on a newer one.</p><h3>Claude Plugin Evals</h3><p>Speaking of letting Claude be Claude: while this sat in my drafts for a month, Anthropic beat me to it. In September, it releasedclaude plugin eval, which runs your plugin against a set of test cases, scores each result, and by default runs every case again without the plugin so you can see what the plugin adds. claude plugin eval init will even ask what a good result looks like and draft the test cases for you. The summary shows each case’s score with and without the plugin, the difference, and the cost.</p><p>That’s the same basic comparison this piece makes: plugin versus no plugin, same tasks, cost included. The difference is depth. Plugin eval tells you whether a plugin helped and what it cost. This eval went a level deeper, turn by turn, to see why. For most teams, plugin eval is the right place to start. If the cost column surprises you, that’s when it’s worth digging into the traces.</p><p>And because it’s built in, you can rerun it every time a new model ships. Everyone’s watching tokens right now, but turns are what drive the bill.</p><p>The full write-up, with the deviations table, the metrics as equations, the validation checklist, and all 189 runs, is at <a href="https://github.com/hmassa14/TurnsNotTokens">github.com/hmassa14/TurnsNotTokens</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=df564a845a6d" width="1" height="1" alt=""><hr><p><a href="https://medium.com/attainable-ai/tokens-are-cheap-turns-are-not-df564a845a6d">Tokens are Cheap, Turns are Not</a> was originally published in <a href="https://medium.com/attainable-ai">Attainable AI Newsletter</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Computer and The Control Tower]]></title>
            <link>https://medium.com/attainable-ai/the-computer-and-the-control-tower-0f29aa8b767c?source=rss----63bf0adc2152---4</link>
            <guid isPermaLink="false">https://medium.com/p/0f29aa8b767c</guid>
            <dc:creator><![CDATA[Haley Massa]]></dc:creator>
            <pubDate>Mon, 27 Jul 2026 02:20:14 GMT</pubDate>
            <atom:updated>2026-07-27T02:45:07.523Z</atom:updated>
            <content:encoded><![CDATA[<p>I’ve been deep in the cookbooks and agent-building guides from both OpenAI and Anthropic lately, and kept coming back to the same thing. These two seemed to make different early bets about how much of a computer to hand a model … and they’ve ended up in nearly the same place.</p><p>That’s the part I wanted to bring you along on. Not that they converged, but why they were ever that far apart, and what’s left of those original bets now that the frameworks look alike.</p><h3>2026 Agent Thesis</h3><p>By mid-2026, both major model providers ship an “Agent SDK” (or agent development framework) that packages the same three pillars for agent development:</p><ol><li>A <strong>harness</strong> — the loop around the model and its actions</li><li><strong>Code and sandbox execution</strong> — where the model’s actions actually run</li><li><strong>Memory</strong> — what continues across turns and runs</li></ol><p>While we’ll see that there are many similarities in approaches, I found some of the most interesting aspects in understanding not only the differences, but why they exist. It’s my idea that some of the foundational bets these companies made on their journey from research and model provider shops to implementation and enterprise AI platforms helped shape their brand identities as their paths converge:</p><ul><li>Anthropic bet on giving the model a computer early — a terminal, a real file system, the tools an engineer already uses.</li><li>OpenAI bet on keeping the loop and the machine apart, allowing organizations a non-lock-in approach while ensuring strict controls over allowed actions.</li></ul><p>These start to emulate the brand identities these companies are developing for themselves. Anthropic sells you an (ideally fully autonomous) coworker, humanly named Claude, who already has a laptop. Until recently, OpenAI has focused on selling a control tower.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*y8gbStNNDfyW-G5k.png" /><figcaption>Claude Generated via prompt. The three key components for 2026 Coding Agents.</figcaption></figure><p>Now, let’s explore what this journey looked like with agents, before breaking down each pillar.</p><h3>Journey of Agent Development</h3><p>Neither company arrived in April 2026 from a blank page, and the shape of each journey is part of why each company could be seen as “ahead of” or “behind” in different pillars.</p><h3>The OpenAI Journey</h3><p>An early winner in the space, with “chat” or “XYZ GPT” at one point close to becoming a brand identity for general chatbots, like Kleenex for tissues. As common LLM usage moved beyond traditional chatbots, OpenAI took a more unopinionated approach to tooling. Their <a href="https://openai.com/index/new-tools-for-building-agents/">Swarm project</a> described pure orchestration — handoffs between lightweight agents, no opinion about what any one agent’s tools should look like. Their Agents SDK and published <a href="https://openai.com/business/guides-and-resources/a-practical-guide-to-building-ai-agents/">A </a><em>Practical Guide to Building Agents</em> stuck with those core, separate, user-designed foundations. They described an unopinionated framework for building out any agent with three core components:</p><ul><li>Model</li><li>Tools</li><li>Instructions</li></ul><p>Notably, the harness never appears in that decomposition. Orchestration arrives later, as a chapter on patterns you assemble yourself. In their tools design, code was naturally something the model could always reach for and perform — but the Agents SDK kept it exactly there. Teams described specific coding tools and workflows the agent could accomplish. <a href="https://openai.com/index/introducing-codex/">Codex</a>, their coding assistant, behaved a bit differently, naturally placing the model into the full sandbox and file system of the code. That product was a model tuned to live in a larger default action space, reaching out to shell and filesystem by default rather than to code an engineer had explicitly enumerated.</p><p>As we’ll see throughout this, that’s no longer the case with their 2026 model-native release. We can now see OpenAI move from a purposely segmented, strictly specified action mindset into one of greater model autonomy.</p><h3>The Anthropic Journey</h3><p>Anthropic obviously started with their LLMs and Claude models, though competing more on the leaderboards than with individual consumers. Their real breakthrough moment, it seems, was likely Claude Code. Claude Code was an internal coding tool that grew into deep research, note-taking, and eventually the loop behind most of their own agents.</p><p>From this coding project and then product, they also created the Claude Code SDK — a wrapper for executing Claude Code. They found that internally they were using the systematic execution of Claude Code not only on coding-based tasks (like validating a PR), but also finding better performance on general agent tasks (like triaging support tickets). This led to the September 2025 renaming of the Claude Code SDK to the <a href="https://platform.claude.com/docs/en/agent-sdk/overview">Claude Agent SDK</a>.</p><p>The naming history tracks their whole product direction: every agent is a coding agent, and a capable model handed a real computer is what everything else builds on. It formed much of Anthropic’s current stance: “we own the harness, you own the data”.</p><h3>Pillar One: The Harness</h3><p>A raw LLM only generates tokens, and both companies have models that are quite good at that. A harness is the control plane that turns generation into action. It runs the loop, dispatches tools, parses tool calls, handles handoffs, approvals, tracing, and state. It calls the model, sees that the model wants tool X, runs X, feeds the result back, and loops until an exit condition.</p><h3>Anthropic: Give Your Agent a Computer, Batteries Included</h3><p>Anthropic’s agent harness is essentially Claude Code exposed as a standalone library — same tools, same agent loop, same context management. With this, there is no complex framework for developers to assemble; it’s an engine the model can wield out of the box. It comes equipped with core file and execution primitives (bash, read/write/edit, and grep) alongside workflows lifted straight from Claude Code — like web search, subagents, background scheduling, clarifying questions, and safety guardrails through runtime hooks.</p><p>In practice, a working agent is a function call and an options object:</p><pre>from claude_agent_sdk import query, ClaudeAgentOptions<br>async for message in query(<br>    prompt=&quot;Find and fix the bug in auth.py&quot;,<br>    options=ClaudeAgentOptions(allowed_tools=[&quot;Read&quot;, &quot;Edit&quot;, &quot;Bash&quot;])<br>):<br>    print(message)</pre><p>Describing this as a basic set of “coding tools” auto-set up for your agent drastically misses the mark. It isn’t only a passive toolbox; instead, it eliminates the need for the “toolbox” concept. In previous agent setups, an LLM has to pause, send a JSON request back over the wire, and wait for your application to run a tool on its behalf. Now, the model and execution engine live inside the same runtime — allowing it to act on your system directly.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*B9dsMYxgSX4VCXUu.png" /><figcaption>Diving deeper into this with the Tools callout later. This looks at some learnings from both Anthropic’s and OpenAI’s harness design around tool usage and context window preservation. A benefit of having the model on the control plane. [Image generated by Claude Code with prompt]</figcaption></figure><p>As someone who has worked at many AI MLOps/LLMOps startups and teams, it’s only a matter of time until a VC wants to describe what you’re building as an “OS for AI.” It’s always been a buzzword the industry has chased. What’s interesting in this agent approach is that the power of the framework comes from almost reversing that framing, letting the harness resemble an operating system that works out how to solve your specific problems.</p><blockquote>Beyond just the required evaluation criteria on real-world use cases, there have been some high-level trends both Anthropic and OpenAI have shown and implemented in proving out the value of bringing the AI to your computer’s control plane.</blockquote><blockquote><strong>Agentic Search &gt; RAG on Code Bases</strong></blockquote><blockquote>Early versions of Claude Code used RAG with a local vector database — chunk the codebase, embed it, semantically retrieve. They tested that against agentic search, where the model greps and globs and reads files on demand, and they deleted the index. Boris Cherny’s stated reasons: it was simpler, and it dropped the <a href="https://x.com/bcherny/status/2017824286489383315">“security, privacy, staleness, and reliability”</a> problems that come with maintaining an index at all.</blockquote><blockquote>For some tasks that require deep semantic mapping and context, RAG may be a framework primitive we should build and keep fresh. But letting the model operate on the code as a filesystem it already has means there is nothing to pre-process and nothing to go stale. The AI builds the retrieval strategy that makes the most sense for the system, and it’s the fact that this is a strategy decision that lets it work so well for coding and non-coding tasks alike.</blockquote><blockquote><strong>Executing MCP Tools — Programmatic Tool Calling</strong></blockquote><blockquote>The same move shows up a level higher, in how tools reach the model at all. As you connect more MCP servers, two costs balloon: every tool definition loads into context up front, and every intermediate result round-trips through the model even when you’re only piping data from one tool to the next.</blockquote><blockquote>Anthropic’s answer, from their <a href="https://www.anthropic.com/engineering/code-execution-with-mcp">Code Execution with MCP</a> work, was to extend the same agentic search philosophy to MCP tools. Rather than loading every tool definition into context, the runtime exposes tools as discoverable artifacts the model can inspect on demand.</blockquote><blockquote>In this example, they present each MCP tool as:</blockquote><blockquote>* a TypeScript file on disk — ./servers/google-drive/getDocument.ts</blockquote><blockquote>* an interface,</blockquote><blockquote>* and an exported function.</blockquote><blockquote>That file costs zero tokens until the agent reads it. The model lists the directory, opens the two modules it needs, imports them, and writes a program that calls them, filtering and joining in code so only the final result comes back. Their worked example takes a workflow that burned roughly 150,000 tokens and lands it near 2,000.</blockquote><blockquote>One honest caveat, because Anthropic makes it themselves: running model-generated code needs a secure execution environment, and carries operational cost and security considerations that direct tool calls avoid. In their own Agent SDK guide, tools remain the primary blocks of execution. The OS bet isn’t “code beats tools always.” It’s that a model with a computer wins on a specific and common shape of problem — lots of tools, large intermediate data, work you’d rather do in a loop than a round trip.</blockquote><blockquote><em>TLDR; Anthropic has an opinionated belief that general agents = coding agents. They’ve made it easy for teams to create these agents by wrapping Claude Code’s functionality (the harness) into an Agent SDK.</em></blockquote><h3>OpenAI: Agent Framework-Based Abstraction</h3><p>OpenAI’s SDK started unopinionated, as covered above: bring whatever orchestration and harness you want, we’ll stay out of the way. Their <a href="https://openai.com/index/the-next-evolution-of-the-agents-sdk/">April “model-native” release</a> is them catching the coding-agent train — filesystem tools modeled on Codex, shell and patch tooling, AGENTS.md, workspace manifests, snapshotting. All of it hangs on a new primitive — the <em>sandbox agent</em>, a distinct object from the plain agent you’d have built before, having its own workspace and capabilities declared up front.</p><p>Codex predates all of this, and OpenAI never lacked a coding agent — what moved is that the shape of a coding agent became the default shape of a general agent in their SDK.</p><pre>from agents import Runner<br>from agents.run import RunConfig<br>from agents.sandbox import SandboxAgent, SandboxRunConfig<br>from agents.sandbox.capabilities import Shell<br>from agents.sandbox.sandboxes.unix_local import UnixLocalSandboxClient<br><br>agent = SandboxAgent(<br>    name=&quot;Renewal Packet Analyst&quot;,<br>    instructions=&quot;Review the workspace before answering.&quot;,<br>    capabilities=[Shell()],<br>)<br>result = await Runner.run(<br>    agent,<br>    &quot;Summarize the renewal blockers.&quot;,<br>    run_config=RunConfig(sandbox=SandboxRunConfig(client=UnixLocalSandboxClient())),<br>)</pre><p>This is a one-way convergence toward a position Anthropic staked out publicly in September 2025 — while OpenAI keeps the one piece of its old identity that never depended on the action-space question: it still talks to more than a hundred model providers through the Chat Completions API. So while they may be “model-native” agents, they definitely aren’t a framework that has fully abandoned provider-agnosticism.</p><blockquote><em>TLDR; With new SandboxAgents, OpenAI has made it easier for teams to build out coding agents. This has aligned/caught up with the industry standard that started with Anthropic’s findings with their Claude Code Agents.</em></blockquote><h3>Pillar Two: The Sandbox</h3><p>If handing an agent the keys to an “AI for OS” makes your governance team nervous, they are not alone. That fear is the whole reason the sandbox exists. A sandbox is an isolated, Unix-like environment — the filesystem, shell, packages, controlled network — the agent can change without touching the host. Once it can run code against real files, the questions arrive: what if it deletes something, leaks credentials, changes a file with no record? Permissions block whole classes of action, but to let the agent work and still sleep at night, you want two boundaries:</p><ul><li><strong>Filesystem isolation</strong> — it touches only the files you’ve granted.</li><li><strong>Network isolation</strong> — it reaches only approved hosts, so it can’t exfiltrate data or pull down malware.</li></ul><p>You need both, or you have neither: without network isolation, a compromised agent reads your SSH keys and phones them home; without filesystem isolation, it escapes the directory and reaches the network anyway. And this isn’t hypothetical. In one <a href="https://www.anthropic.com/engineering/how-we-contain-claude">Anthropic red-team exercise</a>, a phishing message got Claude Code to fetch AWS credentials and ship them off — a direct prompt injection that arrived through the user rather than through tool output, which meant no model-layer defense had anything anomalous to catch.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*gm7VIz_Qm5vE802n.png" /><figcaption>Visualization of the needed isolation boundary for core governance in Coding Agent deployments. “Brain from the hands” is Anthropic’s framing. [Image Generated by Claude Code with prompt]</figcaption></figure><p>To help solve this, both vendors have converged on the same fix in production. Anthropic’s own framing for it is decoupling <a href="https://www.anthropic.com/engineering/how-we-contain-claude">“the brain (Claude and its harness) from the hands (sandboxes and tools that perform actions).”</a> The harness is the brain; the sandbox is the hands — files, commands, ports, state.</p><h3>Anthropic: Progressive Door-Closure</h3><p>Anthropic’s path is a clear progression from maximum power with maximum risk toward governed, production-grade isolation. And this makes sense; the learned powers of coding agents for non-coding tasks from pillar one do not come from a team siphoning workloads away from the AI. Instead, early Claude Code let the model write, test, and debug on your actual machine, gated only by permissions — approve this write, this command, this network call.</p><p>However, people approved nearly everything (around <a href="https://www.anthropic.com/engineering/how-we-contain-claude">93% of prompts</a>), so review had quietly stopped being review. Fall 2025’s fix was an OS-level sandbox. This allowed users and enterprise security teams to enforce workspace-level permissions (reads and writes allowed, network denied by default) at the OS rather than through the model’s goodwill. It was a large success in appeasing fear, and Anthropic reported it cut permission prompts by <a href="https://anthropic.com/engineering/claude-code-sandboxing">84% internally</a> while increasing safety.</p><p>It still had a pain point, however; the OS sandbox made an individual machine safer, but it did not solve the infrastructure problem of running many durable agent sessions in production.</p><p><em>Take a GitHub PR validation agent. A developer opens a PR. The agent may check out the branch, install dependencies, run the test suite, reproduce a failing test, generate a patch, re-run tests, bring the code in line with the organization’s best practices, and even open an updated PR. In this, our PR validation agent absolutely needs the filesystem, shell, package installation, git, and ephemeral state of a true coding agent.</em></p><p>Running this once on your laptop is easy. Running it on your laptop with a sandbox contains the individual run. Running it hundreds of times per day for every pull request means provisioning isolated environments, cloning repositories, installing dependencies, enforcing network policies, cleaning up state, and making sure one execution can’t interfere with another. At that point, the challenge shifts from managing the agent to managing the infrastructure that executes it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*bwHPGsr_BZDOkFPX.png" /><figcaption>A summer 2026 look at Claude Managed Agent sandbox execution. Missing existing local OS execution. [Image generated by Claude Code with prompt]</figcaption></figure><p>This is where <a href="https://claude.com/blog/claude-managed-agents">Managed Agents</a> came into play, launched in April 2026: Anthropic-managed defaults first, then self-hosted “bring your own container” options that let teams fully separate the brain from the hands. The agent reasoning loop stays hosted by Anthropic, but code execution and sensitive data remain within your local security perimeter. <a href="https://claude.com/blog/claude-managed-agents-updates">Self-hosted sandboxes</a> are in public beta, with MCP tunnels in research preview.</p><blockquote><em>TLDR; Anthropic wants to sell AI integrated with a computer. Now, they know they need to allow teams to restrict that computer space. With the new move into self-hosted sandboxes and MCP tunnels, they’re making it easier for enterprise security teams to enforce that computer’s guardrails and use AI for more business (and safety-critical) tasks.</em></blockquote><h3>OpenAI: Portable Execution</h3><p>Before the Agent SDK exposed sandboxing in April 2026, OpenAI was not starting from nothing. Through <a href="https://openai.com/index/introducing-codex/">Codex</a>, it had already demonstrated the pattern of isolated cloud sandboxes. Every coding task executed inside its own ephemeral environment: repositories cloned into isolated filesystems, dependencies installed, tests executed, and the entire environment discarded once the task completed. From a user’s perspective, Codex simply “ran the agent in the cloud.” Architecturally, however, something much more important was happening: the reasoning model had already been separated from the execution environment.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*J8SSS8IgcHNGrxiy.png" /><figcaption>A quick year in review on the timeline for Sandbox execution between the two. [Claude Code Generated with Prompt]</figcaption></figure><p>In many ways, OpenAI was early in demonstrating this architecture in a production cloud coding agent. Rather than letting the model operate directly against enterprise infrastructure, Codex treated code execution as an isolated, disposable compute environment — a pattern that would later become foundational across modern agent systems.</p><p>The April 2026 release of SandboxAgent brought that same architectural pattern into the Agent SDK. Rather than treating sandboxing as something unique to Codex, OpenAI exposed it as a reusable execution primitive that could run any agent workflow.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*s2cQaxUvakDTzCaQ.png" /><figcaption>A look at different Sandbox hosting options for OpenAI SDK Agents. Includes OS execution, along with some example providers to showcase local, self-serve, and third-party managed options. [Image Generated by Claude Code]</figcaption></figure><p>The obvious question then, in looking at OpenAI’s offering, is whether a long provider list is worth anything, or if it’s just a menu. As someone who isn’t an infrastructure expert but has gone through the tenuous process of AI governance approvals, it’s actually a bit interesting. What I think the list actually buys you is modular characteristics for different types of teams: how strong the isolation is, where the compute physically sits, who holds the credentials, and how long a session can stay alive. Those are roughly the four things a security review asks about, and the seven built-in launch partners — Blaxel, Cloudflare, Daytona, E2B, Modal, Runloop, and Vercel — don’t answer them the same way.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*NS4II19qEDIuvyU2.png" /><figcaption>Providers comparison. Analysis done by Claude Opus, provided starting links from my findings of relevant research pages/company blog posts/marketing doing comparison. Analysis done because I was curious. Validated by Haiku subagents per line. Not validated by my human self reading the Documentation for all providers one by one. This is not official advice; please read the documentation if you plan to purchase.</figcaption></figure><p>So the choice sorts by what your approval process actually asks. If your data can’t leave your perimeter — healthcare, finance, anything with a data residency clause — you’ll probably want the bring-your-own-cloud option, because “where does the data go” becomes “nowhere,” and that’s the best answer that clears review quickly. If you’re executing untrusted or third-party code, you want the microVM, and you pay the cold start for it. If you wrote the code and you control the inputs, Docker is fine, faster, and cheaper. If you’re already all-in on a platform, the sandbox that lives inside it will move through governance fastest simply because there’s no new vendor to review. And if you need GPUs, that narrows the field before you get to weigh anything else.</p><blockquote><em>TLDR; OpenAI has kept model and sandbox execution separate from day one by partnering. They make it easy for teams to choose a managed container architecture (by partnering with multiple container providers) or self-host to maintain this separation.</em></blockquote><p>Both providers have converged on the same architectural principle: the reasoning model should not execute directly against enterprise systems. Where they differ is not in whether they sandbox, but in how they expose sandboxing. Anthropic packages it as part of an integrated managed runtime, while OpenAI exposes it as a reusable infrastructure primitive developers compose with different execution environments. Neither approach is inherently more secure — though in both cases the isolation guarantee comes from the environment underneath, and a container is not a microVM.</p><h3>Pillar Three: Memory</h3><p>Two pillars in, the patterns are similar, but the product instincts are hard to miss. Anthropic repeatedly begins with the model itself — first giving it a computer, then a protected one. OpenAI repeatedly begins with the developer — first a framework, then a reusable execution layer.</p><p>Those instincts become even more interesting in the final pillar. Unlike harness and sandbox, this is not a story of two companies solving the same problem differently. It’s a story of two companies arriving at exactly the same conclusion: <strong>the context window is not memory.</strong></p><h3>Where They’re the Same</h3><p>For years, developers treated larger context windows as if they solved persistence. If the model needed to remember something, we copied more information into the prompt. The approach worked surprisingly well — until agents became long-running. A coding agent doesn’t just need to remember what happened thirty seconds ago. It needs to remember why it made a design decision yesterday, which repositories require special build steps, which coding conventions a team prefers, and which mistakes it has already learned to avoid. None of that belongs permanently inside the context window, which is expensive, finite, and gone when the run ends.</p><p>Both Anthropic and OpenAI now treat the context window as working memory, and put long-term memory somewhere else. The agent retrieves only the information relevant to the current task, reasons over it, and moves on. Memory becomes another tool, not another prompt.</p><p>Both architectures share the same core principles: memory exists outside the model, memory persists across sessions, the agent retrieves memory through tools, only relevant information enters the context window, and the context window remains temporary working memory rather than permanent storage.</p><h3>Where They Still Differ</h3><p>The remaining difference is not where memory lives, but how it is curated.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*GYsNe_Cqt7JreU9G.png" /><figcaption>Image generated to show the core context path taken by both modeling tools.</figcaption></figure><p><strong>Anthropic: the working model curates memory.</strong> Anthropic’s <a href="https://platform.claude.com/docs/en/agents-and-tools/tool-use/memory-tool">memory tool</a> gives Claude access to a persistent /memories workspace. While solving a task, Claude can decide that something is worth preserving, create or update a memory file using explicit tool calls, and later retrieve those same memories in future sessions. The storage itself remains under the developer’s control — the model requests file operations, while the application decides where those files actually live.</p><p>This follows the pattern established throughout the article. Anthropic repeatedly gives the model an environment to operate within: first a computer, then a sandbox, and now a persistent notebook. Memory becomes part of the reasoning loop itself. Anthropic complements this with <a href="https://platform.claude.com/docs/en/build-with-claude/context-editing">context editing</a>, which automatically removes stale tool results and intermediate state from the active context window while preserving durable information in persistent memory.</p><p><strong>OpenAI: the runtime curates memory.</strong> Its <a href="https://openai.github.io/openai-agents-python/sandbox/memory/">sandbox memory system</a> also stores persistent Markdown artifacts that future runs consume. Reads work by progressive disclosure: memory_summary.md, the compact index, is injected at the start of a run; the agent searches the fuller MEMORY.md when prior work looks relevant, and opens individual rollout summaries only when it needs more detail. After a run completes, the runtime extracts lessons, consolidates recurring patterns across previous runs, and updates those artifacts for later sessions. The active agent can also update memory during execution — when it discovers something stale, or when it’s explicitly asked — but the default lifecycle emphasizes reflection and consolidation around the run rather than note-taking as the run progresses.</p><p>The two shapes produce different learning. A model taking notes mid-task catches the surprise — the repo with the weird build step it just hit — but it can’t notice that the same test has flaked forty times across two hundred runs, because it was never looking at two hundred runs. A runtime consolidating afterward catches exactly that, and loses the one-off insight that only made sense in context.</p><blockquote><em>TLDR; Both companies have the same idea and functionality for memory. The context window is temporary working memory. Persistent knowledge is separated from the model and lives in a queryable index to be retrieved on demand. The core difference is that Anthropic currently encourages the working model to actively curate that index while solving a task. OpenAI surrounds the working model with a runtime that continuously extracts, consolidates, and maintains long-term knowledge.</em></blockquote><h3>In the End…</h3><p>In the end, we’re right back at the beginning. Both companies ship the same three pillars now, and neither is going to un-ship them. But the bets they opened with didn’t disappear — they just moved down a layer. Anthropic still sells you the coworker with a laptop; they’ve only added a lock to it, and let you decide whose building it sits in. OpenAI still sells you the control tower; they just started shipping the plane too, because that turned out to be what everyone needed to get off the ground.</p><p>So the convergence happened above the questions that matter, not through them. Both SDKs will keep looking more alike. The interesting differences have moved underneath — into whose infrastructure is holding the line when the agent does something you didn’t plan for. Which means you’re not really picking a framework. You’re picking who you want holding the keys when it matters.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0f29aa8b767c" width="1" height="1" alt=""><hr><p><a href="https://medium.com/attainable-ai/the-computer-and-the-control-tower-0f29aa8b767c">The Computer and The Control Tower</a> was originally published in <a href="https://medium.com/attainable-ai">Attainable AI Newsletter</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Can the People Building the AI Boom Share in it?]]></title>
            <link>https://medium.com/attainable-ai/can-the-people-building-the-ai-boom-share-in-it-ff47a5e094f0?source=rss----63bf0adc2152---4</link>
            <guid isPermaLink="false">https://medium.com/p/ff47a5e094f0</guid>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[gpu]]></category>
            <category><![CDATA[labor]]></category>
            <dc:creator><![CDATA[Haley Massa]]></dc:creator>
            <pubDate>Sun, 24 May 2026 22:51:00 GMT</pubDate>
            <atom:updated>2026-05-24T23:35:16.095Z</atom:updated>
            <content:encoded><![CDATA[<p>I’m based in the US, so it is almost debilitating to keep up with every headline… let alone start dipping internationally. So when someone made a throwaway comment this week mentioning the stock implications of the Samsung strike, I almost let it go.</p><p>On the surface, it reads like one of the ever-growing number of labor disputes we’ve learned to file away — factory workers, a pay dispute, all a world away in South Korea. Easy to scroll past. But sitting underneath is a story that actually captured my dwindling attention span. It’s the story about the actual physical infrastructure of AI — where it comes from, who builds it, and what it costs those people. It’s also a story about a shift happening in how technical talent moves, who gets paid, and what happens when the people doing the most physically demanding work in tech finally decide to demand a different arrangement.</p><p>For that reason, this week I decided to pull you down the rabbit hole with me and go deep into what I discovered. Because beyond being interesting, I think anyone building on AI today should understand what’s underneath the hardware they’re waiting on — and why this particular strike, in this particular moment, is more connected to your workflow than it might look.</p><h3>What’s happening with the Samsung Strike and why?</h3><p>Let’s start with the dispute itself, because the details matter much more than the headline.</p><blockquote><em>Samsung’s first and largest labor union (Samsung Electronics Union), representing more than 90,000 employees, spent the last month in an escalating conflict with their management over one thing: a proportional share of the profits their work generates.</em></blockquote><p>To understand why that feels beyond reasonable, you need to follow Samsung’s recent journey as a company. Like most tech / device companies, Samsung rode the COVID consumer boom hard. Everyone is stuck at home, needing to connect to the world through their devices. Those devices need memory. (Samsung $$$) Then, post-COVID, everyone had already bought their laptop. Demand collapsed, memory prices cratered, and <a href="https://www.tomshardware.com/tech-industry/samsungs-last-ditch-union-talks-collapse-eight-days-before-planned-18-day-chip-factory-strike">Samsung posted operating losses for much of the past two years</a>.</p><p>In that time, workers received zero bonuses. Their pay structure runs through something called the EVA formula — described by the union as a black box, with two known features: it deducts capital costs and losses before calculating the bonus pool, which means in a down year, the floor is zero. And the ceiling, in any year, is capped at 50% of base salary.</p><p>Then AI arrived and flipped everything. Data centers started consuming memory at rates the industry, once run by human consumer demand, could never have predicted. Samsung’s profits <a href="https://www.koreaherald.com/article/10742914">went from operating losses to record returns in a matter of quarters</a>. They quickly went from a surplus to a shortage of product, and preorders scheduled for months to a year in advance were in high demand.</p><p>However, this rebound was not seen by Samsung employees. They saw zero in the bad year. And nothing again in the record year… because the black box formula, with its deductions and cap, was stacked against them. This obviously sucks, but it reads like any company story today. Nobody likes to pay.</p><blockquote><em>It’s obviously not fair, but what can any employee do to change that? Unfortunately for Samsung, that’s not an argument their employees have to have in the abstract. The answer is to just go down the street.</em></blockquote><p>SK Hynix — Samsung’s Korean rival, same industry, same job, same country — restructured its compensation last year. 10% of annual operating profit is allocated directly to a worker bonus pool. No deductions. No cap. Written into their contracts for ten years. The formula is public, letting all employees do the math themselves. Based on 2026 projections, that works out to an average bonus of about <a href="https://koreajoongangdaily.joins.com/news/2026-02-04/business/industry/SK-hynix-employees-to-get-largestever-performance-bonuses-this-week-after-chipmakers-recordsetting-year/2516306">$460,000 per worker this year, up from $95,000 in years prior</a>.</p><p>This has obviously caused an exodus at Samsung. The engineer doing the same work, in the same country, for the rival company: $460,000. If they stayed at Samsung: nothing.</p><p>This comparison is what <a href="https://asia.nikkei.com/business/tech/semiconductors/samsung-union-suspends-planned-strike-after-reaching-tentative-pay-deal">brought tensions to a head between Samsung and the union</a>. And it raises a real question: in a corporate landscape that fights this hard against paying people, what is so important about what they’re building that workers — and rival corporations — are starting to fight over them?</p><h3>Why are these workers a bottleneck?</h3><p>To understand really why a labor dispute in Korea connects to your estimated 40-week GPU wait-time, you need to understand what actually comes off that factory floor.</p><p>A modern AI GPU — the H100, the Blackwell, whatever comes next — is not one chip. It’s an assembly. At its center sits the GPU die: the compute engine, the brain, designed by Nvidia or AMD and predominantly manufactured by TSMC in Taiwan. Their main competitor is Samsung Foundry, which has been struggling to keep pace — though that’s a different part of Samsung than the workers we’re talking about today.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*tqr6J4xWKVNLTMMA.png" /><figcaption>The AI chip supply chain has three layers. Designers like Nvidia create the blueprints. Manufacturers like TSMC build the compute die. Memory suppliers — led by Samsung — build the HBM that makes the whole thing run. Samsung sits at the intersection of two of those three layers, which is why this labor dispute matters.</figcaption></figure><p>The brain handles the math. But math requires moving data, constantly and fast. So, surrounding that die is a stack of High Bandwidth Memory (HBM). Think of it as the engine’s fuel system. Without it, a Blackwell GPU is a very expensive piece of nothing. HBM also requires significantly more wafer capacity to produce than conventional memory, so the more Samsung shifts production toward HBM4 to meet AI demand, the tighter overall memory supply gets. More demand, more production, less memory for everything else.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*2vZkCZSt0qnVPV8G.png" /><figcaption>A modern AI GPU is an assembly, not a single chip. The HBM stacks on either side are produced by Samsung’s workers. Without them, the compute die in the center does nothing.</figcaption></figure><p>Those wafers are what the Samsung workers we’re discussing today build in specialized cleanrooms. (~<a href="https://www.tomshardware.com/tech-industry/artificial-intelligence/samsung-and-sk-hynix-warn-ai-driven-memory-shortages-could-last-until-2027-and-beyond">40% of the world’s DRAM inventory</a> is built by them, to be exact).</p><h3>What makes cleanroom workers irreplaceable?</h3><p>Beyond being likely great people, they know how to operate in a data cleanroom.</p><p>A semiconductor cleanroom is nothing like a typical factory floor. For context, regular room air has about 35 million particles per cubic meter — dust, skin cells, fibers. In an <a href="https://e360.yale.edu/features/toxics_in_the_clean_rooms_are_samsung_workers_at_risk">ISO Class 1 cleanroom</a>, where Samsung’s HBM wafers are made, that number drops to just 10. Even a single stray hair can ruin millions of dollars’ worth of work. Before each shift, workers spend up to 30 minutes getting suited up: full-body coverings, respirators, triple gloves, sealed boots. Once inside, they’re in for twelve-hour shifts day and night in dry, filtered air under yellow lighting, with hardly any chance to eat, drink, or step out.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*OuOLGY12JQAsj-Mk.jpeg" /><figcaption>A researcher in a Samsung Electronics chip cleanroom (https://www.kedglobal.com/korean-chipmakers/newsView/ked202503060008)</figcaption></figure><p>And what they do inside those suits is far from mundane or simple assembly work. They operate chemical vapor deposition systems, plasma etching machines, and extreme ultraviolet lithography equipment that costs millions of dollars per unit. And while many may start with a two-year technical degree — the Korean equivalent of an Associate’s or Trade Specialization — the ability to do the job, manage chemicals, use machines, and interpret data takes years to master.</p><blockquote>In many ways, clean room workers are modern-day trade specialists — a high-tech evolution of the blacksmith apprenticeships of yore. The difference between what a seasoned technician has learned on the job and a new hire is the human judgment that determines whether a $2 million wafer batch survives the night shift.</blockquote><p>To top it all off, these technicians are currently working under more pressure than ever before. To keep up with AI demand, Samsung has accelerated its factory expansion in Pyeongtaek by months, with construction and equipment calibration occurring simultaneously on the same floors. Cleanroom staff are keeping everything sterile while construction crews work just next door. The yield requirements for HBM4 are extremely strict, and the factories are running at full capacity around the clock just to meet delivery targets.</p><blockquote><strong>Unsafe Conditions in Clean Rooms are the Reason Korea has Unions at All</strong></blockquote><blockquote>For most of Samsung’s history, there was no union — and that was true across Korea’s chaebol system broadly. In South Korea, your company is closer to an identity than a job. That cultural weight discouraged independent organizing. Samsung went further and actively suppressed it. It took a 2019 court ruling to change that. But the reason clean room workers specifically wanted a union in the first place goes back further and is much more permanent than any pay dispute.</blockquote><blockquote>In 2003, a 19-year-old named Hwang Yu-mi took a job at Samsung’s Giheung chip plant, dipping silicon wafers into chemical baths. By 2005, she was sick. In 2007, she died of acute leukemia in the back of her father’s taxi on the way to the hospital. She was 23. Her father, Hwang Sang-ki — a taxi driver — refused to sign Samsung’s non-disclosure agreement. He spent the next eleven years documenting other cases. The group he helped found, <a href="https://www.npr.org/2018/11/23/670429271/samsung-apologizes-to-ill-workers-promises-to-compensate-them">SHARPS, eventually identified over 200 Samsung workers who had developed leukemia,</a> lymphoma, brain tumors, and miscarriages — most in their 20s and 30s. Seventy-six had died. In 2018, Samsung’s co-president bowed at a press conference and issued a formal apology. Two years later, Jay Y. Lee, Samsung’s Chairman, renounced the no-union policy. Samsung Electronics Union — the company’s first recognized union — was formed.</blockquote><blockquote>This is the same union that is now negotiating for a share in the AI boom for Samsung workers. The direct descendant of what Hwang Sang-ki started in the back of that taxi.</blockquote><h3>… And Back to The Politics of Pay</h3><p>At the beginning of this article, we introduced the challenge posed by the union and the standard set by SK Hynix, which made it impossible to ignore.<em> </em>But zoom out from Korea, and a pattern emerges across every company building this hardware. Compensation has become a strategic weapon.</p><p>TSMC has used <a href="https://www.tomshardware.com/tech-industry/huawei-trying-to-poach-tsmc-employees-with-3x-salary">aggressive base salary increases</a> to fend off poaching from Chinese firms. <a href="https://www.youtube.com/watch?v=AsVrQJ3uHus">Micron’s wage structure was built into its CHIPS Act</a> deal from the start, a condition of $6.1 billion in government funding. China is deploying unlimited state capital and equity packages to recruit engineers it can’t build domestically fast enough. Every company in this ecosystem has made a calculated decision about what these workers are worth — and priced accordingly. Samsung was the last holdout.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*tFs4qt4iBfCy1aYf.png" /><figcaption>A look at different companies approaches to competing for cleanroom workers</figcaption></figure><p>Not one of those changes happened because a company decided it was the right thing to do. Every dollar these workers have gained came from a fight — or from a rival making the fight inevitable.</p><p>So can the people physically building the AI boom have a piece of it? It seems that at least for now — yes. The Samsung team has struck a deal with the union in line with the SK Hynix methodology. Not because the industry decided it was fair, but because, in this day and age of GPU waitlists, the most irreplaceable jobs in tech are among the least glamorized and physically demanding. The companies that figured that out first are winning the talent war. The ones that didn’t had to be dragged there.</p><p>So somewhere in Pyeongtaek, on the third shift, someone is tending a wafer that will eventually end up in a data center that will eventually run a model that will eventually generate revenue for a company that will never know their name. And the good news is that this week, that person got a raise.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ff47a5e094f0" width="1" height="1" alt=""><hr><p><a href="https://medium.com/attainable-ai/can-the-people-building-the-ai-boom-share-in-it-ff47a5e094f0">Can the People Building the AI Boom Share in it?</a> was originally published in <a href="https://medium.com/attainable-ai">Attainable AI Newsletter</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Is My Job Title Made Up? Finding Your Role in ML]]></title>
            <link>https://medium.com/attainable-ai/is-my-job-title-made-up-finding-your-role-in-ml-9ea7965cfcbd?source=rss----63bf0adc2152---4</link>
            <guid isPermaLink="false">https://medium.com/p/9ea7965cfcbd</guid>
            <category><![CDATA[data-scientist-skills]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[data-scientist]]></category>
            <category><![CDATA[jobs]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <dc:creator><![CDATA[Haley Massa]]></dc:creator>
            <pubDate>Tue, 09 May 2023 16:07:17 GMT</pubDate>
            <atom:updated>2023-05-09T16:07:17.588Z</atom:updated>
            <content:encoded><![CDATA[<p>I remember how stressful it was to search for my first data science job. Having just graduated with my Masters, I spent weeks blindly searching LinkedIn and blanketing job postings with applications like <em>resume_(insert job title here).pdf</em>. Fun fact: I received Greenhouse rejections for jobs I didn’t even know I applied to for months after starting my first job.</p><p>While the sheer volume of resumes sent out was most definitely a byproduct of my anxiety, the blanketing of resumes to any job title containing the word “data” was not that far off. There are two scary truths within the world of job searching for data science roles:</p><h3>1. All companies that know what they’re looking for in a role call it something different</h3><p>The most common example of this can be seen below. A product analyst at Google is essentially a “data scientist.” While a data scientist at Facebook may be more like a traditional “data analyst.” Companies will follow their own internal guidelines when setting job titles.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*fLBjLMPrccgWkHTD.png" /><figcaption>Comparison between a recent Data Science job posting at Meta and Data Analyst posting at Google</figcaption></figure><h3>2. And companies that don’t … call it Data Scientist</h3><p>Another thing to be wary of when job searching is the vanilla umbrella term of a data scientist. Although your dream data scientist job is probably also titled data scientist, there is a lot of mis-marketing of positions in the ML space right now.</p><p>A <a href="https://sws.informatik.uni-leipzig.de/wp-content/uploads/2023/01/socio-technical-anti-patterns-icse2023.pdf">recent MLOps survey paper</a> called it “<em>headless chicken hiring.</em>” This occurs when organizations know they want to level up their data science and AI capabilities. They need data lakes cleaned, ETL pipelines built, someone to create visualizations and generate reports, and/or any other potential task involving data. And to find people to do it, they utilize the same approach as me, unemployed on LinkedIn in my parent’s basement, just throwing a title with “data” in the name and thinking, “Well, good enough.”</p><p>Taking a “well good enough” titled position when looking for a traditional data scientist role leaves a lot of developers unhappy. It’s one of the reasons that data scientist roles have a turnover rate of <a href="https://towardsdatascience.com/stop-hiring-data-scientists-improve-ml-product-team-retention-8ae04dac406e">55% higher than already high-tech industry standards</a>. So, it is essential to find a position that matches your expectations.</p><h3>That is why, my number one piece of advice for people who know what they are looking for in their job search is to read the job description</h3><p>Bonus points for those that not only evaluate the job description to understand what they are looking for but also tailor their resume to match the wording of the posting to <a href="https://connect.informs.org/careercenter/resources/optimizing-your-resume-for-hiring-algorithms">optimize for resume screening algorithms</a>. (Google Chrome extensions like <a href="https://chrome.google.com/webstore/detail/jobalytics-resume-keyword/fkiljfkkceaopbpfgfmjdnkiejaifkgd?hl=en">Jobalytics</a> will automatically compare your resume to job postings and give you a percent match).</p><p>But … that still leaves those who don’t know exactly what they’re looking for. And for them, my second piece of advice is to …</p><h3>Start by understanding traditional data roles by skills, toolkits, and role in the ML lifecycle</h3><p>When looking at Google’s job posting, you may have noticed that I compared their role to a “traditional data scientist.” As we’ve established, there are quite a few job titles with data in the name. When starting a job search within AI, it’s essential to understand what the traditional breakdown of those roles is:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*gkGzYhZohgzW3F6F.png" /><figcaption>Quick drawing covering the different Tasks, Skills, and Toolkits needed for each of the major technical roles in ML</figcaption></figure><p>It can be helpful to choose a role you would like to go after and then tailor your resume and/or up-skill to fit into it. You can start with some of the skills/toolkits listed above and cross-check with LinkedIn job postings to ensure they are current.</p><h4>But, all these skills are so different? How are these all AI roles?</h4><p>Another thing to think about when applying to roles in AI is understanding where the position you are applying to fits into the ML ecosystem. While I am sure I will cover the trend of the <a href="https://multithreaded.stitchfix.com/blog/2019/03/11/FullStackDS-Generalists/">“end-to-end” data scientist</a> in a future newsletter, most organizations still operate with a project “handoff” system. All the roles listed above work together to create ML projects.</p><p>Understanding where different roles sit in this system can help job seekers think about the big picture of their future roles:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*-4aiMB7n3wR1cZvS.png" /><figcaption>Quick drawing following the ML Lifecycle</figcaption></figure><p>In this image, we can see these handoffs in action. The <strong>data engineer</strong> takes raw data from the “real world” — i.e., any external data source in this case — and transforms it into usable formats. They maintain the data infrastructure, creating data lakes and, in more recent years, feature stores for data scientists/analysts to pull from.</p><p>Next, the analysis and experimentation pipeline begins, as organized data is taken from the data lakes or feature stores. Data analysts/scientists transform that data for business insights/outcomes. <strong>Data analysts </strong>typically focus more on the insights part of that equation. When external stakeholders ask business questions, data analysts transform and analyze the data to provide answers. These answers could be in the form of charts, reports, or even presentations.</p><p>On the other hand, <strong>data scientists</strong>’ experimentation pipeline also starts with data analysis. However, for them, this analysis is rarely driven by answering a question; instead, they are asked to solve a problem. For example, instead of answering the question, “How has the rate of credit card fraud changed from last year to now,” they are asked to improve the system to detect credit card fraud. To do this, they often work with data analysts to explore data related to the problem and use their statistical background and domain knowledge to evaluate solutions. These solutions are often statistical or machine learning models.</p><p>The next handoff occurs after the model is created and ready for production (to be served to end users). While <strong>ML engineers</strong> often have some hand in model experimentation, they are a crucial part of this handoff, taking the finished model from the data scientists. Solutions created after the analysis/experimentation pipeline are part of the productionalized pipeline.</p><p>ML Engineers are in charge of helping evaluate data scientists’ models to ensure they’re ready for production. They then optimize the code, through techniques like data parallelization and the model, through methods like reducing model size. Finally, they own preparation for model deployment from setting up the infrastructure, testing production environments, validating CI/CD pipelines, and maintaining that deployment through monitoring.</p><p>After ML Engineers deploy their model, they provide <strong>backend engineers</strong> or <strong>developers</strong> with an API definition that defines how to interact with their deployed model. With that API, backend developers integrate it into existing backend architecture and infrastructure. They also often assist ML engineers with monitoring and maintaining the ML model, helping with this like debugging data processing or implementing error handling.</p><p>That’s the final hand-off, as the ML model begins to run in production. At this point, it begins making predictions on data. That data, as well as those predictions, are typically stored in the organization’s databases. And the cycle continues …</p><p>All in all, if you’re looking for a technical role building out AI systems, it’s definitely attainable. You just need to know where to start and what skills to build up. While we’ll definitely cover some more specific skills in upcoming newsletters, some great places to start are Coursera, Udemy, and even Youtube (the world’s largest online education platform).</p><p>Also, it’s important to note that these aren’t the only roles available in AI. Teams needs the PMs (product, project and program managers), technical writers, designers and much more to develop their AI systems and products!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9ea7965cfcbd" width="1" height="1" alt=""><hr><p><a href="https://medium.com/attainable-ai/is-my-job-title-made-up-finding-your-role-in-ml-9ea7965cfcbd">Is My Job Title Made Up? Finding Your Role in ML</a> was originally published in <a href="https://medium.com/attainable-ai">Attainable AI Newsletter</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>