<?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[Stories by Nicolò Boschi on Medium]]></title>
        <description><![CDATA[Stories by Nicolò Boschi on Medium]]></description>
        <link>https://medium.com/@nicoloboschi?source=rss-6ee8c79d8d85------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*3-lZPmCP1mHJ5xBUqnbVnw.jpeg</url>
            <title>Stories by Nicolò Boschi on Medium</title>
            <link>https://medium.com/@nicoloboschi?source=rss-6ee8c79d8d85------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 03 Dec 2026 08:46:20 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@nicoloboschi/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Hindsight Memlake: agent memory on object storage]]></title>
            <link>https://medium.com/@nicoloboschi/hindsight-memlake-agent-memory-on-object-storage-feeec50b493b?source=rss-6ee8c79d8d85------2</link>
            <guid isPermaLink="false">https://medium.com/p/feeec50b493b</guid>
            <category><![CDATA[ai-agent]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[distributed-systems]]></category>
            <category><![CDATA[rust]]></category>
            <category><![CDATA[database]]></category>
            <dc:creator><![CDATA[Nicolò Boschi]]></dc:creator>
            <pubDate>Tue, 13 Oct 2026 06:00:54 GMT</pubDate>
            <atom:updated>2026-10-13T15:54:32.294Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*W7WlP2CHBQMt8YjN.jpg" /></figure><p><strong>TL;DR</strong>: Hindsight Memlake is out today, a new storage engine that keeps agent memory in object storage instead of Postgres. In our tests it serves 100M memories at under 100ms p99, with the bucket as the only source of truth. Open-source Hindsight is now 1.0 and stays on Postgres.</p><p>Agent memory has a weird shape. Records are tiny, they only grow, and every recall runs four searches at once over the same data: by meaning, by keyword, through links and through time. Postgres handled this well for a long time. In Hindsight Cloud it stopped handling it well once banks got big.</p><p>We measured it before deciding anything. On a 4-vCPU primary, recall went from 7 queries per second at 33k memories to 1.9 at 164k. Each memory wrote about 190 KB of WAL across the vector, link and full-text indexes, so ingest topped out at 55–80 memories per second. The table of links between memories was 65% of the database, and three quarters of that was index. Postgres isn’t doing anything wrong. It just pays for every memory twice, once on write and once on every query, and a workload that only grows means a bigger primary forever.</p><p>So at Vectorize, we built a store for this shape of data. Here’s the announcement video:</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FB-nAmMq3LB8%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DB-nAmMq3LB8&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FB-nAmMq3LB8%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/17569775b2f87d439170e0a4ecc4f889/href">https://medium.com/media/17569775b2f87d439170e0a4ecc4f889/href</a></iframe><p><a href="https://www.youtube.com/watch?v=B-nAmMq3LB8">▶ Watch the announcement on YouTube</a></p><p>Memlake is written in Rust and plugs into Hindsight’s database layer, so agents, SDKs and API calls don’t change. It moves only the memory itself to the bucket: memories, links, indexes, documents, mental models. Banks, settings, the job queue and the audit log stay in Postgres, because they are small and relational and that’s what Postgres is good at.</p><p>The part I like most is how little coordination there is. Each bank is a prefix in the bucket with three kinds of objects:</p><ul><li>an append-only log, one immutable file per write</li><li>segments, small self-contained indexes written once and never touched again</li><li>a manifest and a head pointer, the only two objects that ever change</li></ul><p>Those two mutable objects are only replaced with conditional writes. The bucket accepts the new version only if nobody changed it first. That’s the whole coordination story: no consensus cluster, no lock service, no leader, and servers never talk to each other. A write lands in the log, the head pointer moves, and only then Hindsight acknowledges it. Indexers turn the log into segments later and publish them by swapping the manifest. Servers are just caches, so losing one costs latency, never data.</p><p>Because the safety of everything depends on a few conditional writes racing each other, we didn’t trust tests alone. The write, indexing and garbage-collection protocols are specified in TLA+ and model-checked across interleavings. For distributed code like this, I think that’s the only way to sleep well.</p><p>Some numbers from the benchmarks:</p><ul><li>100M memories across 20 banks on 4 servers, p99 recall around 73–80ms</li><li>one bank sustains 1,200–1,500 writes per second</li><li>retrieval quality on BEIR within 0.3% of an established vector database</li><li>about two orders of magnitude faster than Postgres on large banks</li></ul><p>The tradeoff is cold starts. Opening a bank that isn’t cached can take seconds, so servers now preload in the background. And under ~50k memories per bank, Postgres is still a fine choice. That’s why open-source Hindsight, now 1.0, keeps running on it.</p><p>Memlake is part of Hindsight Enterprise, and most of Hindsight Cloud already runs on it. The full write-up, with the architecture, the cost model and all the charts, is on the <a href="https://hindsight.vectorize.io/blog/2026/10/13/memlake">Hindsight blog</a>.</p><p>In my opinion object storage is the right home for memory that never stops growing. It took us a year of watching Postgres strain to get here, and I’m happy with where it landed.</p><p><em>Originally published at </em><a href="https://nicoloboschi.com/posts/20261013/"><em>https://nicoloboschi.com</em></a><em> on October 13, 2026.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=feeec50b493b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How I code from anywhere at any time]]></title>
            <link>https://medium.com/@nicoloboschi/how-i-code-from-anywhere-at-any-time-0906f3cd3204?source=rss-6ee8c79d8d85------2</link>
            <guid isPermaLink="false">https://medium.com/p/0906f3cd3204</guid>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[openai-codex]]></category>
            <category><![CDATA[vibe-coding]]></category>
            <category><![CDATA[claude-code]]></category>
            <dc:creator><![CDATA[Nicolò Boschi]]></dc:creator>
            <pubDate>Tue, 16 Jun 2026 07:00:40 GMT</pubDate>
            <atom:updated>2026-06-16T15:15:04.039Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RlkZcv_OTqSlUrpbEjbsjA.png" /></figure><p><strong>TL;DR</strong>: I work on many repos at once, and on the same repo in different workspaces, parallelizing everything with agents. Terminal apps felt too constrained and coding UIs too slow for parallel work, so I built vipershell. Three months in, I haven’t opened an IDE or a terminal app.</p><p>I’m a software engineer and I work daily on different repos, often on the same repo in different workspaces, parallelizing the work. Most of those panes are agents — Claude Code, Codex, Hermes — doing something while I’m looking at something else.</p><p>That broke my tools. Terminal apps felt too constrained, and every coding UI I tried was just not efficient for working on parallel things. tmux gives you panes of text, but a workspace is a terminal <em>plus</em> its git state <em>plus</em> the files that changed — so I was switching between them all day. The IDE has the opposite problem: heavy and single-rooted, one window per project, a new language server every time I open another workspace.</p><p>So I built my own app. It’s called <strong>vipershell</strong> ( <a href="https://github.com/nicoloboschi/vipershell">nicoloboschi/vipershell</a>).</p><ul><li>open source</li><li>runs locally</li><li>access via the browser</li><li>reach my laptop from my phone over Tailscale</li><li>each pane gives you terminal, git and files</li><li>first-class support for Claude Code, Codex and Hermes</li><li>persistent terminal sessions</li></ul><p>The browser part is the key for “anywhere.” It runs locally on my laptop where the repos and agents live, and the frontend is just a browser — so the same vipershell opens on my phone over <a href="https://tailscale.com/">Tailscale</a>, with the sessions exactly where I left them because they never stopped. I start something on the couch and unblock it from my phone later.</p><p>In my opinion the terminal and the IDE aren’t bad — they just weren’t built for running many agents across many workspaces at once. So I built the thing that was. Three months, no IDE, no terminal app.</p><p>It’s open source on <a href="https://github.com/nicoloboschi/vipershell">GitHub</a>, and here’s a <a href="https://www.youtube.com/watch?v=kdWoWgU27VA">short demo</a> of it in action. If you live across many repos and many agents too, give it a try.</p><p><em>Originally published at </em><a href="https://nicoloboschi.com/posts/20260616/"><em>https://nicoloboschi.com</em></a><em> on June 16, 2026.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0906f3cd3204" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[We’re in the jQuery era of AI. Who’ll be the React of agents?]]></title>
            <link>https://medium.com/@nicoloboschi/were-in-the-jquery-era-of-ai-who-ll-be-the-react-of-agents-092b827aa6fd?source=rss-6ee8c79d8d85------2</link>
            <guid isPermaLink="false">https://medium.com/p/092b827aa6fd</guid>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[vibe-coding]]></category>
            <category><![CDATA[claude]]></category>
            <category><![CDATA[llm]]></category>
            <category><![CDATA[openai]]></category>
            <dc:creator><![CDATA[Nicolò Boschi]]></dc:creator>
            <pubDate>Wed, 27 May 2026 07:00:34 GMT</pubDate>
            <atom:updated>2026-05-27T12:14:42.511Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fR1yNv0aiR_-wb9tc2fTKQ.jpeg" /></figure><p><strong>TL;DR</strong>: Current agent harnesses are what jQuery was in 2006: pragmatic abstractions over an unstable primitive. The “React of agents” doesn’t exist yet, and the obstacle isn’t model instability — it’s an open-ended capability surface that keeps expanding. I think that’s fine.</p><p>I’ve been working with agent harnesses for about a year and the whole thing keeps feeling familiar. The fragmentation, the plugin ecosystems, the half-stable standards, the “rip it out in six months” energy. The comparison I keep coming back to is the web in 2006 — I was 9 then so I didn’t live through it, but the pattern is hard to miss once you’ve read enough about how that era played out.</p><h3>What 2006 actually looked like</h3><p>If you weren’t writing JavaScript back then, the picture was this. The DOM was inconsistent across browsers. IE6, IE7, Firefox 2, Safari 2, Opera 9 — each one had its own attribute-access quirks, event model, and rendering bugs. You couldn’t just call addEventListener and trust it. You wrote twenty lines of branching to do what should have been one line.</p><p>Then a bunch of libraries showed up at almost the same time:</p><ul><li><strong>Prototype.js</strong> — extended native objects, gave you $ and Ajax helpers.</li><li><strong>MooTools</strong> — class-based, extended natives more aggressively.</li><li><strong>jQuery</strong> — selectors, chainable methods, event normalization.</li><li><strong>YUI</strong> — Yahoo’s heavy framework.</li><li><strong>Dojo</strong> — kitchen-sink, IBM-leaning.</li></ul><p>All five solved the same problem from different angles. None of them were “right.” They were all pragmatic abstractions over a primitive that was still misbehaving.</p><p>The reason jQuery won wasn’t elegance. It won because it stayed thin and didn’t try to turn the DOM into something it wasn’t. $(&#39;.foo&#39;).addClass(&#39;bar&#39;) mapped cleanly to &quot;do this DOM thing, but everywhere it works.&quot; The other libraries reached too far.</p><p>And then React showed up, and within a few years the whole DOM-manipulation paradigm was legacy. Not because jQuery was bad. Because someone proposed a completely different abstraction — state → virtual DOM → render — that made the browser’s mess somebody else’s problem. The shape of that move matters.</p><h3>Where we are now</h3><p>Look at the harness landscape today. Off the top of my head: Claude Code, Codex CLI, Cursor, Aider, OpenCode, Cline, Continue, Roo, Windsurf, Gemini CLI, Antigravity, Kiro. Every one of them is solving the same problem: the model can’t run a long task on its own, so wrap it in something.</p><p>They share the same skeleton — ReAct loop, tool registry, context manager, approval gates, some kind of memory hook. Someone could argue that skeleton <em>is</em> the emerging abstraction. I think that’s mistaking shape for substance. Every harness has a tool registry, but the load-bearing decisions — how many tools, how to route them, when to compact context, what to keep across turns — are capability bets baked into each one, and those don’t port. The boring parts are shared. The interesting parts aren’t.</p><p>Each harness picks a slightly different shape of “what the model is good at right now.”</p><ul><li><strong>Claude Code</strong> assumes strong native tool use, runs a tight loop with explicit approval gates, leans on file-edit primitives.</li><li><strong>Codex CLI</strong> assumes well-scoped GitHub issues, runs in cloud sandboxes, ends with a PR. One task at a time.</li><li><strong>Cursor</strong> assumes a human in the loop. Stalls at ambiguous decisions, optimizes for fast feedback.</li><li><strong>Aider</strong> assumes pair-programming. Diff-edits over a small file set.</li></ul><p>None of them are wrong. Those shapes just keep changing.</p><h3>The surface keeps expanding</h3><p>The DOM in 2006 was annoying but bounded. The bugs were known. You could write a compatibility shim once and trust it for two years.</p><p>The model in 2026 isn’t like that. Every quarter brings something that breaks an existing harness assumption:</p><ul><li>Bigger context windows (1M now, soon more) — context engineering rules get rewritten.</li><li>Better thinking traces — the explicit self-critique step in the harness becomes redundant.</li><li>Computer use — entirely new tool category, no harness was designed for it.</li><li>Longer agentic horizons — the “memory hook” becomes the load-bearing layer, not an afterthought.</li></ul><p>The memory point deserves one sentence on its own: when an agent runs for an hour, state lives in the prompt; when it runs for a week, state has to live somewhere durable, and the whole harness reorganizes around how that state gets read and written.</p><p>Each of these breaks something in current harness design. The Claude Code that shipped a year ago is not the Claude Code that ships today, and that’s not just feature creep. It’s the design rotating around the new primitive shape.</p><p>I think that’s the part of the parallel that matters most. jQuery sat over a finite surface; harnesses sit over one that keeps expanding.</p><h3>Standards as jQuery plugins</h3><p>The standards layer is where the parallel gets really tight.</p><p>jQuery had a plugin ecosystem. $.fn.X = function() {...}. Every problem became &quot;find a plugin.&quot; Date pickers, sliders, validators, form helpers. The plugins were great until they collided, broke on the next jQuery release, or solved the same thing four different ways.</p><p>Today the comparable layer is:</p><ul><li><strong>MCP</strong> — tools-as-servers. Anthropic shipped it, then it spread. Useful, but I’ve already seen three different opinions on how to write an MCP server properly.</li><li><strong>Skills</strong> — composable workflows. A higher-level abstraction that landed because MCP was too low-level once “skill execution” became a model capability.</li><li><strong>A2A</strong> — Google’s agent-to-agent protocol. Solves the horizontal coordination problem MCP doesn’t touch.</li><li><strong>AGENTS.md / CLAUDE.md / .cursor/rules</strong> — same file, different name, depending on which harness you’re feeding.</li></ul><p>Each is genuinely useful right now. None will be the final answer. They’re shaped by what current models can do, and the next generation of models will reshape them.</p><p>A concrete example. When I write a tool for a coding harness, the signature usually looks something like this:</p><p>The offset and limit parameters exist because the model wastes context on huge files. That&#39;s a workaround for a model limitation, not a property of the file system. When context becomes effectively free, that signature looks ridiculous. The MCP shape carries the scar tissue forward, even when the reason for it is gone.</p><p>The same dynamic shows up in skills. They exist because models got good enough at following multi-step recipes that “tool” became too granular. In two years, when models compose tools naturally, the skill abstraction might look like training wheels.</p><h3>What the React of agents would look like</h3><p>I don’t know. Nobody does. The structural property would be: an abstraction that doesn’t change shape when the model gets better.</p><p>React works because the component model is invariant under browser improvements. Chromium can ship &lt;dialog&gt;, fix flexbox, add View Transitions - none of it changes how you write a component. The abstraction is above the noise.</p><p>A sharp reader will push back here: React itself shipped in 2013, when IE8 and IE9 still mattered and the DOM was nowhere near settled. React didn’t wait for the primitive to stabilize — it routed around the instability with the virtual DOM. So why can’t someone build the same shape of abstraction for agents today?</p><p>I think the answer is in the kind of instability. The DOM’s surface was finite and knowable. You could enumerate the quirks: which browsers fire which events, which CSS properties render wrong, which methods don’t exist. The virtual DOM worked because it sat over an ugly but bounded surface. You could write a shim because you knew exactly what to shim.</p><p>Model capability is open-ended. Computer use didn’t exist a year ago. Long-horizon agentic behavior didn’t exist. 10M context didn’t exist. You can’t shim a capability that hasn’t been invented yet, because the shape of the next one isn’t predictable. Every six months the surface area expands, and the new piece doesn’t fit cleanly into anything written before it.</p><p>A “React of agents” still needs to sit above the model. Not just invariant under bigger context windows or cheaper tool calls — invariant under capabilities that haven’t been invented yet. That sounds almost paradoxical, and that’s the obstacle. Today’s harnesses are glued to the current capability profile, and nobody can pre-absorb a capability whose shape isn’t known.</p><p>I’ve thought about what direction it could come from. Maybe “agent contracts” — a typed declaration of what the agent does, with the runtime compiling the loop, tools, and context strategy for whatever model it’s pointed at. Maybe a graph-shaped state machine where the agent is the graph and the harness compiles it differently per backend. Both feel plausible. Both also feel like 2008-era guesses about what React was going to be.</p><p>In my opinion, nobody has found it yet. The hard part isn’t waiting for models to stop changing — it’s compressing a surface that nobody can fully see.</p><h3>Why this is fine</h3><p>The takeaway is not “stop building harnesses.” jQuery was the right thing to do in 2006. It made the web shippable for a decade. People who learned jQuery did real work, shipped real products, and most of them moved to React without much pain when the time came.</p><p>Current harnesses are the same. They’re the right shape for now. They’re letting people ship agents that do real work. Most of them will get replaced once someone finds an abstraction that doesn’t break when the next capability ships, and that’s how every new abstraction goes when it sits on top of a primitive whose surface keeps growing.</p><p>The mistake I see people make is treating today’s harness choices as if they’re load-bearing forever. They’re not. Pick the harness that lets you ship now, expect to rewrite, and don’t over-invest in the standards before they stabilize.</p><p><em>Originally published at </em><a href="https://nicoloboschi.com/posts/20260527/"><em>https://nicoloboschi.com</em></a><em> on May 27, 2026.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=092b827aa6fd" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Memory is the bottleneck for self-driving agents]]></title>
            <link>https://medium.com/@nicoloboschi/memory-is-the-bottleneck-for-self-driving-agents-8b91f0310861?source=rss-6ee8c79d8d85------2</link>
            <guid isPermaLink="false">https://medium.com/p/8b91f0310861</guid>
            <category><![CDATA[ai-agent]]></category>
            <category><![CDATA[agents]]></category>
            <category><![CDATA[openclaw]]></category>
            <category><![CDATA[agentic-rag]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[Nicolò Boschi]]></dc:creator>
            <pubDate>Fri, 08 May 2026 09:00:32 GMT</pubDate>
            <atom:updated>2026-05-08T13:22:35.746Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NLuqiiDbywLEfXUxYFp2RA.png" /></figure><p><strong>TL;DR</strong>: Self-driving agents are the destination everyone agrees on. The bottleneck isn’t autonomy or planning — it’s memory. Forkable experience is the property that turns one car into a fleet.</p><p>Cursor has been pushing “self-driving codebases.” Anthropic’s harness research and OpenAI’s Codex work converge on the same destination: an agent that runs autonomously over hours and days. Plans, executes, recovers, ships.</p><p>They’re right about where this is going. I think the conversation is wrong about what blocks the road.</p><p>Most of the discussion focuses on autonomy: longer horizons, better planning, more reliable tool use, lower error rates. All real problems. None of them are the bottleneck.</p><p>The bottleneck is memory architecture. Specifically: whether your agent’s experience is forkable.</p><h3>One car or a fleet</h3><p>An agent that self-drives without forkable memory is a single instance re-learning every lesson from every fork. Whatever it figured out in session A is gone by session B. Whatever fork #237 painfully discovered, fork #238 has to discover again.</p><p>Self-driving without forkable memory is one car hitting every pothole. Self-driving with it is a fleet that learns each pothole exactly once.</p><p>The fleet model is what makes self-driving economically viable. Tesla doesn’t ship millions of cars where each one learns from scratch. The fleet shares experience because the cars share a memory layer that consolidates what every instance saw. Agents need the same thing. Most don’t have it.</p><p>A worker without memory is a goldfish with a PhD, reasoning about whatever’s in front of them and then forgetting. Add memory and the agent remembers across sessions. Add <em>forkable</em> memory and every other instance of the same agent inherits the lesson — a new fork doesn’t onboard, it boots with the institutional memory loaded.</p><p>Human memory is bound to one body. When a person leaves a company, their experience leaves with them. The next person learns from scratch, and companies spend enormous effort fighting this with wikis and runbooks and still lose most of it. Agent memory has none of those constraints. Forking is the asymmetric advantage of digital workers, and the design constraint most memory systems aren’t built for.</p><h3>The architecture that delivers it</h3><p>Model + harness + memory is the anatomy of the agent. Each layer plays a different role in delivering forkability.</p><p><strong>The brain.</strong> The model is raw reasoning. Tokens in, tokens out. No state, no awareness of yesterday. Useful only with the rest of the anatomy. The model layer is also commoditizing: models converge on benchmarks every quarter, and almost no production system survives by betting on a specific one. The work has moved to what wraps around it.</p><p><strong>The body.</strong> The harness is the runtime where the agent runs — Claude Code, Hermes, OpenClaw, NemoClaw. Its core job is one thing: decide which fragments of context the brain sees on every turn. Every object loaded into the context window is a fragment with a token cost: the system prompt, a retrieved page, the result of the last tool call. The harness is the policy that decides which fragments are worth their weight on this turn, and which ones get evicted. Tool routing, error recovery, observability all fall out of this single job.</p><p><strong>The experience.</strong> This is where forkability lives or dies.</p><h3>What forking forces</h3><p><strong>Two primitives, not one.</strong> Memory splits into atomic facts and compressed summaries — <em>memories</em> and <em>knowledge pages</em>. The reason isn’t aesthetic. Forking pulls reads and writes in opposite directions. Writes are massively parallel, contradictory, append-only by necessity: ten thousand forks each retaining what they observed, no coordination, full history preserved so contradictions can be resolved later. Reads are the opposite — they have to be fast, prompt-sized, and consistent across forks, because every fork is reaching into the same shared store on every turn. A single layer that tries to be both either overwrites history (and loses the audit trail) or re-summarizes from scratch on every fetch (and dies on cost). The split isn’t a feature. It’s what you’re forced into the moment forking is real.</p><p><strong>The worker reads, the system writes.</strong> The agent only does two things with memory: read pages on demand, retain memories as it talks (the harness streams the conversation in automatically). The agent can declare <em>what</em> a page tracks — its scope, its query — but never the body. The reason is structural: only the system has the cross-fork, cross-session view that makes a good body.</p><p>The failure modes stack up:</p><ul><li><strong>One conversation is the wrong input.</strong> A good page summarizes across all sessions and all forks. The agent inside any single chat only sees the slice in front of it.</li><li><strong>Drift compounds.</strong> If any agent could write back to pages, the next agent loads its confabulations as fact. Server-side refresh grounds every regeneration in retained memories and breaks the feedback loop.</li><li><strong>Concurrency.</strong> A thousand forks can retain memories in parallel without coordinating. They cannot all edit the same page. The fleet model collapses under write contention the moment writers proliferate.</li></ul><p>The read side splits for a related reason: the agent sometimes knows which document it wants and sometimes doesn’t. A single read interface forces it to either always load too much (slow, expensive) or always search (lossy when the answer was right there). Two read modes — whole-document fetch and semantic search across memories — covers both cases without compromise.</p><p>This is what <a href="https://github.com/vectorize-io/hindsight">Hindsight</a> is built around. Every alternative I’ve tried — letting the agent edit pages in-loop, single-tier vector stores, no separation between facts and summaries — broke on one of those axes the moment forking became real.</p><h3>What’s still unsolved</h3><p>The framing is settling. The hard problems inside it aren’t.</p><p><strong>Distilling experience over ultra-long horizons.</strong> Agents produce massive volumes of raw interaction data: every tool call, every observation, every retry. Dumping traces into a vector store is the easy thing. The hard thing is distilling them into higher-level primitives that capture causal patterns, recurring failures, durable preferences. Hindsight’s consolidation pipeline — memories distilled into facts, facts regenerated into pages — does this at session and week scale, and I haven’t seen another architecture even attempt the substrate problem at this layer. Stretching the same pipeline to month- and year-long timescales is still open. But the precondition for any answer is the two-primitive split: you can’t distill what you didn’t preserve.</p><p><strong>Just-in-time retrieval vs. baked-into-weights.</strong> Right now memory is mostly external. A chunk of what an agent learns will eventually want to live in model weights, distilled and fine-tuned. The split between “search this every time” and “internalize this once” is one of the biggest open architectural questions of the next few years. The likely answer is dynamic: items get promoted from storage to weights as their access patterns prove they’re durable.</p><p><strong>Models self-managing context.</strong> Today the harness decides what enters and exits the context window. Models are getting better at metacognition, but every time a model operates on its own context, error rates compound. Reducing those compounding errors is what will let agents run for hours and days without intervention.</p><p>Some of this will get absorbed by better models — distillation will improve, metacognition will reduce error rates. But forking is a property of how agents are deployed, not of the model. The architecture that takes forking seriously now will still take it seriously when the models are better.</p><h3>Conclusion</h3><p>Self-driving agents are the right destination. The conversation around it is mostly wrong about what blocks the road. The bottleneck isn’t planning quality or task horizon — it’s whether your agent’s experience replicates across forks.</p><p>If you’re building agent infrastructure, the question isn’t “how do we add memory?” It’s “how do we design for ten thousand forks from day one?” Build for the fleet. The single-car version is what gets lapped.</p><p>If you don’t want to build it from scratch, that’s what Hindsight is.</p><p><em>Originally published at </em><a href="https://nicoloboschi.com/posts/20260508/"><em>https://nicoloboschi.com</em></a><em> on May 8, 2026.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8b91f0310861" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why 10 million tokens is the only memory benchmark that matters]]></title>
            <link>https://medium.com/@nicoloboschi/why-10-million-tokens-is-the-only-memory-benchmark-that-matters-a3aa74382172?source=rss-6ee8c79d8d85------2</link>
            <guid isPermaLink="false">https://medium.com/p/a3aa74382172</guid>
            <category><![CDATA[agent-memory]]></category>
            <category><![CDATA[agents]]></category>
            <category><![CDATA[ai-memory]]></category>
            <category><![CDATA[llm]]></category>
            <category><![CDATA[benchmark]]></category>
            <dc:creator><![CDATA[Nicolò Boschi]]></dc:creator>
            <pubDate>Thu, 02 Apr 2026 07:00:27 GMT</pubDate>
            <atom:updated>2026-04-07T06:35:45.675Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*9MHpnFVg7TLrIjyd.jpg" /></figure><p><strong>TL;DR</strong>: Memory benchmarks died when context windows hit 1M tokens — just dump everything in the prompt. BEAM tests at 10M where that trick fails. Hindsight scores 64.1% there, 58% ahead of the next system.</p><p>I spent months watching memory benchmarks become meaningless.</p><p>LoComo, LongMemEval — they were built when 128K was the frontier. They tested whether your system could retrieve the right fact from a few hundred thousand tokens of history. Useful, at the time.</p><p>Then Gemini shipped 1M context windows. Claude followed. And suddenly the dumbest possible strategy — context.append(all_messages) - started passing these benchmarks. No retrieval pipeline. No entity resolution. No temporal reasoning. Just brute-force the entire history into the prompt and let attention do the work.</p><p>The benchmarks didn’t break. They just stopped measuring what they were supposed to measure. They became context window size tests wearing a memory evaluation costume.</p><h3>10 million tokens changes the game</h3><p><a href="https://arxiv.org/abs/2504.01076">BEAM</a> tests memory across tiers from 500K to 10M tokens. The lower tiers are still gameable — a 1M window covers 500K easily. But at 10M, there’s nowhere to hide. No production model has that context window, and even if it did, attention degrades catastrophically long before 10M tokens. The “just stuff it all in” approach physically cannot work.</p><p>At 10M, you’re forced to do the thing memory systems are supposed to do: decide what matters, store it efficiently, and retrieve precisely what a query needs. No shortcuts.</p><p>Results at the 10M tier:</p><ul><li>Hindsight 64.1%</li><li>Honcho 40.6%</li><li>LIGHT baseline 26.6%</li><li>RAG baseline 24.9%</li></ul><p>23.5 points over second place. That’s not an incremental win — it’s a structural one.</p><h3>Where the gap actually comes from</h3><p>The 24.9% RAG baseline tells a clear story. Standard RAG — chunk, embed, retrieve top-k, stuff into prompt — barely beats random at this scale. And I think the failure mode is specific enough to explain.</p><p>Take a query like “What did Alice say about the project deadline after the API spec changed?” Standard embedding search finds chunks semantically close to “project deadline.” It retrieves every mention of deadlines across 10M tokens of history. Maybe the relevant one ranks high enough, maybe it doesn’t. But even if it does, the chunk boundary likely split Alice’s reasoning from her conclusion. You get the statement without the cause.</p><p>Honcho at 40.6% does better — it has retrieval beyond pure embedding similarity. But the gap to Hindsight is still massive. Here’s what I think drives it:</p><p><strong>Four retrieval strategies, not one.</strong> Hindsight runs semantic, BM25 keyword, graph traversal, and temporal filtering in parallel, then merges results via reciprocal rank fusion. “Alice” is a proper noun — keyword search nails it where embedding search treats it as any other token. “After the API spec changed” is a temporal constraint — temporal filtering resolves it to a date range. Graph traversal connects Alice → her team → the API dependency. No single retrieval strategy handles all three dimensions of that query. Most systems only have one.</p><p><strong>Pre-computed observations.</strong> This is the bigger architectural difference. When Hindsight ingests facts, a background consolidation process synthesizes observations — patterns across multiple facts. By the time you query “What’s the status of Project Atlas?”, the system already has a synthesized observation like “Project Atlas delayed due to unstable API requirements causing frontend blocking” with evidence links to the five specific facts that support it. RAG systems retrieve those five facts individually and hope the LLM connects them. Sometimes it does. At 10M tokens with retrieval noise from thousands of similar-looking chunks, often it doesn’t.</p><p><strong>Entity resolution across 10M tokens.</strong> “Alice,” “Alice Chen,” “Alice C.” — across months of conversations, the same person gets referenced differently hundreds of times. Hindsight resolves these to canonical entities and builds a knowledge graph with typed edges (entity, temporal, semantic, causal). At 500K tokens, entity ambiguity is manageable. At 10M, without explicit resolution, your retrieval returns fragments about three different “Alices” and the LLM has no way to distinguish them.</p><p>The combination compounds. Graph traversal follows entity links to find causally related facts that embedding search misses. Temporal filtering scopes results to the right time window before semantic ranking even starts. Observations deliver pre-synthesized understanding instead of raw fragments. Each capability helps independently, but together they handle query dimensions that pure vector search fundamentally cannot.</p><h3>Why scores below 1M are noise</h3><p>In my opinion, any memory benchmark that fits inside a model’s context window is testing the wrong thing.</p><p>Here’s the proof: at BEAM’s 500K tier, the gap between systems shrinks dramatically. Context-stuffing competes with real memory architectures because the model can literally see everything. A system that spent engineering effort on entity resolution, temporal reasoning, and graph traversal scores similarly to one that just&amp;mldr; passes all the tokens in.</p><p>That’s not a memory evaluation. That’s an LLM attention benchmark.</p><p>The 10M tier exists precisely because it eliminates this escape hatch. At 10M tokens, the only thing that determines your score is the quality of your memory architecture — how well you extract, how well you connect, how well you retrieve. There’s no way to compensate for bad extraction by throwing more context at the model.</p><p>If you’re evaluating memory systems for agents that will run in production — agents that accumulate months of interactions, thousands of conversations, millions of tokens of history — the only number that matters is the one where context-stuffing can’t save you.</p><p>For Hindsight, that number is 64.1%.</p><p>Run BEAM against Hindsight locally, no API key needed. <a href="https://hindsight.vectorize.io/docs/quick-start/">Quick start</a> | <a href="https://arxiv.org/abs/2504.01076">BEAM paper</a> | <a href="https://hindsight.vectorize.io/beam/">Leaderboard</a></p><p><em>Originally published at </em><a href="https://nicoloboschi.com/posts/20260402/"><em>https://nicoloboschi.com</em></a><em> on April 2, 2026.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a3aa74382172" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why 10 million tokens is the only memory benchmark that matters]]></title>
            <link>https://medium.com/@nicoloboschi/why-10-million-tokens-is-the-only-memory-benchmark-that-matters-c8c9fb7553d4?source=rss-6ee8c79d8d85------2</link>
            <guid isPermaLink="false">https://medium.com/p/c8c9fb7553d4</guid>
            <dc:creator><![CDATA[Nicolò Boschi]]></dc:creator>
            <pubDate>Thu, 02 Apr 2026 07:00:13 GMT</pubDate>
            <atom:updated>2026-04-02T21:02:54.257Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Bii7L-ogePa1sQXA.jpg" /></figure><p><strong>TL;DR</strong>: Memory benchmarks died when context windows hit 1M tokens — just dump everything in the prompt. BEAM tests at 10M where that trick fails. Hindsight scores 64.1% there, 58% ahead of the next system.</p><p>I spent months watching memory benchmarks become meaningless.</p><p>LoComo, LongMemEval — they were built when 128K was the frontier. They tested whether your system could retrieve the right fact from a few hundred thousand tokens of history. Useful, at the time.</p><p>Then Gemini shipped 1M context windows. Claude followed. And suddenly the dumbest possible strategy — context.append(all_messages) - started passing these benchmarks. No retrieval pipeline. No entity resolution. No temporal reasoning. Just brute-force the entire history into the prompt and let attention do the work.</p><p>The benchmarks didn’t break. They just stopped measuring what they were supposed to measure. They became context window size tests wearing a memory evaluation costume.</p><h3>10 million tokens changes the game</h3><p><a href="https://arxiv.org/abs/2504.01076">BEAM</a> tests memory across tiers from 500K to 10M tokens. The lower tiers are still gameable — a 1M window covers 500K easily. But at 10M, there’s nowhere to hide. No production model has that context window, and even if it did, attention degrades catastrophically long before 10M tokens. The “just stuff it all in” approach physically cannot work.</p><p>At 10M, you’re forced to do the thing memory systems are supposed to do: decide what matters, store it efficiently, and retrieve precisely what a query needs. No shortcuts.</p><p>Results at the 10M tier:</p><p>23.5 points over second place. That’s not an incremental win — it’s a structural one.</p><h3>Where the gap actually comes from</h3><p>The 24.9% RAG baseline tells a clear story. Standard RAG — chunk, embed, retrieve top-k, stuff into prompt — barely beats random at this scale. And I think the failure mode is specific enough to explain.</p><p>Take a query like “What did Alice say about the project deadline after the API spec changed?” Standard embedding search finds chunks semantically close to “project deadline.” It retrieves every mention of deadlines across 10M tokens of history. Maybe the relevant one ranks high enough, maybe it doesn’t. But even if it does, the chunk boundary likely split Alice’s reasoning from her conclusion. You get the statement without the cause.</p><p>Honcho at 40.6% does better — it has retrieval beyond pure embedding similarity. But the gap to Hindsight is still massive. Here’s what I think drives it:</p><p><strong>Four retrieval strategies, not one.</strong> Hindsight runs semantic, BM25 keyword, graph traversal, and temporal filtering in parallel, then merges results via reciprocal rank fusion. “Alice” is a proper noun — keyword search nails it where embedding search treats it as any other token. “After the API spec changed” is a temporal constraint — temporal filtering resolves it to a date range. Graph traversal connects Alice → her team → the API dependency. No single retrieval strategy handles all three dimensions of that query. Most systems only have one.</p><p><strong>Pre-computed observations.</strong> This is the bigger architectural difference. When Hindsight ingests facts, a background consolidation process synthesizes observations — patterns across multiple facts. By the time you query “What’s the status of Project Atlas?”, the system already has a synthesized observation like “Project Atlas delayed due to unstable API requirements causing frontend blocking” with evidence links to the five specific facts that support it. RAG systems retrieve those five facts individually and hope the LLM connects them. Sometimes it does. At 10M tokens with retrieval noise from thousands of similar-looking chunks, often it doesn’t.</p><p><strong>Entity resolution across 10M tokens.</strong> “Alice,” “Alice Chen,” “Alice C.” — across months of conversations, the same person gets referenced differently hundreds of times. Hindsight resolves these to canonical entities and builds a knowledge graph with typed edges (entity, temporal, semantic, causal). At 500K tokens, entity ambiguity is manageable. At 10M, without explicit resolution, your retrieval returns fragments about three different “Alices” and the LLM has no way to distinguish them.</p><p>The combination compounds. Graph traversal follows entity links to find causally related facts that embedding search misses. Temporal filtering scopes results to the right time window before semantic ranking even starts. Observations deliver pre-synthesized understanding instead of raw fragments. Each capability helps independently, but together they handle query dimensions that pure vector search fundamentally cannot.</p><h3>Why scores below 1M are noise</h3><p>In my opinion, any memory benchmark that fits inside a model’s context window is testing the wrong thing.</p><p>Here’s the proof: at BEAM’s 500K tier, the gap between systems shrinks dramatically. Context-stuffing competes with real memory architectures because the model can literally see everything. A system that spent engineering effort on entity resolution, temporal reasoning, and graph traversal scores similarly to one that just&amp;mldr; passes all the tokens in.</p><p>That’s not a memory evaluation. That’s an LLM attention benchmark.</p><p>The 10M tier exists precisely because it eliminates this escape hatch. At 10M tokens, the only thing that determines your score is the quality of your memory architecture — how well you extract, how well you connect, how well you retrieve. There’s no way to compensate for bad extraction by throwing more context at the model.</p><p>If you’re evaluating memory systems for agents that will run in production — agents that accumulate months of interactions, thousands of conversations, millions of tokens of history — the only number that matters is the one where context-stuffing can’t save you.</p><p>For Hindsight, that number is 64.1%.</p><p>Run BEAM against Hindsight locally, no API key needed. <a href="https://hindsight.vectorize.io/docs/quick-start/">Quick start</a> | <a href="https://arxiv.org/abs/2504.01076">BEAM paper</a> | <a href="https://hindsight.vectorize.io/beam/">Leaderboard</a></p><p><em>Originally published at </em><a href="https://nicoloboschi.com/posts/20260402/"><em>https://nicoloboschi.com</em></a><em> on April 2, 2026.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c8c9fb7553d4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[That’s not how you do business]]></title>
            <link>https://medium.com/@nicoloboschi/thats-not-how-you-do-business-646d3d542eec?source=rss-6ee8c79d8d85------2</link>
            <guid isPermaLink="false">https://medium.com/p/646d3d542eec</guid>
            <category><![CDATA[supermemory]]></category>
            <category><![CDATA[agentic-rag]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[agents]]></category>
            <category><![CDATA[ai-memory]]></category>
            <dc:creator><![CDATA[Nicolò Boschi]]></dc:creator>
            <pubDate>Tue, 24 Mar 2026 12:00:48 GMT</pubDate>
            <atom:updated>2026-03-24T14:00:32.645Z</atom:updated>
            <content:encoded><![CDATA[<p>TL;DR</p><ul><li>Supermemory published a “~99% SOTA” memory benchmark result that was actually a stunt — and the backlash was immediate and deserved.</li><li>Gaming benchmarks erodes trust in an industry that already has a credibility problem. Calling it a social experiment doesn’t fix that.</li><li>The same week, we launched Agent Memory Benchmark — open methodology, reproducible results, multi-dimensional scoring. Hindsight v0.4.19 posts its all-time best results on it.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/589/0*efPISLihG_O-mQap.png" /></figure><p>On March 22nd, Supermemory published a blog post claiming they “broke the frontier in agent memory” with a ~99% score on LongMemEval. The post had all the ingredients: a cool acronym (ASMR — Agentic Search and Memory Retrieval), diagrams, multi-agent orchestration, and the bold claim that “agent memory is now (probably) a solved problem.”</p><p>It went viral. 2 million views. People were sharing it, texting each other about it, news outlets picked it up. And then, predictably, the people who actually understand memory systems started pushing back.</p><p>The next day, Supermemory published a follow-up: it was a stunt. A “social experiment.” They said they left signs — the acronym was a joke, the April 1st release date was a hint, “we were having fun.” The ~99% result was real, they said, but not production-ready: 70 seconds of latency, 10k+ tokens per query, 12 parallel agents doing what one could do.</p><p>I think this deserves a direct response, because I work on this exact problem every day.</p><h3>The damage is real even if the stunt is fake</h3><p>Here’s the thing: it doesn’t matter that it was a stunt. The 2 million people who saw the original post didn’t see the follow-up. Most of them now believe that agent memory is “solved” at 99%. That’s the message that stuck.</p><p>Supermemory’s defense is that they “wanted to prove a point about how easy it is to game benchmarks.” But you don’t prove that point by&amp;mldr; gaming a benchmark and then celebrating how viral it went. You prove it by publishing the methodology showing how anyone could game it, and proposing a better standard. The stunt part added nothing except marketing reach.</p><p>And the “signs” they left? Come on. A funny acronym and an April Fools release date aren’t disclaimers. They’re plausible deniability. The original blog post was written to be taken seriously — detailed architecture, comparison tables, phrases like “fundamentally shifts what is possible.” If that’s a parody, it’s indistinguishable from the real thing. Which is exactly why 2 million people took it at face value.</p><h3>The actual technical problems</h3><p>Let me be specific about why the result is misleading, even setting aside the stunt framing.</p><p><strong>The 8-variant ensemble scoring.</strong> Their best result (98.60%) used 8 specialized prompt variants running in parallel. A question was “correct” if <em>any</em> of the 8 variants got the right answer. This is not how you evaluate a memory system. This is how you maximize the probability of getting lucky. Run enough diverse attempts and you’ll converge on 100% for any retrievable answer. It tells you nothing about what a user would experience in production.</p><p><strong>The benchmark itself is outdated for this purpose.</strong> LongMemEval has ~115k tokens of conversation data. Current models have million-token context windows. You can literally dump the entire dataset into context and score competitively. The benchmark was designed for an era when retrieval was hard — that era is over. Scoring high on it no longer proves your memory system is good; it proves your LLM can read.</p><p><strong>Latency and cost are not footnotes.</strong> 70 seconds per query. 12+ agents running per retrieval. This isn’t a tradeoff — it’s a system that cannot exist in production. Mentioning this in passing while leading with “99% SOTA” is dishonest framing, even if the numbers are technically accurate.</p><h3>The “social experiment” defense doesn’t hold</h3><p>Supermemory’s follow-up argues they were “tired of the benchmarking game being grifty” and wanted to show how easy it is to fool people. I get the frustration — the agent memory space has a real credibility problem with cherry-picked results and misleading comparisons.</p><p>But here’s the issue: you don’t fix a trust problem by breaking trust. The people who saw the original post and got excited? They didn’t learn anything about benchmark methodology. They either still believe the claim or they now trust the space even less. Neither outcome helps.</p><p>The follow-up introduces “MemScore” — a multi-dimensional scoring format (quality, latency, tokens). In my opinion, the idea itself is fine. But burying it inside a “gotcha, it was a stunt!” blog post ensures it will be remembered as part of the stunt, not as a serious proposal.</p><p>If the goal was genuinely to raise the bar on memory benchmarking, the path was straightforward: publish the scoring standard, show why existing benchmarks are insufficient, provide tooling. No stunts needed. I think the stunt was marketing first, and the methodology proposal was the recovery plan when the backlash hit harder than expected.</p><h3>What we did instead</h3><p>The same week, we launched <a href="https://agentmemorybenchmark.ai/">Agent Memory Benchmark</a>. No stunts. No viral marketing. Just the work.</p><p>AMB exists because I think the same thing Supermemory claims to think: that existing benchmarks are insufficient and that accuracy alone is a broken metric. The difference is we built the alternative instead of proving a point by gaming the thing we claim to oppose.</p><p>AMB measures accuracy, speed, cost, and usability together — because a system that scores 90% but costs $10/user/day is not better than one at 82% for $0.10. The entire evaluation harness is open and reproducible: methodology, judge prompts, answer generation prompts, everything. The choices that look like implementation details are where results actually get made or broken — a small change to the judge prompt can swing scores by double digits. We publish all of them. And critically, AMB includes new datasets for agentic workflows, not just the chatbot recall scenarios that LongMemEval was designed for.</p><p>Hindsight v0.4.19 posts its all-time best results on AMB:</p><ul><li>LoComo 92.0%</li><li>LongMemEval 94.6%</li><li>LifeBench 71.5%</li><li>PersonaMem 86.6%</li></ul><p>No ensemble tricks. No 8-variant best-of scoring. Single-query mode, one retrieval call, production-realistic latency. We run the same harness, against the same datasets, with the same methodology that anyone else can use. That’s the point — if your system is real, you should have no problem submitting to a benchmark you didn’t design and can’t control.</p><p>Running 12 agents to score 99% on an outdated benchmark and then calling it a “social experiment” when the backlash hits — that’s not how you do business. In my opinion, the bar is simple: submit your system to a benchmark you don’t control, publish numbers you can’t cherry-pick, and let engineers compare for themselves. Everything else is noise.</p><p>AMB is live at <a href="https://agentmemorybenchmark.ai/">agentmemorybenchmark.ai</a>. The repo is at <a href="https://github.com/vectorize-io/agent-memory-benchmark">github.com/vectorize-io/agent-memory-benchmark</a>. Run it against your own system. If something is broken, open an issue.</p><p><em>Originally published at </em><a href="https://nicoloboschi.com/posts/20260324/"><em>https://nicoloboschi.com</em></a><em> on March 24, 2026.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=646d3d542eec" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Open source is a trust system. AI is breaking the contract.]]></title>
            <link>https://medium.com/@nicoloboschi/open-source-is-a-trust-system-ai-is-breaking-the-contract-50bb5440eee2?source=rss-6ee8c79d8d85------2</link>
            <guid isPermaLink="false">https://medium.com/p/50bb5440eee2</guid>
            <category><![CDATA[agents]]></category>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[github]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[Nicolò Boschi]]></dc:creator>
            <pubDate>Mon, 16 Mar 2026 09:00:12 GMT</pubDate>
            <atom:updated>2026-03-16T14:52:10.941Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZAMbfiJnIJ0dAkg1uzFJOg.jpeg" /></figure><blockquote>TL;DR</blockquote><ul><li>The OSS contribution model is breaking — not because AI writes bad code, but because it lets people contribute without understanding what they’re changing.</li><li>AI can assist with review, but someone has to own the outcome with real understanding — not just “the tests passed.”</li><li>Drive-by contributions, AI-generated or not, should require human attestation of understanding before they consume maintainer bandwidth.</li></ul><p>I spent a few years as an Apache Pulsar PMC member and BookKeeper committer — both sides of the PR queue: contributing to other projects, reviewing contributions to mine. Now I build AI agents full time — Hindsight, at Vectorize, is a long-term memory system for agents. So when I say the current situation is a problem, I’m not coming at it from the outside.</p><h3>Why OSS worked in the first place</h3><p>Open source is a trust system. You open a PR, someone reviews it, someone merges it. That chain works because contributors have skin in the game — they use the software, they understand the codebase, they’re responsible for what they ship.</p><p>The slow friction of this process was a feature. It filtered noise. I started contributing to Apache BookKeeper before Pulsar — BookKeeper is a distributed write-ahead log, the storage layer underneath Pulsar. Getting a first PR merged there wasn’t fast. You had to understand the ledger lifecycle, the bookie failure semantics, the interaction with ZooKeeper. Reviewers pushed back hard if something wasn’t right. That slowness was doing something: it selected for people who actually cared about correctness in a system where correctness really mattered.</p><p>That’s how critical shared infrastructure gets built by strangers who trust each other enough to ship together.</p><h3>The real problem isn’t volume</h3><p>The framing everyone uses is the asymmetry: AI made generation cheap, review is still expensive. True, but incomplete. The deeper problem is that AI makes it easy to contribute without understanding what you’re changing.</p><p>When I used to review Pulsar PRs from first-time contributors, I wasn’t just checking correctness — I was checking whether they understood the locking model, the failure semantics, how the path interacts with the broker’s state machine. AI can generate code that passes every surface-level check and still be completely wrong for the specific invariants the system depends on. A diff that looks clean can silently violate a guarantee that took years of production incidents to encode.</p><p>The curl bug bounty collapse illustrates this. Valid vulnerability reports dropped below 5% of all submissions. The issue wasn’t just volume — it was that the submissions showed no evidence of anyone understanding how curl actually works. Daniel Stenberg described it as <em>“the apparent will to poke holes rather than help.”</em> OCaml maintainers rejected a 13,000-line AI-generated PR — not because it was obviously wrong, but because nobody on the submitting side had demonstrated they understood what they were changing, and the reviewers had no way to find out without doing all the work themselves. Godot’s co-founder Rémi Verschelde called the flood of AI slop PRs <em>“increasingly draining and demoralizing”</em> — 4,681 open PRs, each one requiring someone to determine whether the author understood the engine or just prompted their way to a diff.</p><p>Building Hindsight, I use AI constantly — generating code, iterating fast. That’s fine because I understand the codebase. I know why the memory extraction pipeline is structured the way it is, which invariants the retrieval layer depends on, what breaks if you change the flush semantics. The AI writes code; I own the outcome. When that ownership disappears, the PR is just noise dressed up as a contribution.</p><h3>The scarier part: reputation farming</h3><p>Low-quality PRs are annoying. What started happening in early 2026 is a different category.</p><p>An AI agent created a GitHub account and within days opened over 100 pull requests across dozens of repositories — Nx, ESLint plugins, Cloudflare’s workers-sdk. 23 were merged. It never disclosed it was automated. The pattern was named “reputation farming”: build a commit history fast, look legitimate, then use that credibility to insert something malicious.</p><p>The xz-utils attack — a single patient actor who spent years building fake identity and trust before getting commit access to a critical piece of infrastructure — nearly succeeded and was only caught by accident. Reputation farming compresses that same attack to days. It works precisely because shallow understanding is now undetectable at contribution time — a PR that looks correct, passes CI, and comes from an account with 23 merged commits is indistinguishable from one written by someone who actually knows the codebase. The OSS trust model was only as strong as the assumption that building real reputation takes real time. That assumption is gone.</p><h3>The bans aren’t anti-AI</h3><p>Most projects banning AI contributions aren’t against AI-assisted development. The distinction matters.</p><p>Ghostty bans AI-generated drive-by PRs. Mitchell Hashimoto builds Ghostty with AI tools himself. The ban isn’t about the tool — it’s about accountability. An engineer who uses Claude to write a PR, reads it, tests it, understands the change, and takes responsibility for the result — that’s fine. An agent that autonomously submits a PR with nobody in the loop is using the project’s review bandwidth as a free resource with zero reciprocal obligation.</p><p>An AI agent submitted a performance optimization PR to Matplotlib — technically sound, tests passing. A maintainer closed it citing the project’s policy against AI agent contributions. The agent published a blog post publicly accusing the maintainer of prejudice. It reached the top of Hacker News. The maintainer’s response: <em>“Responsibility for an agent’s conduct rests on whoever deployed it.”</em></p><p>That’s the principle missing from most of these situations. When I submitted PRs to Apache Pulsar, I was responsible for them — I’d debug the regression, write the fix, explain what happened. No human in the loop means no one to hold accountable, and the reviewer is doing 100% of the cognitive work.</p><h3>What could actually help</h3><p>If the problem is contributing without understanding, then most proposed solutions miss the point. Flagging AI-generated PRs tells you <em>who</em> submitted — it says nothing about whether they understood what they were changing.</p><p><strong>Require explanation of why the change is correct, not just what it does.</strong> A PR description that says “this replaces X with Y for performance” is not the same as one that says “this is safe because the path is only reached after the ledger is closed and the lock is no longer held.” The second one demonstrates understanding. AI can generate both, but a human who actually understands the codebase can tell the difference — and an AI-generated explanation of correctness should be treated with the same skepticism as AI-generated code.</p><p><strong>Human attestation on the understanding, not just the origin.</strong> Agent-authored PRs could require a human to explicitly state: “I read this, I understand the invariant it touches, I own the outcome if it breaks.” That’s different from disclosing AI origin. It puts the accountability where it belongs — on the human who decided this change was worth reviewing — and gives the maintainer something real to hold them to.</p><p><strong>Context is the actual missing ingredient.</strong> I think about this at Hindsight constantly — the hardest part of agent memory isn’t storing facts, it’s carrying the right context into the right decision. An agent contributing to a codebase has none of the accumulated knowledge that makes a contribution trustworthy: no memory of the production incidents that shaped the current design, no understanding of the invariants that aren’t written down anywhere. Projects that want to accept AI-assisted contributions will eventually need to solve this — either by building that context into the contribution process, or by requiring the human contributor to demonstrate they have it.</p><p><strong>Pay the people doing the hardest reviews.</strong> The natural friction of human-only contributions was the only thing keeping the workload manageable. AI removed that friction. The reviewers absorbing the new load — the ones who understand the locking model, who remember why that invariant exists — are the most valuable people in the project and the most likely to burn out first. Funding models that pay maintainers based on commit count or PR throughput reward the wrong thing. What actually needs compensating is deep review capacity: the people who can tell the difference between code that looks right and code that is right.</p><h3>Conclusion</h3><p>I spent years reviewing PRs in Apache PMC projects. Now I build AI agents full time. The tension between those two experiences isn’t theoretical for me.</p><p>In my opinion, drive-by contributions — AI-generated or not — should require human attestation of understanding before they consume maintainer review bandwidth. Not “the tests pass.” Not “the agent says it’s correct.” A human who has read the code, understands what invariant the change touches, and is willing to own the outcome if it breaks. Projects that don’t enforce something like this will lose their best maintainers first — because those are the ones doing the hardest reviews, and they’ll burn out before anyone else notices the queue is growing.</p><p>AI didn’t break the OSS contract. But it made contributing without understanding nearly free. That’s the thing that needs a solution.</p><p><em>Originally published at </em><a href="https://nicoloboschi.com/posts/20260316/"><em>https://nicoloboschi.com</em></a><em> on March 16, 2026.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=50bb5440eee2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Not all agents are the same: task agents vs interaction agents]]></title>
            <link>https://medium.com/@nicoloboschi/not-all-agents-are-the-same-task-agents-vs-interaction-agents-fb3b57d988c0?source=rss-6ee8c79d8d85------2</link>
            <guid isPermaLink="false">https://medium.com/p/fb3b57d988c0</guid>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[agents]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[llm]]></category>
            <category><![CDATA[ai-memory]]></category>
            <dc:creator><![CDATA[Nicolò Boschi]]></dc:creator>
            <pubDate>Wed, 04 Mar 2026 09:00:17 GMT</pubDate>
            <atom:updated>2026-03-06T14:30:19.771Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vfCxHEbHt3SUvjRqP56xyg.png" /></figure><blockquote><strong><em>TL;DR</em></strong><em>: Task agents and interaction agents have fundamentally different memory requirements. Latency budgets, retrieval quality bars, and even the question of </em>what to retrieve at all<em> behave differently enough that sharing the same stack is a mistake — and it fails in ways that are hard to attribute.</em></blockquote><p>Most agent frameworks are built around task agents: do a job, return a result. When teams reuse the same stack for interaction agents (personalization, assistants, support), the problems don’t show up as outages or errors. The system “works”; it just works noticeably worse than it should, and the gap is hard to pin on memory.</p><h3>Two kinds of agents</h3><p><strong>Task agents</strong> exist to complete a discrete job. Coding agents, research agents, data pipeline runners. The output is a PR, a report, a processed dataset. The conversation ends when the task ends.</p><p><strong>Interaction agents</strong> exist to maintain a relationship over time. Personalization engines, personal assistants, customer support, coaching. They’re not judged on one output but on how well the experience holds up over weeks or months.</p><p>The boundary is blurry. A coding agent that learns your style has interaction-agent properties. A support bot that dies after one session is basically a task agent with a chat UI. But the ends of the spectrum really do have different requirements.</p><h3>Latency</h3><p>Task agents are async by design. A coding agent that takes 10 minutes to ship a feature is fine — you context-switch and come back. Memory retrieval can be slow, re-ranking can be expensive; it barely matters.</p><p>Interaction agents live inside real-time conversation. Memory retrieval runs before every response, on every message, for every concurrent user. The latency budget is tight and the cost compounds at scale. Expensive per-query steps — cross-encoder re-ranking, graph traversals, multi-hop lookups — that are totally reasonable for a task agent become hard to justify when they’re happening thousands of times per second.</p><p>That creates pressure toward retrieval paths that are fast <em>by construction</em>. Not just fast after you micro-optimize for one query pattern, but structurally fast — pre-indexed, pre-aggregated, and designed for low latency.</p><h3>Search quality</h3><p>For task agents, retrieval quality requirements are surprisingly forgiving. You’re indexing a static, versioned corpus — a codebase, a document set, a database. Queries are well-scoped. If retrieval misses something important, the agent often gets told: the code doesn’t compile, the test fails, the dashboard is wrong. There’s a feedback signal.</p><p>Interaction agents retrieve from user knowledge — preferences, history, context, relationships. Two things make the quality bar much higher.</p><p>First, there’s usually no feedback loop. A bad retrieval still produces a plausible response. The agent has no idea it pulled the wrong thing. The user gets an answer that fits <em>some</em> version of their profile, just not the current one. The failure is invisible.</p><p>Second, injecting irrelevant or stale user context is actively harmful in a way that missing a file in a codebase isn’t. If you miss a relevant file, the output might be incomplete. If you inject a four-month-old preference into a personalization system, the output is confidently wrong in a way that erodes trust.</p><p>We had a user whose memory said they led a three-person team. In reality, they’d been running a twenty-person org for four months. Nothing contradicted anything — team size just never came up again. Every response was calibrated to a context that no longer existed. Retrieval was “working.” The quality bar was just wrong for the problem.</p><h3>Knowing what to retrieve</h3><p>This is the hardest difference, and it’s the one most frameworks don’t touch.</p><p>For a task agent, the retrieval query is usually obvious. “Fix this bug” → retrieve the relevant file, the error, the related tests. The task itself tells you what to look for. Retrieval is a fairly straightforward function of the input.</p><p>For an interaction agent, the retrieval query is a judgment call. A user says “recommend something for dinner.” What do you retrieve? Dietary restrictions? Past orders? Current location? Time of day? Preferred cuisines? Budget signals from past behavior? All of the above?</p><p>The right answer depends on which aspects of the user’s profile matter <em>for this specific request, right now</em> — and that’s not derivable from the text alone. Task agents retrieve from a narrow, known space. Interaction agents retrieve from a multi-dimensional user model where relevance is contextual and changes every turn.</p><p>Most systems paper over this by retrieving broadly and letting the model sort it out. That works until the context window fills with low-signal user history, latency blows out, or the model starts hallucinating preferences that were never retrieved because they were ranked below the cutoff.</p><p>The bet I think is worth making: retrieval relevance is a write-time problem. If you structure what you know about the user during ingestion — categorizing facts, tagging by domain, tracking which attributes matter for which kinds of requests — the retrieval query at turn time becomes simpler and more reliable. You’re not doing a broad similarity search over everything the user has ever said. You’re querying a structured model that already knows which facts belong in which contexts.</p><p>The tradeoff is real. Write-time structure forces you to make inferences early, before you have much signal, and wrong inferences are harder to debug than wrong chunks. But broad retrieval at query time has its own failure mode: it scales poorly, and the model’s ability to filter noise degrades as user history grows. At production scale, I think investing in write-time structure is the more defensible position.</p><h3>Error tolerance</h3><p>Task agents fail loudly — at least in the common case. Code doesn’t compile, tests fail, dashboards 500. The agent sees the error and retries. Memory mistakes are often recoverable within the same session. (The exception is high-stakes task agents — trading systems, medical workflows — where silent failure is just as brutal. But that’s a different problem domain with different tooling requirements.)</p><p>Interaction agents fail silently. Wrong context about a user still produces a coherent response. There’s no built-in signal — the agent doesn’t know it misfired, and the user often can’t tell <em>why</em> it feels off until trust is already damaged.</p><p>This asymmetry should shape what you build. Task agent retrieval can afford to be approximate — misses are visible, recoverable, and don’t compound across time. Interaction agent retrieval needs to be precise — a wrong retrieval doesn’t just taint one response, it shifts the perceived relationship.</p><h3>What this implies for tooling</h3><p>Task-agent tooling is mature. File systems, terminals, code interpreters, RAG over static corpora — that stack is well-understood.</p><p>Interaction-agent tooling is still catching up. The preference/memory layer — extracting, storing, and deduplicating user facts — is mostly solved at a basic level.</p><p>The harder problem is deciding <em>which subset</em> of those facts matters for <em>this</em> request, returning it fast, with no feedback loop to tell you when you got it wrong. Most stacks still punt that to “retrieve broadly and let the LLM deal with it (until the context window runs out).” That’s the part that’s still worth solving.</p><p><em>Originally published at </em><a href="https://nicoloboschi.com/posts/20260304/"><em>https://nicoloboschi.com</em></a><em> on March 4, 2026.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fb3b57d988c0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[AI won’t replace engineers, it will replace project managers]]></title>
            <link>https://medium.com/@nicoloboschi/ai-wont-replace-engineers-it-will-replace-project-managers-3c31abc5ed48?source=rss-6ee8c79d8d85------2</link>
            <guid isPermaLink="false">https://medium.com/p/3c31abc5ed48</guid>
            <category><![CDATA[project-management]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[claude-code]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[coding]]></category>
            <dc:creator><![CDATA[Nicolò Boschi]]></dc:creator>
            <pubDate>Sat, 28 Feb 2026 09:00:03 GMT</pubDate>
            <atom:updated>2026-02-28T17:16:22.607Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>TL;DR</strong>: AI coding agents collapse the translation layer between users and code — the exact thing PMs exist to provide. Engineers who move into that space are positioned to own the full product loop. The ones who don’t risk being squeezed out, not by AI, but by engineers who did.</p><p>The dominant narrative for the past two years is: AI will replace software engineers. Coding becomes obsolete. The job disappears.</p><p>That’s wrong. And I think the people saying it loudest don’t actually work in software.</p><p>What AI coding agents do is eliminate the cost of producing code. Not the cost of understanding systems, not the cost of knowing what to build — just the mechanical act of turning requirements into syntax. If your primary contribution was that mechanical act, yeah, you’re exposed. But that framing misidentifies where engineering value actually lives.</p><h3>What a PM actually does</h3><p>Project managers — also called product managers depending on the company and politics — exist for a specific reason: there’s a communication gap between users and engineers. Users know what pain they have. Engineers know what’s technically possible. The PM sits in the middle and translates.</p><p>That’s the job. Everything else — roadmaps, prioritization frameworks, sprint planning, requirements docs — is scaffolding around that core translation function.</p><p>The role got formalized because engineers historically didn’t want to talk to users. They wanted to build. Talking to customers was “someone else’s problem.” So a role emerged to own that interface. Over decades it grew into its own organizational function, career ladders, certifications, the whole thing. It was always a workaround for a cost problem — code was expensive, so you needed someone to carefully pre-process what got built. Now code is cheap. The workaround doesn’t hold.</p><h3>What AI agents actually shift</h3><p>AI coding agents don’t just make engineers faster. They compress the cost of building to near zero for anyone who understands the problem space.</p><p>And here’s the thing: understanding the problem space is exactly what engineers are supposed to be good at. Systems thinking, decomposing complex requirements, knowing what’s technically feasible and at what cost — that’s the actual hard part. It was always the hard part. Code was just the expression of it.</p><p>When code becomes cheap, the translation layer becomes unnecessary. An engineer can talk to a user directly, understand the pain, and ship a fix the same afternoon. No requirements doc. No sprint. No PM review.</p><p>I’ve done this. Sit on a call with a user, they describe a problem, you understand it technically in real time, ask the right questions, and start building before the call is over. That’s not possible when code takes weeks. When it takes an afternoon, a PM in the middle is just friction.</p><h3>Engineers who will thrive</h3><p>The engineers who come out ahead are the ones who were already doing both jobs imperfectly.</p><p>They were the ones who pushed back on product specs because “this is technically wrong,” who went directly to users to understand something before building it. They always had some product instinct — they just couldn’t fully act on it because writing code was the bottleneck.</p><p>That bottleneck is gone.</p><p>Now they can run discovery conversations, synthesize feedback, prioritize, and ship — without a PM in the loop. The engineer who does this well becomes a one-person product team. Not because they’re superhuman, but because the cost structure changed and they moved naturally into the space that opened up.</p><p>The concrete path is uncomfortable but simple: start taking the customer calls you’ve been avoiding, ask to sit in on user interviews, read the support tickets directly instead of getting a summary. The bottleneck was always time, not capability. Most engineers have the raw material for product instinct — they just never exercised it because there was no pressure to.</p><p>The engineers who will struggle are the ones who are there purely for the code. The algorithms, the elegance, the systems — but not the users, not the product, definitely not the “why.” That’s a real archetype. And I think it’s at risk, not from AI directly, but from becoming irrelevant to how companies actually function. If coding is cheap and you have no interest in understanding what to build or for whom, then a product-aware engineer with AI does your job cheaper.</p><p>That’s not comfortable to say. But most engineers in that position saw this coming and chose not to look.</p><h3>Technical PMs are in a rare position</h3><p>There’s one PM archetype that genuinely thrives here: the deeply technical one.</p><p>The PM who can read code, who understands system constraints, who knows when an engineer is bullshitting about complexity — that person becomes extremely valuable. They can collaborate with engineers as peers, challenge technical decisions with substance, and prioritize with real understanding of what’s cheap vs expensive to build.</p><p>In my opinion, this is the golden age for engineers who moved into product. They understand both sides natively. They don’t need to translate — they just make decisions.</p><p>But the non-technical PM? The one whose entire job is gathering requirements, writing user stories, running standups, and managing stakeholder expectations without technical grounding? That role is evaporating. Not eventually. Now. Because engineers with AI can do the requirements gathering, the roadmap thinking, the stakeholder communication — and also build it. You don’t need a separate role for the translation layer when the engineers can own the whole thing.</p><h3>The org structure change nobody talks about</h3><p>The signal is already visible in early-stage startups, where hiring norms move faster than enterprise org charts. Companies that raised in 2023–2024 are regularly running 6–8 person engineering teams with zero dedicated PMs. Not because they’re cutting corners — because the founders, often engineers themselves, just stayed in the user loop and never hired someone to sit between them and it.</p><p>That model is now reaching mid-size companies. The PM role doesn’t disappear overnight in a 500-person org — there’s too much inertia around titles and headcount. But the hiring bar is shifting. Junior PM and associate PM roles are getting quietly defunded. The ones that survive are either deeply technical or operating at a strategy level that’s effectively a different job entirely.</p><h3>What this means in practice</h3><p>If I had to point at one skill that differentiates engineers who grow from engineers who stagnate right now, it’s this: can you sit on a call with someone who has a problem and understand it well enough to know what to build?</p><p>Not formal user research. Not a structured interview. Just: do you have the instinct to ask the right questions, hear what the user actually needs vs what they say they need, and translate that into a technical decision on your own?</p><p>That’s the function the PM layer was providing. It’s the gap that opens up when PMs get reduced. Engineers who can fill it become irreplaceable. Engineers who can’t get dependent on someone else filling it — and that someone else is getting harder to justify hiring.</p><p>I think the “engineers will be replaced” story is a useful distraction for people who don’t want to engage with the more uncomfortable version: a specific, large, non-technical function inside software companies is losing its reason to exist. Engineers who move up into the product layer — who own the full loop from user problem to shipped solution — become more valuable. Engineers who don’t, get squeezed. And the non-technical PM layer is what gets eliminated in between.</p><p><em>Originally published at </em><a href="https://nicoloboschi.com/posts/20260228/"><em>https://nicoloboschi.com</em></a><em> on February 28, 2026.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3c31abc5ed48" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>