Overview

“Context” is the whole game — and most people fill it with noise. This hands-on Python intensive walks the full lifecycle of model context: what goes in, why, how to budget it, how to persist it, and how to defend it. By 4pm you'll have built, from scratch, a token-budget tracker, a FAISS vector store with RAG retrieval, multi-stage summarization pipelines, a sliding-window context manager, a 5-tier hierarchical memory system, and a red-team suite that throws 10+ jailbreak and injection attacks at your own agents — plus a Constitutional AI critique-revise loop to defend them. You'll leave knowing what “context” actually means, and how to engineer it.

Who this is for & what you'll need

🟣 Pro engineeringBuilt for working engineers.
💻 💪 Capable or 💵 subscriptionUse your own capable machine, or a paid hosted option below.
On your own machineInstall LocalLM and run open-source LLMs locally for free (for those with the hardware).
Or use the hosted optionOr use the OpenAI API / ChatGPT Plus, with Google Colab (Oobabooga) for the open-model work.

Where This Class Leads

What you leave able to do

  • re architect an agent as a stateless reducer
  • reconcile a failing retrieval by reranking and rewriting
  • reconcile a working set with the context window it must fit
  • reconcile an agents run with a tool that failed
  • select among agent architectures
  • synthesise a memory hierarchy for an agent
  • synthesise an agent that carries notes across its own runs

How you show it. Paired runs of the same multi-step task with the note store kept and cleared, where the cleared run repeats a step the noted run skips, plus the note text the agent wrote and the later turn that cites it.

Join Us

Want to schedule this class for your team?

Contact us: liz@themultiverse.school