Skip to content
  1. Home
  2. Guides and documents
  3. Context Engineering

Context Engineering

First-principles handbook on designing what goes into context

What it is

A handbook-style repository on context engineering, the practice of deciding what information a model sees at each step. It turns recent research into progressive lessons, visuals and templates, includes a course under construction and ships agent command files for Claude Code and similar tools. Formerly hosted under davidkimai.

Good for

  • Learn context design beyond single prompts
  • Reuse context templates in an agent
  • Read summaries of recent research
Worth knowingDense and heavy on the author's own metaphors and terminology; the course section is unfinished.

Sources

The summary is ours, written from the README. Spotted an error? See how we work.

More for learning

See the topic →
  • Generative AI for Beginners

    microsoft/generative-ai-for-beginners

    21-lesson course on building generative AI applications

    GuideGitHub stars: 123k
  • LLM Course

    mlabonne/llm-course

    Free roadmap and Colab notebooks for learning LLM engineering

    GuideGitHub stars: 85k
  • Prompt Engineering Guide

    dair-ai/Prompt-Engineering-Guide

    Reference guide to prompting techniques, papers and notebooks

    GuideGitHub stars: 80k
  • AI Agents for Beginners

    microsoft/ai-agents-for-beginners

    Lesson-based course on the fundamentals of building AI agents

    GuideGitHub stars: 80k