Writing

Essays on retrieval, agent systems, and evaluation — plus older engineering war stories. Long-form pieces where the argument is mine are published here; I also co-write the infra + AI newsletter Bits & Neurons with Vivek Chandela. Earlier posts appeared on the ShareChat engineering blog and Medium.

Series

Context as a ranking problem

Getting the right knowledge to the right agent at the right moment is a recommendation problem, and the field has two decades of answers.

  1. Agent Context Is a Recommendation Problem Deciding what an agent sees, out of everything it could see, under a hard budget, with position effects and no explicit feedback. Recommender systems have been solving exactly this for twenty years. Srijan Saket · Sep 2026 ·9 min read
  2. Context Aging: What an Agent Forgets While It Is Still Running Long-running agents don't fail when the window fills. They fail earlier β€” when what they observed forty calls ago is still in the context and no longer effective. Srijan Saket with Susnato Dhar · Sep 2026 ·15 min read
Series

Evidence-carrying systems

You cannot improve what you cannot locate. Three posts on making evidence, completion, and measurement legible enough to fix.

  1. Retrieval Is Not Delivery An agent can find the right evidence and still lose the detail that matters before the final answer. Measuring the whole path instead of the last step. Srijan Saket with Susnato Dhar · Aug 2026 ·9 min read
  2. Completion Is a Proof, Not a Status A coding agent is not finished when its stream closes. It is finished when its processes are dead, its output is drained, and its workspace is durable β€” and the runtime can show evidence for all three. Srijan Saket with Vivek Sharma · Aug 2026 ·9 min read
  3. Your Eval Has a Noise Floor Before you can tell whether a change helped, you have to know how much your benchmark moves when nothing changes at all. Usually nobody has measured that. Srijan Saket · Sep 2026 ·9 min read
Everything

All writing

2026

  • Srijan Saket with Susnato Dhar · Sep 2026 ·15 min read ·Context as a ranking problem

    Context Aging: What an Agent Forgets While It Is Still Running

    An agent read a pricing rule with two constant eras at tool call 12 β€” correctly, aloud, in its own reasoning. Two hundred and eighty calls later, the document it finished described the rule with one constant. Nothing had been truncated; the fact was in the context the whole time. Context rot, lost-in-the-middle and context poisoning are about how much, where, and what. This is about when β€” and why the fix is a durable tier the agent writes to at the moment of observation, reads back before it drafts, and is checked against by code before it is allowed to say it is done.

    Read →

  • Srijan Saket · Sep 2026 ·9 min read ·Context as a ranking problem

    Agent Context Is a Recommendation Problem

    We built the retrieval system, registered the tools, wrote careful descriptions, and the agent never called them. Not once. The instinct was to write better descriptions. The correct diagnosis was that we had built a catalogue and expected it to behave like a recommendation β€” and the difference between those two things is most of what recommender systems research has been about since the mid-2000s.

    Read →

  • Srijan Saket · Sep 2026 ·9 min read ·Evidence-carrying systems

    Your Eval Has a Noise Floor

    Re-judging a byte-identical artifact β€” same text, same rubric, same judge, one more pass β€” moved its score by four claims in sixty. Re-running an unchanged configuration moved it by about six. Which means any single-run improvement smaller than six claims was indistinguishable from running the same thing twice. Here is how to find your own floor, and what it costs.

    Read →

  • Srijan Saket with Vivek Sharma · Aug 2026 ·9 min read ·Evidence-carrying systems

    Completion Is a Proof, Not a Status

    A command in a remote sandbox wrote one unbroken 4 MiB line. The HTTP stream returned no output and no terminal event, the producer was still alive blocked on its pipe, and the request had already discarded the handle used to cancel it. To the caller the tool call was over. To the machine the computation had not ended. Four independent clocks settle at the end of an agent run, and most platforms compress all four into a single status field.

    Read →

  • Srijan Saket with Susnato Dhar · Aug 2026 ·9 min read ·Evidence-carrying systems

    Retrieval Is Not Delivery

    At baseline, a two-agent question-answering workflow found 65% of the expected facts while reading β€” but only 22% of that evidence survived the handoff to the writer, and 23% reached the final answer. Retrieval was never the bottleneck. The handoff was. Eight versions and 45 fixed questions later, here is what it took to measure the whole path instead of the last step.

    Read →

  • Bits & Neurons · Mar 2026

    Crash-Proof Custom Agents

    Orchestrating long-running AI agents is a distributed-systems problem, not a model-intelligence problem. Our first pass β€” Celery plus database flags β€” split-brained on every crash and cancel. The fix was a durable-execution plane (Temporal), coarse activity boundaries, and signal-based human-in-the-loop resumption.

    Read on Bits & Neurons →

  • Bits & Neurons · Jan 2026

    BYOC is not a Helm chart: Threat models and hard lessons

    β€œCan you run this in our environment?” hides a stack of security and ops requirements that don’t exist in SaaS: the buyer controls the runtime, the network, the databases, and can often inspect every artifact you ship. A walk through the threat model, the gaps a Helm chart leaves behind, and what it actually takes to ship bring-your-own-cloud safely.

    Read on Bits & Neurons →

2024

2022

2021

Subscribe

New posts here land in the RSS feed. For the newsletter, subscribe to Bits & Neurons on Substack →