How a model finds material, remembers a user and calls tools, and how agents are built and observed.

14 core notes, about 1.5 h. 10 deep dives fold under the notes they extend.

Search6 core · 1 deep

Finding the right material: keyword and vector search, indexes, reranking, and RAG errors

  1. Search: How Does a Model Find What It Does Not Currently Know?From keyword scores to dense vectors, indexes, fusion and reranking, then RAG errors5 min
  2. TF-IDF and BM25: how keyword retrieval scores a documentFour tiny documents: TF-IDF rewards a repeated word, BM25 tips to the shorter one11 min
  3. Dual encoders: why encode queries and documents separately?Documents encoded ahead, queries on demand: one contrastive step, and stale indexes10 min
  4. Choosing between Qwen3 Embedding and BGE-M3Last token versus CLS, instructions or none: same 1024 dims, yet indexes don't mix11 min
  5. Too many vectors: searching faster without losing too much10M 768-d vectors take 28.61 GiB: what IVF, PQ and HNSW each trade away6 min
  6. Hybrid retrieval and reranking: does another source actually help?BM25's 12.4 and a cosine of 0.81 don't add up: fuse ranks with RRF, then rerank6 min
  7. RAG found the document. Why is the answer still wrong?A cited but outdated notice: was the evidence not found, not kept, or not used?6 min

Memory and long-term use1 core · 3 deep

Remembering a person: writing, updating and forgetting, and whether long use really helps

  1. Representation and Memory: How Should a Model Remember a Person?Four jobs of memory, and why averaging 8 ML and 2 jazz interactions loses the jazz6 min
  2. After writing a memory: updates, conflicts, and forgettingA week's exception to a standing preference: two clocks, expiry, and real deletion9 min
  3. Model experience: does the assistant get more useful over time?Fewer corrections, yet worse: counting dropouts, no memory completes 36%, memory 72%9 min
  4. Personal AGI: What Does a Model That Truly “Knows You” Need?Which old judgments still apply, and why three beach picks may prove little9 min

Agents5 core · 4 deep

When an agent is worth it: common patterns, one or many, connecting tools, choosing models

  1. Agents: what an agent actually isModel, tools, loop, stop rule; three checks before an agent, then prompts to routing5 min
  2. Choosing an agent model: APIs, self-hosting, and routingChoose model, host and compute separately; at equal cost, bad routing loses a task11 min
  3. Prompting, ICL, and CoT: Define the Task FirstExtracting a date and place: fix the contract first, then decide on examples or CoT4 min
  4. Agents: common building blocksFive workflows and one agent: who picks the next step, traced through a booking query5 min
  5. One agent or several: when splitting pays offThree independent subquestions: 130 s falls to 60 s, but tokens grow from 53k to 71k17 min
  6. Deep Research: Organizing Multi-Step ResearchLibrary hours as a question queue: five parts, and why five reprints are one source5 min
  7. Agents: how they are used in different settingsAt 90% per run, 8 tries almost surely yield one pass; all 8 correct is only 0.435 min
  8. Agent tools: function calling, MCP, and skillsThe model proposes calls, MCP connects, a skill holds the steps; the app executes9 min
  9. Agents: review questionsReview: when to skip agents, 95% per step over 20 steps, and cascades versus routing5 min

In production: observability and people2 core · 2 deep

Results depend on more than the model: the failing step, handing over, advising

  1. Modern AI Systems: The Model Is Only One PartA refund-capable support agent: how data, memory, retrieval and tools shape results11 min
  2. Human-in-the-Loop: When Should a Human Step In?Review pays 3 when an error costs 100, loses on drafts, and needs people to keep up10 min
  3. LLMs for decision support: helping people decide without deciding for themAI at 80%, people at 70%: splitting by confidence reaches 85%, a useless signal 76%17 min
  4. AI Agent Observability: What Did the Agent Actually Just Do?Friday booked as Saturday, tool “success”; parallel spans: 1,200 ms, not 1,4009 min