๐โโ๏ธ Introducing human-in-the-loop Middleware!
๐ต Tool calls can be risky and expensive! For certain tool calls you may want to get user feedback to approve, deny, or modify them before execution.
Our new middleware provides an easy off-the-shelf way to build this into your
๐ LangGraph v0.6.0 is here! This release brings:
โจ A new context API for cleaner, type-safe runtime dependency injection
๐ Dynamic model & tool selection for create_react_agent
๐ก๏ธ Enhanced type safety & autocomplete for graph building and invocation
๐๏ธ Durability mode for
Context engineering is the number one way to get your agents to perform well. But it's hard to get right!! DeepAgents handles some of the hardest (but most important parts) for you under the hood by:
๐ง compressing context w/ summarization
๐๏ธ offloading context w/ the file
Today we're releasing 0.2 of deep agents
๐The main addition here is a "backend" abstraction, which allows you to swap out the filesystem that deep agents use. Can be local filesystem, a database, remote vm, anything
Agent Harnesses like deep agents are becoming more important
MCP was missing key ingredient for agentic systems - until today!
A critical part of multi-agent workflows is human in the loop (HITL) functionality. Every agent in a system should be able to interact with a human supervisor.
With "elicitation" (announced today), MCP has taken
After a long discussion, we landed a first version of Elicitation to the MCP draft specification. Lots more to work on and to evolve. Take a look modelcontextprotocol.io/specification/โฆ
๐ฃ I'm giving a talk tomorrow at @_odsc west on context engineering w/ LangChain + LangGraph!
๐ Perhaps the biggest news with the LC + LG V1 releases is the rollout of our new, unified docs site. Check out our guide on context engineering w/ agents as a preview!
๐๐ ๏ธDynamic Tools in LangGraph Agent
Effective agents often need access to different tools throughout a single run. For example, you might want to force the agent to use a smaller subset of tools at the start.
Docs: langchain-ai.github.io/langgraph/how-โฆ
๐ฌ Starting TODAY: our new LangChain middleware series!
One deep-dive video per day covering @langchain's prebuilt middleware options.
๐คย Day 1: Human-in-the-Loop Middleware
Use this to require human review of risky tool calls before execution!
check out our new coding agent CLI, built on top of (in this order):
* deepagents (agent harness)
* langchain v1 (agent framework)
* langgraph v1 (agent runtime)
๐ปDeep Agents CLI
Using the deepagents package, we built a simple coding CLI as an example of a coding application you could build on top of deepagents
We added in a concept of memory so that it would remember instructions and guidance over time
Blog: blog.langchain.com/introducing-deโฆ
๐ฐ Not every task needs your most expensive model!
๐ Use dynamic model selection in LangGraph to auto-escalate from cheap to powerful models based on task complexity!