LangChain OSS

284 posts

LangChain OSS banner
LangChain OSS

LangChain OSS

@LangChain_OSS

Ship great agents fast with our open source frameworks – LangChain, LangGraph, and Deep Agents. Maintained by @LangChain.

Katılım Ocak 2026
5 Takip Edilen3.6K Takipçiler
LangChain OSS retweetledi
Sydney Runkle
Sydney Runkle@sydneyrunkle·
you can now build RLMs with Deep Agents! the more context agents accumulate, the worse they perform, a phenomenon called context rot. RLMs, proposed by @a1zhang from MIT, help: instead of working model turn by turn, the model runs code in a REPL that dynamically dispatches subagents and recurses over the input.
Sydney Runkle@sydneyrunkle

x.com/i/article/2072…

English
6
9
40
7.6K
LangChain OSS retweetledi
Sydney Runkle
Sydney Runkle@sydneyrunkle·
another new AI buzzword? what the heck are "dynamic subagents"? they're subagents your main agent calls from code, not a tool call. because it's code, you get loops, conditionals, concurrency: patterns that can't be expressed well via turn-by-turn tool calls
Sydney Runkle@sydneyrunkle

x.com/i/article/2071…

English
1
2
35
4.7K
LangChain OSS retweetledi
Sydney Runkle
Sydney Runkle@sydneyrunkle·
this blog covers 6 common workflow patterns we see with dynamic subagents (fanout and synthesize, adversarial verification, etc) if you'd prefer to learn w/ a video, check out this excellent guide from @colifran_ with examples and trace walk throughs!
Sydney Runkle@sydneyrunkle

x.com/i/article/2071…

English
3
21
110
19.8K
LangChain OSS retweetledi
Mason Daugherty
Mason Daugherty@masondrxy·
Masterclass deep-dive into programmatic spawning of subagents - highly encourage taking a look! @colifran_ dropping elite ball knowledge per usual
Sydney Runkle@sydneyrunkle

this blog covers 6 common workflow patterns we see with dynamic subagents (fanout and synthesize, adversarial verification, etc) if you'd prefer to learn w/ a video, check out this excellent guide from @colifran_ with examples and trace walk throughs!

English
0
4
17
6.1K
LangChain OSS retweetledi
Mason Daugherty
Mason Daugherty@masondrxy·
Deep Agents supports sandboxes from any provider; with first-class support for E2B, Daytona, LangSmith, Modal, Vercel, Runloop, AgentCore, and BYOS (bring-your-own-sandbox implementation) support docs.langchain.com/oss/python/int…
camilo@cvmilo00

@alex64781926 Personally I will migrate to e2b since it is already integrated on Langgraph, framework I am currently using the most. Haven’t used boxlite yet, but Im sure that taking a look is more than worthy.

English
1
3
13
4K
LangChain OSS retweetledi
Sydney Runkle
Sydney Runkle@sydneyrunkle·
two great callouts here, for agents that operate at sustainable cost, you need 1. the right model for the task 2. to make sure prompt caching is enabled this is hard to support in an application because 1. the right model/provider for a task at this point can change on a weekly basis 2. APIs (including prompt caching specs) are different across providers deepagents (general purpose, customizable harness) makes this easy because it: 1. is provider agnostic 2. enables prompt caching by default across providers awesome write up on deepagents prompt caching by @its_ao here: x.com/its_ao/status/…
Brian Armstrong@brian_armstrong

