Summary: Getting all and only the relevant context into each model call: prompts, retrieved knowledge, memory, conversation history, tool results, and output schemas. Context is what separates generic output from “gold”. It’s also the lever on cost (lean context lets small models succeed) and on reliability (irrelevant tokens measurably lower task success, and unmanaged context makes any model dumb). Treat the context window like RAM: write (what enters state, scratchpads, long-term memory), select (retrieve the right thing at the right moment), compress (offload to files, summarize with intent), and isolate work in sub-agents. Keep always-loaded files small, prefer discoverable files over tools the agent must remember, feed current library docs to beat the model’s knowledge cutoff, keep prompt prefixes stable for caching, and capture off-repo context (meetings, Slack) with the reasons behind decisions.

Key ideas

Disagreements & open questions

Takeaways

wiki-retrieval · llm-wiki · agent-ready-codebase · model-selection · agent-memory