Deep Agents Ralph Loop Example

togethercompute · x · 2026-07-15

This new cookbook demonstrates how to implement Ralph loops using NVIDIA Nemotron 3 Ultra combined with LangChain Deep Agents.

The core approach involves refreshing the context at each iteration and using the file system as memory between iterations, allowing the agent to maintain its state across multiple execution rounds. The author also provided a complete notebook and an optimized harness version for review.

Related event: NVIDIA and LangChain Release Deep Agents Ralph Loop Cookbook(2 posts)→

Original post →

More from coding & agent

coding & agent channel →