How to keep AI spend flat while token usage grows exponentially: Not with friction and spend alerts. With better defaults, routing, and caching. Better Defaults (not Usage Caps) – Engineers can choose any model they want, but defaults matter. We’re experimenting with defaulting to open weight models like GLM 5.2 and Kimi 2.7 through our LLM gateway, while still encouraging engineers to choose the right model for the task. 91% of our employees were never hitting their usage caps, so instead of lowering caps and driving up alerts, we're moving to cheaper defaults. Note that code reviews use a diversity of models, so they can check each other's work. Better Routing – In our custom harnesses, we preprocess prompts and route to the best model for the job, considering cache hits and model pricing. For instance, you may want a frontier model for planning, but not for execution where they can be overkill. Ultimately, humans shouldn't be choosing models - AI can automate this task. Better Caching – Cache misses are the easiest way to drive your cost up. All of our requests are cache aware, so we’re reusing a warm cache wherever possible. For example, our cache hit rate went from 5% → 60% in LibreChat once properly implemented. Keep Context Lean – Start fresh sessions when switching tasks. Scope file context narrowly. Disconnect unused tools. Don't just compact. The goal isn't fewer tokens used, it's fewer tokens wasted. Better Visibility – Our engineers can use as many tokens as they want, from whatever model they want, but we’ve made usage visible – and the more you spend on AI, the more impact we expect. The goal isn't to suppress usage. It's to build the infrastructure that makes exponential growth sustainable. Putting this into practice has cut our AI spend nearly in half, while our token usage continues to grow.

English
4
8
68
17.4K
LangChain OSS retweetledi
Mason Daugherty
Mason Daugherty@masondrxy·
One LangChain model object gives you access the whole @OpenRouter catalog for Deep Agents. Route by throughput, latency, or price. Filter providers. Enforce ZDR/no data collection. Select fallback models. When OpenRouter adds a provider or model, just pass the new slug. docs.langchain.com/oss/python/int…
Mason Daugherty tweet media
OpenRouter@OpenRouter

Access all the providers for GLM 5.2 in one spot. Including one serving at over 125 TPS: openrouter.ai/z-ai/glm-5.2

English
3
11
40
12.3K
LangChain OSS retweetledi
Sydney Runkle
Sydney Runkle@sydneyrunkle·
self-harness: harnesses that improve themselves spoiler alert, it's all loop engineering! 1. weakness mining - run agent and observe failures 2. propose improvements to the harness 3. confirm improvements are beneficial and don't cause other regressions and then you loop! the paper: arxiv.org/pdf/2606.09498 powered by deepagents: github.com/langchain-ai/d…
Sydney Runkle tweet media
English
15
20
133
17.9K
LangChain OSS retweetledi
LangChain OSS retweetledi
Sydney Runkle
Sydney Runkle@sydneyrunkle·
talked a lot about loops last week, folks were particularly excited about the "hill climbing" loop thinking about how to define hill climbing simply: improving a system by observing failures/inefficiencies and correcting the configuration accordingly this can be applied 1. at the (open) model level: adjusting weights w/ RL 2. at the harness level: adjusting tools, prompts, config 3. at the context level: adjusting memory, which is learned context
English
3
1
9
1.7K
LangChain OSS retweetledi
Harry Zhang
Harry Zhang@zhanghaili0610·
A gift to the Chinese developer community for anyone building agents on @LangChain: After 2 books on the ecosystem, I open-sourced the third — Deep Agents in Action. 8 chapters live and counting, on the Agent Harness: planning, context engineering, sub-agents, Skills, memory.
Harry Zhang tweet mediaHarry Zhang tweet mediaHarry Zhang tweet media
English
21
60
272
85.3K
LangChain OSS retweetledi
Sydney Runkle
Sydney Runkle@sydneyrunkle·
people want to build agents, and they want it to be easy even more important, it should be easy for your agents to improve over time that's what the 4th loop ("hill climbing") enables. automating the hill climbing part a) is hard b) has ridiculously high ROI
Sydney Runkle@sydneyrunkle

x.com/i/article/2066…

English
12
17
139
34K
LangChain OSS retweetledi
Sydney Runkle
Sydney Runkle@sydneyrunkle·
you can try out GLM 5.2 with deepagents code (dcode) today!! dcode is general purpose and provider agnostic, so you can take any of the new oss models for a spin! docs: docs.langchain.com/oss/python/dee…
Datacurve@datacurve

GLM 5.2 is now on DeepSWE as the top open-source model on our leaderboard. With a pass@1 score of 44% at max effort, GLM 5.2 is indisputable #1 open-source model besting Kimi K2.7 Code by 17%.

English
3
9
44
19.6K