<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>TIL — Saurabh Kumar</title><description>A collection of useful things I've learned.</description><link>https://saurabh-kumar.com/til/</link><item><guid>https://saurabh-kumar.com/til/weekly/2026-11-08.html</guid><link>https://saurabh-kumar.com/til/weekly/2026-11-08.html</link><title>Week of Sun, Nov 8, 2026</title><pubDate>Wed, 04 Nov 2026 15:25:30 GMT</pubDate><content:encoded>&lt;ul&gt;&lt;li&gt;&lt;figure class="quote"&gt;
&lt;blockquote cite="https://x.com/mattpocockuk/status/2117953152376799498"&gt;
&lt;p&gt;The way agents &amp;lsquo;read&amp;rsquo; code is different - good agents are all about gathering data about how the code works. They&amp;rsquo;ll prod around with it, execute parts of it.&lt;/p&gt;
&lt;p&gt;So &amp;lsquo;readability&amp;rsquo; to agents really means &amp;lsquo;verifiability&amp;rsquo;. How easy it is to mess about with that code to see it working.&lt;/p&gt;
&lt;p&gt;Let&amp;rsquo;s take this scenario:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;You have a huge module in your codebase that uses all sorts of complex performance tricks&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;It has 100% test coverage&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;A talented human would need an hour or two to get comfortable working in that module.&lt;/p&gt;
&lt;p&gt;An agent needs zero time. They verify it with the tests, poke about a bit, and they&amp;rsquo;re good to go.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;figcaption&gt;&amp;mdash; &lt;cite&gt;&lt;a href="https://x.com/mattpocockuk/status/2117953152376799498"&gt;Matt Pocock&lt;/a&gt;&lt;/cite&gt;, on code readability in the age of agents&lt;/figcaption&gt;
&lt;/figure&gt;&lt;p&gt;&lt;a href="https://saurabh-kumar.com/til/1793805930/"&gt;Permalink&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;&lt;a href="https://www.anthropic.com/research/agents-judgment-calls" rel="noopener external"&gt;Anthropic gave 50 data analysts&lt;/a&gt; a Claude Code agent and a realistic analysis with four open decisions. Each decision had two reasonable answers. In secret, a coin flip told the agent which answer to argue for. It had to argue honestly.&lt;/p&gt;
&lt;p&gt;The analysts picked the agent&amp;rsquo;s answer 86% of the time. Afterwards, 77% explained their answers with the agent&amp;rsquo;s arguments, sometimes word for word. Only 15% gave the agent credit. Analysts who said &amp;ldquo;it was my decision&amp;rdquo; picked the agent&amp;rsquo;s answer just as often as the rest.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;The coin flips alone predicted 82% of the final recommendations. The agent didn&amp;rsquo;t need to argue for the recommendation. It had already picked the inputs.&lt;/li&gt;
&lt;li&gt;With no instructions to argue for anything, Opus 4.8 gave the same five answers in 112 of 123 runs. Ten teams on one model agreeing is one model agreeing with itself.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;This is the limit of my &lt;a href="https://saurabh-kumar.com/til/1785844800/" rel="noopener external"&gt;meat proxy&lt;/a&gt; note. Rewriting AI output in your own words proves you read it. It doesn&amp;rsquo;t prove the decision was yours. For the two or three decisions that matter, write down your answer before you ask the agent.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://saurabh-kumar.com/til/1793625816/"&gt;Permalink&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;&lt;a href="https://github.com/earendil-works/pi/tree/main/packages/schema" rel="noopener external"&gt;pi-schema&lt;/a&gt; is a JSON Schema validator from the Pi monorepo that never calls &lt;code&gt;eval&lt;/code&gt; or &lt;code&gt;new Function&lt;/code&gt;. Mario Zechner says he built it with a single prompt. It compiles each schema into plain closures, so it stays fast in places that block code generation.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;The need is real.&lt;/strong&gt; &lt;a href="https://developers.cloudflare.com/workers/runtime-apis/web-standards/" rel="noopener external"&gt;Cloudflare Workers&lt;/a&gt; block &lt;code&gt;eval()&lt;/code&gt; and &lt;code&gt;new Function&lt;/code&gt;. &lt;a href="https://developer.chrome.com/docs/extensions/develop/migrate/improve-security" rel="noopener external"&gt;Chrome MV3 extensions&lt;/a&gt; cannot allow &lt;code&gt;'unsafe-eval'&lt;/code&gt;. Ajv, the default JSON Schema validator in JS, compiles schemas with &lt;code&gt;new Function&lt;/code&gt;. It broke MCP elicitation on Workers (&lt;a href="https://github.com/modelcontextprotocol/typescript-sdk/issues/689" rel="noopener external"&gt;typescript-sdk#689&lt;/a&gt;).&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;How people cope today.&lt;/strong&gt; Ajv can &lt;a href="https://ajv.js.org/standalone" rel="noopener external"&gt;generate validators at build time&lt;/a&gt;, but that only works for schemas you know in advance. The MCP SDK lists &lt;a href="https://github.com/cfworker/cfworker/tree/main/packages/json-schema" rel="noopener external"&gt;@cfworker/json-schema&lt;/a&gt;, an interpreter, as a peer dependency. Zod and ArkType have &lt;code&gt;jitless&lt;/code&gt; flags, and TypeBox falls back to its interpreter. Zod&amp;rsquo;s flag has to be set before any import that uses Zod (&lt;a href="https://github.com/colinhacks/zod/issues/5789" rel="noopener external"&gt;zod#5789&lt;/a&gt;).&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;The numbers.&lt;/strong&gt; Without eval, &lt;a href="https://github.com/earendil-works/pi/blob/main/packages/schema/README.md#benchmarks" rel="noopener external"&gt;the README&lt;/a&gt; puts a nested schema at 407 ns for pi-schema, 42 µs for TypeBox and 43 µs for cfworker. pi-schema passes 2,222 of the 2,223 core tests in the official suite.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Agents make this matter. An agent learns its tools from MCP servers while it runs: &lt;code&gt;tools/list&lt;/code&gt; returns each tool&amp;rsquo;s JSON Schema. You cannot compile those ahead of time, and the harnesses are moving to the edge. Pi&amp;rsquo;s &lt;a href="https://github.com/earendil-works/pi/blob/main/packages/chord/docs/next/decisions.md" rel="noopener external"&gt;Chord design notes&lt;/a&gt; plan a Cloudflare Durable Object driver, and &lt;a href="https://saurabh-kumar.com/til/1791374400/" rel="noopener external"&gt;Pi Durable&lt;/a&gt; already stores agent work as checkpointed tasks. The catches: these are the author&amp;rsquo;s own benchmarks, Ajv is not in the comparison, the package is not on npm yet, and TypeBox&amp;rsquo;s JIT still wins on small flat schemas (9 ns vs 31 ns).&lt;/p&gt;
&lt;p&gt;&lt;a href="https://saurabh-kumar.com/til/1793524067/"&gt;Permalink&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;</content:encoded></item><item><guid>https://saurabh-kumar.com/til/weekly/2026-11-01.html</guid><link>https://saurabh-kumar.com/til/weekly/2026-11-01.html</link><title>Week of Sun, Nov 1, 2026</title><pubDate>Sat, 31 Oct 2026 19:04:13 GMT</pubDate><content:encoded>&lt;ul&gt;&lt;li&gt;&lt;figure class="quote"&gt;
&lt;blockquote cite="https://x.com/unclebobmartin/status/2116512351491084344"&gt;
&lt;p&gt;Your job is not to use agents to help you write code. Your job is to lead the agents to help them write code.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;figcaption&gt;&amp;mdash; &lt;cite&gt;&lt;a href="https://x.com/unclebobmartin/status/2116512351491084344"&gt;Uncle Bob Martin&lt;/a&gt;&lt;/cite&gt;, paraphrasing the CTO of Proton&lt;/figcaption&gt;
&lt;/figure&gt;&lt;p&gt;&lt;a href="https://saurabh-kumar.com/til/1793473453/"&gt;Permalink&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;&lt;a href="https://github.com/nicobailon/skill-diet" rel="noopener external"&gt;nicobailon/skill-diet&lt;/a&gt; is an agent skill that slims your other agent skills, then proves the slim version still works. It runs each task with the old skill, the new one and no skill at all, 3 times each, and keeps the cut only if the new one scores at least as well.&lt;/p&gt;
&lt;p&gt;I ran it on three of &lt;a href="https://github.com/theskumar/agent-stuff/tree/main/skills" rel="noopener external"&gt;my skills&lt;/a&gt; with gpt-6-luna:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://github.com/theskumar/agent-stuff/tree/main/skills/adr" rel="noopener external"&gt;adr&lt;/a&gt;: &lt;code&gt;SKILL.md&lt;/code&gt; went from 13 KB to 1.6 KB, 30/30 before and after. With no skill it still passed 26/30. The model already knew ADRs.&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/theskumar/agent-stuff/tree/main/skills/notion" rel="noopener external"&gt;notion&lt;/a&gt;: 32/33 to 33/33 at 55% fewer tokens per run. With no skill, the agent did one-line edits with a whole-page replace and reported success.&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/theskumar/agent-stuff/tree/main/skills/web-browser" rel="noopener external"&gt;web-browser&lt;/a&gt;: 16 KB to 6.4 KB. The no-skill runs used twice the tokens of the old skill, because the agent explored the scripts by hand.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The size cut was not the best part. For a skill that wraps a tool, it checks every claim against the tool and your session logs. It found 16 places where my skills or scripts were wrong, such as &lt;code&gt;agent.mjs --domain x.com&lt;/code&gt; silently setting no allow-list. The rule I&amp;rsquo;m keeping: fix the tool&amp;rsquo;s error message before adding a line to the skill.&lt;/p&gt;
&lt;p&gt;The cost: 1,434 agent sessions and 23.5M tokens for three skills, and a &lt;code&gt;sandbox-exec&lt;/code&gt; profile, because the test agents kept finding my installed skills on disk.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/theskumar/agent-stuff/commit/1141998" rel="noopener external"&gt;The diet commit&lt;/a&gt; shows what got cut, and &lt;a href="https://github.com/theskumar/agent-stuff/blob/main/evals/skill-diet-report.md" rel="noopener external"&gt;the full report&lt;/a&gt; covers the method and the costs.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://saurabh-kumar.com/til/1793185490/"&gt;Permalink&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;&lt;a href="https://github.com/dj-bolt/django-bolt" rel="noopener external"&gt;django-bolt&lt;/a&gt; serves Django from a Rust server, with one Python worker thread per process. In an &lt;a href="https://github.com/huynguyengl99/python-api-frameworks-benchmark" rel="noopener external"&gt;independent benchmark&lt;/a&gt; it ran 1.6 to 1.7x django-ninja on real database endpoints. The catch: a slow sync handler must move to a thread pool, or every request in that process waits. Bolt decides at startup by scanning each handler&amp;rsquo;s source for ORM calls like &lt;code&gt;.objects.get&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;The scan reads only the handler. &lt;code&gt;return Order.objects.get(id=id)&lt;/code&gt; goes to the pool. &lt;code&gt;return services.get_order(id)&lt;/code&gt; runs the same query inline on the worker thread, and the whole process stalls until it returns. A codebase with a service layer hits this on nearly every route. The way out is async handlers: &lt;code&gt;async def&lt;/code&gt; puts the waiting in the signature, so it can&amp;rsquo;t hide one call down.&lt;/p&gt;
&lt;p&gt;A scan of one function sees what&amp;rsquo;s written there, not what it calls. A fact that has to cross calls belongs in the signature, which is Ron Minsky&amp;rsquo;s argument for &lt;a href="https://saurabh-kumar.com/til/1793070864/" rel="noopener external"&gt;types&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://saurabh-kumar.com/til/1793082111/"&gt;Permalink&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;&lt;a href="https://fishbowl.pastiche.org/2026/10/26/ai-skills" rel="noopener external"&gt;Charles Miller&lt;/a&gt;: &amp;ldquo;a skill that can be picked up in a few weeks, and will be obsolete in a few months, has no value outside the moment.&amp;rdquo; His mechanism: a prompt trick that works gets folded into the product and ships as the default a few months later. His analogy is the 1990s C belief that &lt;code&gt;++i&lt;/code&gt; beats &lt;code&gt;i++&lt;/code&gt;, which survived long after compilers erased the difference.&lt;/p&gt;
&lt;p&gt;He&amp;rsquo;s right about tricks, but not every AI skill is a trick. Verification, choosing context and deterministic gates depend on your problem, not the model, so no release absorbs them. Ron Minsky argues they &lt;a href="https://saurabh-kumar.com/til/1793070864/" rel="noopener external"&gt;matter more with agents&lt;/a&gt;. My test when I learn something: is this about the model or about the problem? Model tricks go in a skill file I can delete on release day.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://saurabh-kumar.com/til/1793078347/"&gt;Permalink&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;&lt;a href="https://www.youtube.com/watch?v=rUYP4C29yCw" rel="noopener external"&gt;Ron Minsky&amp;rsquo;s Bug Bash 2026 talk&lt;/a&gt; argues Jane Street&amp;rsquo;s old habits (rich types, expect tests, real code review) matter more with agents: they give the model fast, exact feedback and keep the code readable for the humans who own it. He goes the other way from &lt;a href="https://saurabh-kumar.com/til/1792238400/" rel="noopener external"&gt;the Claude Code team&lt;/a&gt; on review: its main job is keeping a human able to explain the system, not catching bugs.&lt;/p&gt;
&lt;p&gt;The idea I&amp;rsquo;m taking: expect tests. The test prints output, the expected text lives inline, and a change shows up as a diff of behavior, not just code. Python&amp;rsquo;s version is &lt;a href="https://github.com/15r10nk/inline-snapshot" rel="noopener external"&gt;inline-snapshot&lt;/a&gt;: &lt;code&gt;assert result == snapshot()&lt;/code&gt;, filled in by pytest.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Gotcha with agents: under &lt;code&gt;--inline-snapshot=fix&lt;/code&gt; (or &lt;code&gt;create&lt;/code&gt;, &lt;code&gt;review&lt;/code&gt;) every snapshot comparison returns True and the file is rewritten. An agent chasing green doesn&amp;rsquo;t need to delete a test; it re-accepts the wrong output. Keep acceptance with a human and never auto-fix in CI.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a href="https://saurabh-kumar.com/til/1793070864/"&gt;Permalink&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;</content:encoded></item><item><guid>https://saurabh-kumar.com/til/weekly/2026-10-25.html</guid><link>https://saurabh-kumar.com/til/weekly/2026-10-25.html</link><title>Week of Sun, Oct 25, 2026</title><pubDate>Fri, 23 Oct 2026 12:53:43 GMT</pubDate><content:encoded>&lt;ul&gt;&lt;li&gt;&lt;p&gt;&lt;a href="https://github.com/viewflow/seedkit" rel="noopener external"&gt;viewflow/seedkit&lt;/a&gt; is an agent skill that scaffolds a Django project by asking you questions, then writes only the parts you picked. The edge over cookiecutter: it also works on a live repo. &lt;code&gt;/django-seedkit add proper auth&lt;/code&gt; inventories what exists and wires the new package in midway: deps, settings, &lt;code&gt;.env&lt;/code&gt; example, CI step. A deterministic generator runs once, on day zero.&lt;/p&gt;
&lt;p&gt;The layout is the part worth copying. One &lt;code&gt;SKILL.md&lt;/code&gt; walks the questions and routes each answer to exactly one file in &lt;code&gt;references/&lt;/code&gt; (&lt;code&gt;auth.md&lt;/code&gt;, &lt;code&gt;billing.md&lt;/code&gt;, &lt;code&gt;tasks-celery.md&lt;/code&gt;, about 50 of them). Each file keeps only what the model gets wrong: current setting names, current packages. Their benchmark: Sonnet 5 with the skill passed 72 of 72 security and config checks across nine projects; Fable 5 without it missed about a quarter.&lt;/p&gt;
&lt;p&gt;The pattern generalizes past Django: one orchestrator skill that asks the questions, plus a reference pack per stack (Django, Next.js, Flutter). Seedkit ships only the Django pack today.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://saurabh-kumar.com/til/1792760023/"&gt;Permalink&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;&lt;a href="https://blog.google/innovation-and-ai/technology/developers-tools/embeddinggemma-2/" rel="noopener external"&gt;EmbeddingGemma 2&lt;/a&gt; puts text, code, images, video and audio (or a mix) into one 768-dimension vector, from a 740M open model under Apache 2.0. Image, video and audio tokens are spliced into the text sequence and run through one encoder, so a text query can find a video moment or a scanned PDF page without captioning or transcribing first.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;It&amp;rsquo;s not the quality leader. Text is flat against v1; the gain is code (MTEB Code 68.8 to 78.7). Audio (49) and video (51) scores are modest. All numbers are Google&amp;rsquo;s own.&lt;/li&gt;
&lt;li&gt;Every major vendor ships one-space multimodal embeddings now: &lt;a href="https://www.amazon.science/publications/amazon-nova-multimodal-embeddings-technical-report-and-model-card" rel="noopener external"&gt;Amazon Nova&lt;/a&gt;, Gemini Embedding 2, Voyage, Cohere, and the open Qwen3-VL-Embedding, which reports higher image and document scores but has no audio. Pick by constraint. EmbeddingGemma 2&amp;rsquo;s niche is open weights plus audio.&lt;/li&gt;
&lt;li&gt;Matryoshka truncation isn&amp;rsquo;t free: its MMEB score falls from 59.0 at 768 dimensions to 45.7 at 128.&lt;/li&gt;
&lt;li&gt;The interesting part is the system around the model. &lt;a href="https://github.com/ARahim3/DigUp" rel="noopener external"&gt;DigUp&lt;/a&gt; is local file search on it: one vector per photo, PDF page, video shot and 30 s of audio, each pointing back to its page or second, next to an FTS5 keyword index, because no embedding holds an invoice number exactly.&lt;/li&gt;
&lt;li&gt;DigUp fuses the two by turning cosine into a per-query z-score (how far a match stands out for this query), gating on it, and adding a word-coverage bonus. It beat reciprocal-rank fusion on their evals (R@1 0.88 vs 0.73) and can honestly say &amp;ldquo;nothing found&amp;rdquo;. Small, author-run eval.&lt;/li&gt;
&lt;li&gt;It also pins llama.cpp, records the model version in the index, and checks every upgrade against stored reference vectors. Vectors from two runtimes don&amp;rsquo;t mix, and nothing errors when they do.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a href="https://saurabh-kumar.com/til/1792411200/"&gt;Permalink&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;</content:encoded></item><item><guid>https://saurabh-kumar.com/til/weekly/2026-10-18.html</guid><link>https://saurabh-kumar.com/til/weekly/2026-10-18.html</link><title>Week of Sun, Oct 18, 2026</title><pubDate>Sat, 17 Oct 2026 12:00:00 GMT</pubDate><content:encoded>&lt;ul&gt;&lt;li&gt;&lt;p&gt;&lt;a href="https://claude.dev/blog/solving-code-review-at-anthropic/" rel="noopener external"&gt;How the Claude Code team does code review&lt;/a&gt;. Claude writes ~90% of Claude Code, so nobody reads every diff. They swapped &amp;ldquo;did a human read it?&amp;rdquo; for &amp;ldquo;which check, automated or human, should catch what could go wrong here?&amp;rdquo;, and optimise for the least human time per change, with revert and incident rates as the guardrail.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;The bit I missed on first read: review noise costs more when the author is an agent. A person waves off a nit in seconds; an agent fixes every one, which is a new commit and another full review. One PR ran 50+ rounds overnight, and ~59% of later findings were on code already there at round one. Fix: cap at three rounds, re-review only the new diff, flag the class of bug, never repeat a finding.&lt;/li&gt;
&lt;li&gt;The bot posts findings, never approvals. Human approvals (zero, one or two) are set by the change&amp;rsquo;s risk, not by who wrote it. Whoever prompted the agent counts as a reviewer, and an approval covers one commit, so an agent&amp;rsquo;s next push dismisses it.&lt;/li&gt;
&lt;li&gt;Their reviewer&amp;rsquo;s eval is their own past incidents and reverts, run daily. Noise is measured by what authors did with each comment: fixed it, said it was wrong, intentional, or not worth it.&lt;/li&gt;
&lt;li&gt;Versus &lt;a href="https://saurabh-kumar.com/til/weekly/2026-04-26.html#ankit-jain" rel="noopener external"&gt;Ankit Jain&amp;rsquo;s review layers I noted in April&lt;/a&gt;: this is the production version, with no spec-review layer and fast rollback under everything.&lt;/li&gt;
&lt;li&gt;Read the numbers carefully: the share of PRs reverted fell 40% while PR volume doubled, so the count of reverts still rose (~1.2x). Also: the authors sell the reviewer.&lt;/li&gt;
&lt;li&gt;Where I push back: &amp;ldquo;nobody needs a full mental model, ask Claude for an explainer of the slice you&amp;rsquo;re changing.&amp;rdquo; An explainer recovers what the code does, not why it was built that way, which is the &lt;a href="https://addyosmani.com/blog/comprehension-debt/" rel="noopener external"&gt;comprehension debt&lt;/a&gt; Addy Osmani (a co-author here) wrote about. People should spend review on whether to ship it and on direction, not line-level correctness.&lt;/li&gt;
&lt;li&gt;How I read it: had Claude explain it against my notes, then quiz me. The question I got wrong taught me the most.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a href="https://saurabh-kumar.com/til/1792238400/"&gt;Permalink&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;Rich Hickey&amp;rsquo;s &lt;a href="https://www.linkedin.com/pulse/ai-tool-rich-hickey-kjl8e" rel="noopener external"&gt;&amp;quot;&amp;lsquo;AI&amp;rsquo; is Not a Tool&amp;quot;&lt;/a&gt; vs Huahai Yang&amp;rsquo;s &lt;a href="https://yyhh.org/blog/2026/10/ai-is-a-tool" rel="noopener external"&gt;&amp;ldquo;AI Is a Tool. Using It Well Takes Skill.&amp;rdquo;&lt;/a&gt;. Hickey: a tool is something you wield, and wielding is where expertise comes from, so an LLM is automation you abdicate work to. Yang: a compiler also works unattended and is still a tool; the line is skilled use vs delegating without oversight. Arguing over the label is a dead end. What matters is which skill survives.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Hickey&amp;rsquo;s best line: you are &amp;ldquo;only a software update from everything you&amp;rsquo;ve &amp;rsquo;learned&amp;rsquo; being rendered obsolete.&amp;rdquo; Model quirks and prompt recipes expire. Verification, choosing context and domain judgment carry over to the next model.&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.sciencedirect.com/science/article/pii/0005109883900468" rel="noopener external"&gt;Bainbridge&amp;rsquo;s Ironies of Automation&lt;/a&gt; said it in 1983: automate the work and the operator is left monitoring, which needs the skill they stopped practicing. My rule: do the work, then ask the model. Don&amp;rsquo;t ask the model instead.&lt;/li&gt;
&lt;li&gt;Best reply to &amp;ldquo;LLMs are slot machines&amp;rdquo; in the &lt;a href="https://news.ycombinator.com/item?id=50063427" rel="noopener external"&gt;HN thread&lt;/a&gt;: a &lt;a href="https://en.wikipedia.org/wiki/Las_Vegas_algorithm" rel="noopener external"&gt;Las Vegas algorithm&lt;/a&gt; is random but always correct; only the runtime varies. Randomness plus a verifier gets you accuracy. Without the verifier you&amp;rsquo;re just pulling the lever.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a href="https://saurabh-kumar.com/til/1791892800/"&gt;Permalink&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;Small on-device models are getting good enough to sit in front of the big ones. &lt;a href="https://ndstudio.gov/posts/say-hello-to-rampart" rel="noopener external"&gt;Rampart&lt;/a&gt; from the National Design Studio redacts PII in the browser before a prompt reaches any LLM: regexes with checksum or structural checks for cards (Luhn), SSNs, emails, URLs and IPs, plus a fine-tuned MiniLM for names, phones, account numbers, government IDs and street addresses.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;14.7 MB Q4 ONNX (~15 MB with tokenizer), 98.4% private-term recall across seven Latin-script languages. p50 is 3.9 ms on WebGPU but 12.6 ms on the default WASM backend. OpenAI&amp;rsquo;s Privacy Filter is ~2.8 GB; Presidio scores 65% on the same test set.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;guard.protect()&lt;/code&gt; swaps PII for placeholders like &lt;code&gt;[GIVEN_NAME_1]&lt;/code&gt;, and &lt;code&gt;guard.reveal()&lt;/code&gt; fills them back into the reply. The LLM never sees the name; the user still does.&lt;/li&gt;
&lt;li&gt;Default-deny: every detected label is redacted except city, state and ZIP, so the assistant keeps coarse location without the street line.&lt;/li&gt;
&lt;li&gt;Know the gaps: names in non-Latin scripts recall ~14% (Hindi 6%, Arabic 5%), and it scores 86.4% on a hostile-input suite. The repo calls it harm reduction, not perfect protection.&lt;/li&gt;
&lt;li&gt;Same size class, different job: &lt;a href="https://cactuscompute.com/blog/whistle" rel="noopener external"&gt;Cactus Whistle&lt;/a&gt; is 16.9 MB speech-to-text in seven languages, 11 ms to first token on an M4 Pro CPU (Whisper base: 145 MB, 73 ms). It loads into the same engine as &lt;a href="https://huggingface.co/Cactus-Compute/needle3" rel="noopener external"&gt;Needle 3&lt;/a&gt;, their tool-calling model, so one call takes audio in and returns &lt;code&gt;set_lights(room=&amp;quot;kitchen&amp;quot;, on=false)&lt;/code&gt;. Voice commands for home automation with no cloud round trip.&lt;/li&gt;
&lt;li&gt;The pattern: a tiny specialist at the edge does one narrow job (redact, transcribe, route), and the big model only sees what it needs. Both sets of benchmarks are vendor-reported.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a href="https://saurabh-kumar.com/til/1791720000/"&gt;Permalink&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;</content:encoded></item><item><guid>https://saurabh-kumar.com/til/weekly/2026-10-11.html</guid><link>https://saurabh-kumar.com/til/weekly/2026-10-11.html</link><title>Week of Sun, Oct 11, 2026</title><pubDate>Sat, 10 Oct 2026 12:00:01 GMT</pubDate><content:encoded>&lt;ul&gt;&lt;li&gt;&lt;p&gt;&lt;a href="https://magazine.sebastianraschka.com/p/classifier-history-and-jev" rel="noopener external"&gt;Sebastian Raschka&amp;rsquo;s history of text classifiers&lt;/a&gt; puts numbers on why &lt;a href="https://typesafe.ai/blog/introducing-system-one-models-and-jev" rel="noopener external"&gt;Jev&lt;/a&gt; feels new. On IMDb, bag-of-words + logistic regression gets 89.9%, a fine-tuned ModernBERT about 95%, and Jev 96.5% zero-shot for $0.65 across 25k reviews. Under the hood it is likely still a pretrained transformer with a one-number head that scores each answer option. The hard part is broad training data and calibrated probabilities. What changes is the cost of starting: no labelling, training or hosting per task. Specialists still win on huge volume, the last point of accuracy, or data that can&amp;rsquo;t leave your network. Within a month &lt;a href="https://developers.openai.com/api/docs/guides/decisions" rel="noopener external"&gt;OpenAI&lt;/a&gt; and &lt;a href="https://commandline.microsoft.com/microsoft-decision-1-model-foundry/" rel="noopener external"&gt;Microsoft&lt;/a&gt; shipped the same yes/no, choice and score contract.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://saurabh-kumar.com/til/1791633601/"&gt;Permalink&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;&lt;a href="https://github.com/microsoft/mxc" rel="noopener external"&gt;Microsoft eXecution Container (MXC)&lt;/a&gt; is an embeddable SDK for running untrusted commands under OS-enforced policies, not a hosted sandbox service.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Defaults: Seatbelt on macOS, Bubblewrap on Linux, ProcessContainer on Windows. SDKs for Node, Rust, and .NET.&lt;/li&gt;
&lt;li&gt;Restricts filesystem and network access. macOS hostname allowlists need a caller-managed proxy; not every backend is a VM.&lt;/li&gt;
&lt;li&gt;Useful boundary: sandbox the command where it executes, not just the agent&amp;rsquo;s tool-composition script. Isolation limits damage; it does not make generated output trustworthy.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a href="https://saurabh-kumar.com/til/1791633600/"&gt;Permalink&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;&lt;a href="https://github.com/TannerMidd/pi-pocket/blob/3e6046612db4358b599da302d5c96bd407d9de5c/src/server/extensions/subagents.ts" rel="noopener external"&gt;Pi Pocket&amp;rsquo;s subagent implementation&lt;/a&gt; gives each worker a retained conversation and uses durable tasks to deliver messages and report answers. Request IDs and recorded answer IDs prevent duplicate delivery and reporting after restart. The idea worth stealing: make the handoff durable, not just the worker.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://saurabh-kumar.com/til/1791547202/"&gt;Permalink&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;&lt;a href="https://github.com/championswimmer/pi-subagent-manager" rel="noopener external"&gt;Arnav Gupta&amp;rsquo;s pi-subagent-manager&lt;/a&gt; makes context inheritance explicit. Nested threads receive their parent&amp;rsquo;s snapshot; independent roots start without its history. Threads stay around for steering and resume. I want synchronous coordination by default, forks for continuity and fresh context for independent review.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://saurabh-kumar.com/til/1791547201/"&gt;Permalink&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;&lt;a href="https://github.com/mitsuhiko/agent-stuff/blob/main/extensions/subagent.ts" rel="noopener external"&gt;Armin Ronacher&amp;rsquo;s subagent extension&lt;/a&gt; runs one observable Pi child at a time in tmux. The parent waits for the result, while I can attach to inspect or intervene. Worth preserving when adding hierarchy: synchronous coordination must not mean invisible execution.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://saurabh-kumar.com/til/1791547200/"&gt;Permalink&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;Back on &lt;a href="https://wisprflow.ai/" rel="noopener external"&gt;Wispr Flow&lt;/a&gt; after six months on local speech-to-text (&lt;a href="https://github.com/altic-dev/FluidVoice" rel="noopener external"&gt;FluidVoice&lt;/a&gt; with Parakeet, plus Whisper). Local transcription is fine. The cleanup is what&amp;rsquo;s missing: fixing misheard jargon ate the time dictation saved. Flow&amp;rsquo;s correction pass, OS-level integration and phone keyboard win. It matters more now because models follow high-level intent well: I speak the intent plus constraints in one go and let the LLM structure it. Whisper mode works even when you speak softly. Want to try it? My &lt;a href="https://wisprflow.ai/r?SAURABH2220" rel="noopener external"&gt;referral link&lt;/a&gt; gets you a free month of Pro, and I get one once you&amp;rsquo;ve dictated 2,000 words.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://saurabh-kumar.com/til/1791460800/"&gt;Permalink&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;&lt;a href="https://earendil.com/posts/pi-durable/" rel="noopener external"&gt;Pi Durable&lt;/a&gt; is Earendil&amp;rsquo;s experimental agent harness, shipped alongside Pi 1.0. &lt;a href="https://github.com/TannerMidd/pi-pocket" rel="noopener external"&gt;TannerMidd/pi-pocket&lt;/a&gt; is a mobile-first, multiplayer web app for Pi built on it.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Every model call and tool call is a task that checkpoints to storage (SQLite, JSONL, or memory) before moving on. Kill the process and a new one opens the same file and resumes.&lt;/li&gt;
&lt;li&gt;Recovery is per step: a cut-off model request is resent with the partial answer kept and marked aborted. A cut-off tool call reruns only if it is replay-safe; otherwise the model is told it was interrupted.&lt;/li&gt;
&lt;li&gt;A &lt;code&gt;requestId&lt;/code&gt; makes a submission exactly-once, so a client retrying after a crash gets the original back.&lt;/li&gt;
&lt;li&gt;Forks see the parent transcript up to the fork point without copying it.&lt;/li&gt;
&lt;li&gt;~15k lines total, small enough for an agent to read end to end.&lt;/li&gt;
&lt;li&gt;pi-pocket: restart the server mid-run and the work continues. Several people can watch, steer, or queue messages on the same session.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;npm start -- --access tailscale&lt;/code&gt; binds only to the tailnet address, so my phone gets it with no tunnel.&lt;/li&gt;
&lt;li&gt;The shift: the session lives in a SQLite file, not a terminal process, so the phone is just another client. Could replace my Moshi + tmux setup.&lt;/li&gt;
&lt;li&gt;Caveat: anyone who can steer runs shell commands as you.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a href="https://saurabh-kumar.com/til/1791374400/"&gt;Permalink&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;</content:encoded></item></channel></rss>