Engineer Atlas
OverviewLearnArchitecture FinderPlaygroundFrameworksRoadmapPracticeInterview
OverviewLearnArchitecture FinderPlaygroundFrameworksRoadmapPracticeInterviewHiring GuideCheat SheetCompare
Agentic Engineering
  • Fundamentals
  • Agent Architecture
  • Tool Calling
  • RAG Engineering
  • Context Engineering
  • Memory & State
  • Planning
  • MCP — Model Context Protocol
  • Multi-Agent Systems
  • Human-in-the-Loop
  • Evaluation & Testing
  • Observability
  • Guardrails & Security
  • Reliability Engineering
  • Frameworks
Agentic/Learn/Context Engineering

Context Engineering

Constructing the information an agent sees: selection, compression, ordering, budgets.

Context Engineering
▶ interactive

The context window is the only input the model has; assembling it deliberately from instructions, request, history, retrieved knowledge, tool results, memory and state is the real program you are writing.

Context Selection & Compression

Decide what earns a place in the window, then shrink it: summarise history, truncate tool output, and extract facts instead of pasting raw dumps.

Context Ordering & Lost in the Middle

Models attend unevenly across the window: content at the start and end is used reliably, content in the middle is often ignored — so order the context on purpose.

Token Budgets

Give every context section a token budget, measure real usage with the tokenizer, do the cost arithmetic before launch, and use sliding windows so history has a fixed size.

Dynamic Context Assembly

Build the context fresh at every step from state, retrieval and tool results; keep the stable prefix byte-identical for caching; and prefer code over templates once logic appears.

Engineer Atlas
GitHub·LinkedIn