Subscribe: Our changelog includes an RSS feed that can integrate with Slack, email, Discord bots like Readybot or RSS Feeds to Discord Bot, and other subscription tools.
deepagents v0.4
- New integration packages for pluggable sandboxes: langchain-modal, langchain-daytona, and langchain-runloop. See sandboxes guide and example data analysis tutorial.
-
Changes to conversation history summarization:
- Summarization now happens in the model node via
wrap_model_callevents. Due to this we retain the full message history in the graph state. - More accurate token counting.
- Summarization will now automatically trigger if a chat model raises a
ContextOverflowError(defined inlangchain-core). Currentlylangchain-anthropicandlangchain-openaisupport this.
- Summarization now happens in the model node via
-
We now default to the Responses API for model strings prefixed with
"openai:".Note: to disable data retention with the Responses API, use
langchain v1.2.0
create_agent: Simplified support for provider-specific tool parameters and definitions via a newextrasattribute on tools. Examples:- Provider-specific configuration such as Anthropic’s programmatic tool calling and tool search.
- Built-in tools that are executed client-side, as supported by Anthropic, OpenAI, and other providers.
- Support for strict schema-adherence in agent
response_format(seeProviderStrategydocs).
langchain-google-genai v4.0.0
We’ve re-written the Google GenAI integration to use Google’s consolidated Generative AI SDK, which provides access to the Gemini API and Vertex AI Platform under the same interface. This includes minimal breaking changes as well as deprecated packages in langchain-google-vertexai.See the full release notes and migration guide for details.langchain v1.1.0
- Model profiles: Chat models now expose supported features and capabilities through a
.profileattribute. These data are derived from models.dev, an open source project providing model capability data. - Summarization middleware: Updated to support flexible trigger points using model profiles for context-aware summarization.
- Structured output:
ProviderStrategysupport (native structured output) can now be inferred from model profiles. SystemMessageforcreate_agent: Support for passingSystemMessageinstances directly tocreate_agent’ssystem_promptparameter, enabling advanced features like cache control and structured content blocks.- Model retry middleware: New middleware for automatically retrying failed model calls with configurable exponential backoff.
- Content moderation middleware: OpenAI content moderation middleware for detecting and handling unsafe content in agent interactions. Supports checking user input, model output, and tool results.
v1.0.0
langchain
langgraph
If you encounter any issues or have feedback, please open an issue so we can improve. To view v0.x documentation, go to the archived content and API reference.