Context Engineering for Long-Running Agents

By LessonFolk

Keep an agent sharp over hours of work: treat the context window as a budget, compact history without losing the thread, keep memory outside the window, and delegate to sub-agents when it helps.

About 2 hours 6 lessons

Before this course

This course builds on:

Lessons

  1. Why long tasks go wrong

    About 20 min

  2. Budgeting the context window

    About 20 min

  3. Compaction: summarising without losing the thread

    About 20 min

  4. Memory outside the window

    About 20 min

  5. Sub-agents: delegating to a fresh context

    About 20 min

  6. One agent or several?

    About 20 min