Free field guide · 60-page PDF

The engineer's field guide to optimizing coding agents.

A structured curriculum for getting more performance per dollar and per token out of a production coding agent: architecture, retrieval, context engineering, inference economics, and evaluation.

01Reproduce a minimal SWE-agent loop, then instrument it
02Build BM25 + embeddings + AST + graph repository retrieval
03Apply context compression, model routing, and cache economics
04Prove gains on a Pareto frontier of cost, latency, and quality

We will email the PDF and occasional engineering notes. No spam; unsubscribe anytime.

What's inside

Five tracks, one capstone.

Track 01 · 10–12h

Coding-agent architecture

How real agent harnesses work, from mini-SWE-agent to production SDKs.

Track 02 · 15–20h

Retrieval & code localization

BM25, embeddings, AST, dependency graphs, RepoMap, and reranking.

Track 03 · 8–10h

Context engineering

Selection, compression, compaction, and memory policies that raise token utility.

Track 04 · 6–8h

Inference economics

Cache economics, model routing, and cascades: cost per task, not per token.

Track 05 · 10–15h

Evaluation & optimization

Outcome vs process metrics, and proving gains without regressions.

Capstone · 15h+

The context optimizer

A token-efficient context optimizer for a SWE-bench-style coding agent.

Who it's for

Engineers and technical leaders running a coding agent in production who want to cut cost and latency without losing task completion.

Prefer we do it with you? Request an agent review →

Get the field guide

Enter your work email above and we'll send the PDF plus the companion Insights series.

Get the guide