Topic · AI
Writing on agentic AI, RAG, and LLM craft
Essays on agentic platforms, RAG pipelines, evals, prompt design, and what it means to ship AI inside a B2B product without losing your shirt.
34 posts in this topic. See all writing.
Explore the work behind the writing: AI & B2B SaaS platforms ↗
A vendor pitch in March 2026 promised “99.7% retrieval accuracy” on a benchmark the vendor had built themselves, against questions the vendor had written, evaluated against a corpus the vendor had cleaned. That meeting is the unstated prior under “The half-life of a benchmark,” “Why your RAG retrieves the wrong thing 14% of the time,” and “Eval suites are the new release notes.” Across eleven pieces the cluster argues that the AI features most enterprise PMs are scoping right now will be obsolete before the next planning cycle, partly because the cost curve and the evaluation surface are moving faster than the roadmap can. “Pricing AI products by token is a trap” sits next to “The compounding cost of LLM context” because the unit economics of agentic workflows look fine in the demo and terrible in the third month of production. “AI eats QA before it eats engineering” is the operational corollary. The reader’s payoff from working through the cluster is a usable mental model for which AI bets compound and which expire on the slide deck, well before your CFO starts asking questions about gross margin in the Q3 review.
- Nov 2026AI5 min
Why most tokens go one way and most money goes the other
A team spent most of a quarter arguing about which single model should run their assistant. Then two sets of numbers came up in the room, and they turned out to describe the team's own feature list.
- Nov 2026AI5 min
Which steps in an agent actually need a chat model?
I took a five step content pipeline apart one box at a time. Only one box writes anything, and the box that runs most often is the one I'd pay least for.
- Nov 2026AI5 min
Where a model was made is now a procurement question
A security lead added one line about country of origin to a vendor questionnaire. We fixed most of it. One case we couldn't.
- Nov 2026AI5 min
I was mostly wrong about owning your own model
I had a whole list of reasons not to post train an open model. Then a payments team showed me how they'd split their traffic, and a message that just said TAKA GONE.
- Nov 2026AI4 min
Staring at a token leaderboard and not learning much about open models
About 60 percent of OpenRouter's tokens now come from Asia based providers, and the chart is being quoted as a verdict. It's a picture of price, taken from a crowd that was always going to chase price.
- Nov 2026AI3 min
What one agent task costs, worked out on the back of an envelope
Rough sums for a single agent task at Opus 5.5 prices and at the price of a cheap open model, until caching gets in the way.
- Nov 2026AI5 min
What '49 billion active' means if you plan to host a model yourself
A colleague sized a self hosted Mistral Large 4 at two graphics cards. It has about a trillion parameters, and mixture of experts is why both numbers are true.
- Nov 2026AI10 min
Token prices fell by about 70 percent and the bill went up anyway
Average token prices fell 3.3 times in a year and enterprise AI spending rose 5.4 times. I tried to explain that to a finance partner with a spreadsheet tab and a story about rickshaws.
- Nov 2026AI4 min
Two lines I keep adding to API specs
A note to myself about retries and who gets woken up, written because agent traffic on OpenRouter passed human traffic in early February and hasn't looked back.
- Nov 2026AI5 min
I wanted the cheap model everywhere. The spreadsheet had other plans.
I went into a planning meeting sure the model that costs a fraction as much should be our default. A colleague and a few made up numbers talked me down, mostly.
- Nov 2026AI5 min
Some models should answer, not write
A review queue of product images with a number next to each one, and what the person working it actually does with that screen. On decision models, and how many agent steps are a yes or no wearing a paragraph.
- Nov 2026AI4 min
Routing, caching and fine tuning, ranked by regret
Three ways to cut an AI bill, ranked by how sorry you'll be afterwards. One of them cost a platform engineer two weeks of grading.
- Nov 2026AI1 min
Planning for a four month gap
Open models have trailed the closed frontier by about four months, which is shorter than most roadmaps. I've started treating the model as a part I expect to swap.
- Nov 2026AI4 min
Open weights and open source are different things
A colleague asked in chat whether the models you can download are open source. The short answer is mostly no, and the longer one ends up being about a licence.
- Nov 2026AI4 min
Models that sleep, and a script that replaced five tool calls
A morning digest got cheaper when a second model read a month of its logs. The sleep framework and Anthropic's amended S-1 are the same loop, much bigger, and I'm less sure what to make of those.
- Nov 2026AI2 min
Models are leaving language
Models that prove new theorems and design drug candidates in days. An outsider's note on the fact that neither of them talks back.
- Nov 2026AI7 min
Four ways to pay for tokens, and who gets stuck with the bill
Subscriptions, consumption, outcomes and ads each push the risk of a runaway bill onto someone different. I ran one made up support agent through three of them and the same month came out as three different businesses.
- Nov 2026AI4 min
Four estimates of open model share, and what each one counted
Menlo says 19 percent, ETR says 34, Vercel says 56 and an a16z chart says about 60. I went through them one at a time, with uneven amounts of patience.
- Nov 2026AI4 min
Fast judgement is the next thing agents need
Two years went into teaching models to think longer. Most of what an agent does all day needs the other kind of thinking, the kind the tea man at Farmgate does without noticing.
- Nov 2026AI2 min
Decision models went from product to download in weeks
Jev raised $870 million on 9 October. By the end of the month a rival decision model ran on a Mac. I had to rewrite a line in a spec.
- Nov 2026AI2 min
Close to 200 trillion tokens in a week
OpenRouter went from 25 trillion tokens a week in May to about 194 trillion in late October. I couldn't feel that number, so I kept dividing it until I could.
- Aug 2026AI5 min
The expressway always feels faster.
We started the last year with reading articles that METR had measured experienced developers going 19% slower with AI while they believed they were going 20% faster. The more interesting thing happened in February 2026, when METR admitted it could no longer run the study, because it could not find enough developers willing to spend a day working without an AI tool.
- Jun 2026AI7 min
You can't sell SaaS seats anymore.
For fifteen years software was sold by the seat, one named user for one monthly fee, back when every seat was a person and the software only made that person faster. Then the agent started doing the work itself, and a single agent that clears what seven hundred people used to clear is an agent that empties seven hundred desks you were billing for. Sell that by the seat and your revenue shrinks in step with how well the thing works.
- May 2026AI7 min
Pricing AI products by token is a trap.
A Karwan Bazar fish caller has watched six pricing units come and go in thirty years, and the SaaS bhais selling AI agents are about to discover the per-token unit moves under them the same way the maund did when the ice started melting. The only shape that holds is per-outcome, and nobody has worked out how to bill it yet.
- May 2026AI6 min
The half-life of a benchmark.
MMLU was a real measurement in 2023 and a polite formality by 2025. HumanEval, GSM8K, MATH all went the same way. A benchmark is alive only as long as the gap between models still maps to something a customer can feel; once the labs train against it, the rate card on the wall becomes decoration.
- May 2026AI7 min
Stop typing tokens, start typing schemas.
Most agentic codebases treat the model's output as a string to parse. The clerk at counter no. 3 of Gulshan post office knows better. Schemas are the form, and tokens that don't match the form go nowhere.
- May 2026AI9 min
Why your RAG retrieves the wrong thing 14% of the time.
Six specific failure modes I keep meeting in production RAG over brand-voice corpora, in roughly the order I find them. Most teams discover them after launch, because their eval set was built from happy-path queries that never asked the awkward question.
- May 2026AI7 min
Eval suites are the new release notes.
The PR description has stopped being the changelog. The pass-rate movement on the eval suite is. v2.3 lifted retrieval-grounded quotes from 81% to 89%; that one line is the release note. Everything else is the annual-day speech.
- May 2026AI6 min
The compounding cost of LLM context.
Every agentic call drags the whole running history back into the prompt, and the meter on that ride is quadratic. Teams stop noticing because each individual hop feels cheap, the way a CNG passenger stops watching the meter once Mohakhali clears.
- May 2026AI6 min
AI eats QA before it eats engineering.
Everyone has been worrying about whether models will replace engineers. The role they have been quietly merging with for the last eighteen months sits one floor down, counting colonies on agar plates at 7am, and the technician is still on the seven o'clock bus.
- May 2026AI9 min
Tests are the spec now.
Specs rot in ninety days. Code, in an agentic codebase, rewrites at the speed of pull requests. The only artifact that can't rot is the test suite, because CI runs it on every push and a stale test fails. That changes whose job it is to write them.
- Apr 2026AI7 min
The agentic A/B test doesn't exist.
Classical A/B testing assumes humans branch. When both sides of the marketplace are agents, what's the control group?
- Feb 2026AI18 min
A field guide to RAG that doesn't lie.
Lessons from building retrieval against brand-voice corpora at Fortune 500 scale. What actually breaks, what to evaluate, and why retrieval is the easy part.
- Mar 2025AI5 min
The 3 prompts every PM eventually writes.
Draft me a strategy memo. Summarize this customer call. Is this a feature or a bug. The one you should worry about is the third.