A field guide to context engineering

Learn to engineer the context window.

The patterns behind reliable AI agents, explained one technique at a time.

3foundations
2techniques
Context Windowthe working set
Agent Skillsskill.md
Token Budgetingallocate
Context Rotdecay
Subagentsdelegate

The Catalog

Start with the foundations, then reach for a technique.

2 sections · 5 articles
Read first

Foundations

The mental model: what context is, how the window works, and where tokens go.