All writing

Retrieval & RAG

Retrieval as evidence rather than authority: hybrid search, citation integrity, provenance and grounded generation.

Retrieval & RAG writing

6 min read

Read the Number From the Page, Calculate in Code

A language model can find the right two numbers in a 10-K and still return the wrong ratio. How an agentic document research workspace lets the model transcribe sourced inputs, while application code applies units and scale, executes the arithmetic and proves it again at release.

  • RAG
  • AI Agents
  • Evaluation
  • Observability
Read
8 min read

A Research Loop Remembers in Types, Not in Prose

How an agentic document research workspace keeps its memory as typed application state: PydanticAI agents propose, the application writes memory, runs the tools and decides when the loop ends. 101 of 120 long-document questions reached an accepted outcome.

  • RAG
  • AI Agents
  • Memory
  • Agent Architecture
  • Evaluation
Read
3 min read

RAG Can Provide Evidence. It Cannot Grant Authority.

Retrieved evidence can support an agent answer without becoming an authorization source. How hybrid retrieval, provenance, grounding checks, and bounded abstention keep the knowledge path separate from execution.

  • RAG
  • AI Agents
  • Security
  • Evaluation
Read
5 min read

63 Rescues, 0 Drops, and 2.4 Seconds

A cross-lingual reranker moved Recall@5 from 0.9563 to 1.0000. The aggregate is the least interesting number in that sentence, and the latency figure means less than it looks like.

  • RAG
  • Evaluation
  • Performance Engineering
  • Reliability
Read