Skip to content

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Oct 20, 2025

Bumps langchain from 0.3.36 to 1.0.1.

Release notes

Sourced from langchain's releases.

langchain==1.0.0

🎉 LangChain v1.0 is here! This release provides a focused, production-ready foundation for building agents. We've streamlined the framework around three core improvements: createAgent, standard content blocks, and a simplified package structure. See the release notes for complete details.

✨ Major Features

createAgent - A new standard for building agents

createAgent is the new standard way to build agents in LangChain 1.0. It provides a simpler interface than createReactAgent from LangGraph while offering greater customization potential through middleware.

Key features:

  • Clean, intuitive API: Build agents with minimal boilerplate
  • Built on LangGraph: Get persistence, streaming, human-in-the-loop, and time travel out of the box
  • Middleware-first design: Highly customizable through composable middleware
  • Improved structured output: Generate structured outputs in the main agent loop without additional LLM calls

Example:

import { createAgent } from "langchain";
const agent = createAgent({
model: "anthropic:claude-sonnet-4-5-20250929",
tools: [getWeather],
systemPrompt: "You are a helpful assistant.",
});
const result = await agent.invoke({
messages: [{ role: "user", content: "What is the weather in Tokyo?" }],
});
console.log(result.content);

Under the hood, createAgent is built on the basic agent loop—calling a model using LangGraph, letting it choose tools to execute, and then finishing when it calls no more tools.

Built on LangGraph features (work out of the box):

  • Persistence: Conversations automatically persist across sessions with built-in checkpointing
  • Streaming: Stream tokens, tool calls, and reasoning traces in real-time
  • Human-in-the-loop: Pause agent execution for human approval before sensitive actions
  • Time travel: Rewind conversations to any point and explore alternate paths

Structured output improvements:

  • Generate structured outputs in the main loop instead of requiring an additional LLM call
  • Models can choose between calling tools or using provider-side structured output generation
  • Significant cost reduction by eliminating extra LLM calls

Example:

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Oct 20, 2025
Bumps [langchain](https://github.com/langchain-ai/langchainjs) from 0.3.36 to 1.0.1.
- [Release notes](https://github.com/langchain-ai/langchainjs/releases)
- [Commits](https://github.com/langchain-ai/langchainjs/commits/langchain==1.0.1)

---
updated-dependencies:
- dependency-name: langchain
  dependency-version: 1.0.1
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/langchain-1.0.1 branch from 844ab83 to 4cdc45a Compare October 25, 2025 15:50
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Oct 27, 2025

Superseded by #108.

@dependabot dependabot bot closed this Oct 27, 2025
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/langchain-1.0.1 branch October 27, 2025 19:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant