# Context Engineering ![rw-book-cover](https://cdn.prod.website-files.com/65c81e88c254bb0f97633a71/69cbaaa5d3aab32815f8592a_Context-Engineering.png) URL:: https://www.langchain.com/blog/context-engineering-for-agents Author:: LangChain Blog ![rw-book-cover](https://cdn.prod.website-files.com/65c81e88c254bb0f97633a71/69cbaaa5d3aab32815f8592a_Context-Engineering.png) ## AI-Generated Summary Context engineering helps AI agents use the right information to do tasks well. It includes writing, selecting, compressing, and isolating context to manage what the agent remembers and uses. Tools like LangGraph and LangSmith make it easier to build and test these smart agents. ## Highlights > Context engineering is the art and science of filling the context window with just the right information at each step of an agent’s trajectory. In this post, we break down some common strategies — **write, select, compress, and isolate —** for context engineering by reviewing various popular agents and papers. ([View Highlight](https://read.readwise.io/read/01m32ncecj1vpm6cqz03b9x6p5)) > ![](https://cdn.prod.website-files.com/65c81e88c254bb0f97633a71/69cbaaa8d3aab32815f859f4_image-4.png) ([View Highlight](https://read.readwise.io/read/01m32ncp4j87ygwfk38peeqsb0)) > ![](https://cdn.prod.website-files.com/65c81e88c254bb0f97633a71/69cbaaa8d3aab32815f859e3_image-1.png) ([View Highlight](https://read.readwise.io/read/01m32ne4q4gng4kbvy827sd6pt))