How to use RLMs in Deep Agents @LangChain
How to use RLMs in Deep Agents  @LangChain
Uploaded July 2026 | Updated November 2026, 8 hours ago
Sydney Runkle, an open source engineer at LangChain walks through Recursive Language Models (RLMs), a pattern where a model can call itself, and shows how deep agents uses them to tackle large-scale data tasks that break standard agents.

She demos the full RLM workflow using dcode, LangChain's terminal coding agent, including a live haiku tournament run across 16 parallel subagents, then benchmarks RLM-enabled deep agents against the Oolong dataset to show how performance holds up at 128k token context lengths where plain agents give up.

00:00 Intro: RLMs + deep agents
00:07 What is a recursive language model
00:44 Why use RLMs: reliability, finite context, deterministic coverage
01:32 How RLMs work in deep agents (code interpreter + task function)
02:30 Getting started + dcode haiku-tournament demo
03:38 Benchmark: the Oolong long-context dataset
05:14 Results: plain vs. RLM-enabled deep agent
06:29 Wrap-up
How to use RLMs in Deep AgentsLangChain Academy Tutors: Learn LangChain with Your Coding AgentHow to Build a Model Router in the HarnessHow Unify cut its AI agent costs 95% in two weeksBenchlings Multi-Model Trick That Catches Errors Before Humans Do | Max AgencyHTTP Channels for Managed Deep AgentsWhat are Deep Agents? Whats a Sandbox? Our Top Workshop Questions AnsweredHow Unify Cut AI Costs 95% Two Weeks Before LaunchWhat is an agent harness? Explained fastLangSmith Essentials | New LangChain Academy CourseManaged Deep Agents - Instructions and Context HubDeep Agents by LangChain explained in 1 minute
LangChain |

How to use RLMs in Deep Agents

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER