Stay Hungry,Stay Foolish!

Context Engineering

Context Engineering

https://www.bilibili.com/video/BV1w3GNzeEHb/?spm_id_from=333.788.videopod.sections&vd_source=57e261300f39bf692de396b55bf8c41b

https://blog.langchain.com/context-engineering-for-agents/

 

Context engineering is becoming a craft that agents builders should aim to master. Here, we covered a few common patterns seen across many popular agents today:

  • Writing context - saving it outside the context window to help an agent perform a task.
  • Selecting context - pulling it into the context window to help an agent perform a task.
  • Compressing context - retaining only the tokens required to perform a task.
  • Isolating context - splitting it up to help an agent perform a task.

LangGraph makes it easy to implement each of them and LangSmith provides an easy way to test your agent and track context usage. Together, LangGraph and LangGraph enable a virtuous feedback loop for identifying the best opportunity to apply context engineering, implementing it, testing it, and repeating.

 

 

image

 

 

image-8

 

image-1

 

image-10

 

posted @ 2025-10-19 12:12  lightsong  阅读(5)  评论(0)    收藏  举报
千山鸟飞绝,万径人踪灭