
Ship great agents fast with our open source JS frameworks – LangChain, LangGraph, and Deep Agents. Maintained by @LangChain.
Joined January 2026
- Tweets251
- Following16
- Followers2.6K
- Likes195
@𝚕𝚊𝚗𝚐𝚌𝚑𝚊𝚒𝚗/𝚖𝚌𝚙-𝚊𝚍𝚊𝚙𝚝𝚎𝚛𝚜 2.0 is out! 🧵
Using MCP with your TypeScript agents up to MCP servers just got a lot simpler: support for the latest stateless version of MCP, tools that can check in with your users when they need something, much easier auth integrations, and a ton of QoL updates.
Here's what's new 👇
@𝚕𝚊𝚗𝚐𝚌𝚑𝚊𝚒𝚗/𝚖𝚌𝚙-𝚊𝚍𝚊𝚙𝚝𝚎𝚛𝚜 now supports the new stateless MCP spec, so there's no session to set up or keep alive between tool calls.
Servers that only speak the legacy protocol still work. 𝙼𝙲𝙿𝙰𝚍𝚊𝚙𝚝𝚎𝚛 figures out which version each server supports, or you can pin one with `mode: "modern"` or `mode: "legacy"`.
2
2
395
🧑🍳
Starting today, @LangChain’s Managed Deep Agents can bake your agent’s environment at deploy time. 🧑💻
No clone. No install. No repeated setup.
Drop in setup.sh or a Dockerfile. Bake once. Every new thread starts ready. 👇
You deploy, we provision! 🤝
Starting today, a @LangChain's Managed Deep Agent deploy provisions your Slack app for you 🤯
No manifest. No OAuth redirects. No bot tokens to copy around.
One command, and your agent says 👋 in Slack.
code reviews can be beautiful ❤️ thanks @shadcn!
Plugged the new @shadcn chat components into @LangChain_JS Deep Agents and one-shotted a full code review agent.
One reviewer per file, local sandbox, streaming live. Wild how fast this was 😍
🧑💻 full demo: github.com/langchain-ai/stre…
Agents are easy to demo locally. The hard part is shipping them inside a real app.
We published a deployment cookbook for @LangChain agents: full-stack examples with streaming UI, subagents, thread history, and production persistence notes across common JS frameworks 🚀
🧵👇
Most JS teams ship from @nextjs first.
The cookbook example keeps the agent inside App Router: Route Handlers expose /api/threads/..., SSE streams live events, and @langchain/react connects the UI.
Useful when you want one deployable app, not a separate backend.
1
2
363
Deep Agent gives you a well tested and full featured harness with everything you need.
☝️However LangChain gives you the building blocks to re-create a smaller subset of it for specific tasks that don't need a full harness.
`createAgent` is one of these building blocks 📚 docs.langchain.com/oss/javas…
Creating custom subagent hierarchies has become super easy w/ @LangChain_JS 😊
Build a custom support harness with subagents as plain tool calls.
The supervisor decides when to delegate. The tool body invokes a named specialist agent, so your orchestration stays simple TS.
🧵👇
Stay in control of what your agent streams to the UI with stream transformers!
👉 docs.langchain.com/oss/javas…
Do you know what your agent streams to the UI before it gets there?👀
We built stream transformers in @LangChain_JS so you can inspect and modify agent streams in-flight.
Redact sensitive data, reshape events, and emit custom channels before the frontend renders anything.
🧵👇
1
267
Stream more than just chat messages with custom stream channels!
👉 docs.langchain.com/oss/javas…
LangChain agents can stream more than messages 👀
Custom stream channels let your backend publish structured side-channel data like progress, citations, live metrics, or redaction stats straight into the frontend, e.g. live stats from tool calls or other agent sources:
1
2
229
Subagents shouldn’t disappear inside one assistant bubble. With Deep Agents streaming, UIs can subscribe to delegated work as first-class objects: task input, messages, tool calls, and status while the parent run continues.
📚 Docs: docs.langchain.com/oss/javas…
LangGraphJS 1.4.0 is out 🙌 with tons of new features 👀
👉 Drain/resume graphs safely
👉 recover from node failures
👉 bound runaway work with timeouts
👉 reduce checkpoint bloat with DeltaChannel for durable agents.
... and more!
Release notes: github.com/langchain-ai/lang…
🧵👇
1
286
Agents don't just need access to services.
They need access to where users actually work.
Browsers. Apps. Devices. Local state.
A look at how headless tools bring those capabilities directly into the agent loop.
1
140
Don't loose your customer when they switch between application views. useStream reconnects to your thread mid run and reconciles state and messages outside of runs, making UI thread management easy to manage 😊
Docs: docs.langchain.com/oss/javas…
It's crazy how many agent chat UIs still loose everything if I refreshes the app mid-run 😳🙈
Agents run for minutes: research, code gen, deep analysis. Losing all of that to a tab refresh isn't acceptable 🙅
@LangChain_JS agent streams are durable by default:
2
262
Streaming in LangChain/LangGraph now has one mental model across the stack: start a model, agent, or SDK stream, then read the same projections: .text, .reasoning, .output. Same async iteration, same final value.
One flow, everywhere. That's the win 🥇
A sweet example of what you can build with @LangChain streaming: a tiny multimodal bedtime story app where the story, illustrations, and narration audio arrive as they are generated.
Built with @langchain/react media hooks + LangGraph SSE streaming 🚀
As an upcoming parent, I keep imagining all the tiny routines ahead 😊👼
One I am especially excited for: using AI for making up bedtime stories.
So I built an app that creates one on demand: story, illustrations, and narration all streaming in together with @LangChain_JS ❤️
🗣️ New in @LangChain_JS 1.4.3: register streamTransformers on middleware.
Your reusable agent extensions can now ship their own v3 streaming channels alongside hooks and tools, merged at compile time with full TypeScript inference on run.extensions.
Same composability as middleware tools. Better encapsulation for packaged agent features 📦
ICYMI: You can now give your agents an in-memory TypeScript interpreter to enable some novel agent capabilities. Built using oxc and quickjs.
See this writeup on how to use it!
we're adding interpreters to our agents, and now so can you!
There's a lot of interesting patterns/ agent behaviors I've seen come across the timeline that depend on some way to run code (think PTC, CodeMode, RLM), but it's been hard to filter that down into an abstraction thats easy to work with. We've spent the last couple of weeks creating an abstraction to solve just that!
Expect me to yap more about this soon - there's a lot to talk about here that was hard to fit into a single post
Check out these features in deepagentsjs 1.9.0 🎉
Async subagents allow you to fan out parallel background tasks across multiple subagents while you keep the conversation going. Equip your agent with completion callback middleware to get results as soon as they are available.
BackendProtocolV2 ensures your agent treats images, videos, audio, and PDFs as first-class inputs using the read_file tool. Your agent can now reason about more than just text files.
Prompt caching optimizations ensure Claude models are now more token efficient.
🚀 deepagents 0.5 release
👉 Async subagents - kick off background tasks on any Agent Protocol backed server while you continue to interact with the main agent. Start multiple background tasks in parallel, keep the conversation going, and collect results as they come in. Tasks are stateful and maintain their own thread so you can send follow-up instructions mid-task without losing context or restarting from zero. Any Agent Protocol compliant server is a valid target. This means you have the flexibility of using LangSmith deployments or hosting async subagents using your own custom infra.
👉 Expanded multimodal support - your agent can now see images, listen to audio, watch video, and read PDFs. The read_file tool returns native content blocks, so your agent can reason across all these formats out of the box, unlocking a whole new set of workflows for your agents.
👉 Improved prompt caching - better token efficiency and lower costs for Claude models.
Try it out in deepagents v0.5, deepagentsjs v1.9.0
Learn more in the Deep Agents v0.5 blog.
blog.langchain.com/deep-agen…
Build structured generative UI with @LangChain + @CopilotKit ⚡
New docs show how to connect to CopilotKit’s @reactjs runtime to render dynamic UI from agent responses (not just text).
Covers custom endpoints, component registries, and structured output.
📚 Docs: docs.langchain.com/oss/javas…
🚀 deepagentsjs v1.9.0 is here! Here's what's new:
👉Async subagents - Kick off background tasks on any Agent Protocol backed server
👉Expanded multimodal support - allow your agent to understand PDFs, images, audio, and video files.
👉Improved prompt caching performance for Claude models
🧵1/3
Async subagents give the main agent five tools to manage background tasks: start_async_task, check_async_task, update_async_task, cancel_async_task, and list_async_tasks.
Unlike inline subagents which block the main agent until complete, async subagents are fire-and-forget - they return a task ID immediately and execute independently. The main agent can start multiple async subagents in parallel, keep the conversation going, and collect results as they become available.
Tasks are stateful and each one maintains its own thread. This allows you to send follow-up instructions mid-task without losing context.
Any Agent Protocol compliant server is a valid target. This gives you the flexibility to use LangSmith deployments or to host an async subagent on your own infra!
🧵2/3
github.com/langchain-ai/deep…
You have build a middleware? Share it with us!
we're building out a community middleware page for @LangChain, and we need your help growing it.
agent middleware is one of the most powerful building blocks we've shipped. what are you building with it?
docs.langchain.com/oss/pytho…
1
261


















