Edge of Context

Practical field notes on the parts of AI systems that have to survive production: agents, evaluation, security, memory, retrieval, model engineering, and infrastructure. Recursive Harness Engineering follows one path: build the harness, evaluate its behavior independently, then automate the search for improvements. Start with one of the series below, or browse every article by topic.

Series · Parts: 4

Recursive Harness Engineering

Harness engineering first, then recursive improvement.

Open the lab →

Swipe through the parts →

  1. 01 Designing an agent harness: from task to architecture 29 min
  2. 02 Agent or workflow: five designs for one support assistant 24 min
  3. 03 Evaluating an agent harness with the model held fixed 45 min
  4. 04 Closing the loop: a program that improves an agent harness 41 min

Series · Parts: 6

Engineering the Agentic Stack

In order. Start at the loop.

Open the lab →

Swipe through the parts →

  1. 01 AI Agent Reasoning Loops: ReAct, ReWOO, Plan-and-Execute 15 min
  2. 02 AI Agent Memory Architecture: Checkpoints and Vector Stores 26 min
  3. 03 AI Agent Tool Use: MCP, CLI, Skills, and Code Execution 23 min
  4. 04 AI Agent Security: Permissions, Sandboxes, and MCP Threats 26 min
  5. 05 Long-Running AI Agent Runtime: Sessions and Checkpoints 30 min
  6. 06 Harness Engineering for AI Agents: Verifying Completion 20 min

Series · Parts: 4

Reading the Math in AI Papers

Equations from AI papers, read symbol by symbol.

Open the lab →

Swipe through the parts →

  1. 01 How to read the math in arXiv AI papers: a practical guide 58 min
  2. 02 Reading architecture equations: RoPE, MLA, MoE and LoRA 16 min
  3. 03 Reading training objectives: distillation, DPO and GRPO 14 min
  4. 04 Reading the ELBO, diffusion loss, pass@k and scaling laws 12 min

Guides and fast answers

All articles 42