Sep 27, 2024 · 1h 26m · latent-space
Language Agents: From Reasoning to Acting — with Shunyu Yao of OpenAI, Harrison Chase of LangGraph
gold bands on the timeline = statements, start to end. Hover to read, click to jump. CC turns on captions
LangChain creator Harrison Chase and researcher Shunyu Yao join the Latent Space podcast to discuss the evolution, cognitive architectures, evaluation benchmarks, and tooling design powering modern language agents. They explore foundational concepts from ReAct and Reflexion to Agent-Computer Interfaces (ACI) and stateful production orchestration with LangGraph.
How this conversation actually went
Every chapter scored 0–10 on four independent dynamics. Hover any point for the reasoning behind the score. The hosts hold 20.7% of the talking time here. How this is scored →
speaking balance: gold is the hosts, purple is the guest (3 minute bins)
Shunyu directly challenges Swyx's thesis on isolating intelligence from knowledge, arguing that intelligence inherently emerges through acquired knowledge rather than existing in isolation.
Hardest push from the hosts ▶ 47:21 Swyx pushing back on HCI and ACI equivalenceSwyx challenges the idea that interfaces designed for humans cleanly translate to AI agents, providing detailed counterexamples from structured output schemas and verbose compiler error loops.
Biggest teaching moment ▶ 51:42 Shunyu breaking down fundamental memory limits of ACI vs HCIShunyu educates the hosts on the foundational cognitive contrast between narrow human working memory (requiring sequential steps) and expansive LLM context windows (benefiting from parallel batch results).
The host holds their own ▶ 47:31 Swyx detailing specific schema field optimizations for LLM reasoningSwyx demonstrates hands-on engineering expertise by showing how altering JSON key names to candidate topics triggers better chain-of-thought behavior in frontier models.
the scores for every segment, with the reasoning behind each
| Chapter | Topic | The hosts as informed peer | Guest teaching | Guest disagreement | The hosts pushing back | Why |
|---|---|---|---|---|---|---|
| Welcome and Introductions with Harrison Chase and Shunyu Yao | 6 | 5 | 1 | 1 | The hosts open with deep familiarity regarding Shunyu Yao's PhD defense and Harrison Chase's early inspiration from the ReAct paper. Shunyu provides historical context on text-adventure games like Zork I and the shift from RL to LLM-driven reasoning. The exchange is warm, collaborative, and appreciative. | |
| ReAct's Legacy, Tool Calling, and the Modern Agent Loop | 6 | 5 | 2 | 2 | Harrison and Shunyu discuss whether modern function-calling loops still reflect ReAct principles. Shunyu clarifies that inner monologues remain crucial when tool APIs diverge from pre-training data distributions, while Alessio asks how thinking steps are being internalized into base model weights. | |
| Reflexion, Language-Based Feedback, and Agent Memory Architectures | 7 | 6 | 1 | 2 | Shunyu explains Reflexion as substituting scalar RL rewards with rich linguistic feedback acting as linguistic gradient descent. The hosts and Harrison connect this to LangMem, Voyager, and cognitive science categorizations of semantic versus procedural memory. | |
| Tree of Thoughts, Search Algorithms, and Prompting Philosophy | 6 | 4 | 2 | 2 | The discussion covers Tree of Thoughts, search vs. reactive tasks, and the minimalist prompting philosophy. Shunyu rejects complex emotional prompt hacks in favor of plain human-to-human communication, prompting Harrison and Swyx to analyze user communication hurdles. | |
| MCTS, The Benchmark Bottleneck, and Evaluation Realism | 6 | 6 | 2 | 1 | Shunyu critiques the academic habit of applying over-complex methods to trivial benchmarks rather than building scalable, realistic tasks. He unpacks the trilemma of benchmark design between auto-gradability, realism, and scalability. | |
| Interactive Coding, SWE-Agent, and Agent-Computer Interfaces (ACI) | 7 | 6 | 1 | 2 | Shunyu details the progression from InterCode to SWE-bench and SWE-agent, highlighting that optimizing the Agent-Computer Interface (ACI) yields far higher returns than raw planning algorithms. The hosts draw parallels to Cognition's Devin and user interaction paradigms. | |
| Optimizing Interfaces for LLMs: ACI vs. HCI and Machine Limits | 8 | 5 | 3 | 4 | Swyx pushes back against the premise that HCI and ACI design completely overlap, citing his empirical experience with structured output field naming and verbose error traces. Shunyu contrasts human working memory constraints with machine context limits, while Harrison argues for allowing agent interfaces to diverge early. | |
| Separating Intelligence from Knowledge and Training Trajectory Data | 7 | 6 | 3 | 3 | Swyx poses whether intelligence can be cleanly separated from knowledge, pointing to on-device LoRA adapters. Shunyu pushes back, arguing from historical AI and Hinton's perspective that intelligence emerges with knowledge, though framing knowledge as a cache for intelligence. | |
| CoALA Framework, Action Spaces, and Stateful Orchestration | 7 | 5 | 1 | 2 | Shunyu walks through the CoALA framework across memory, action space, and decision-making. Harrison and Swyx integrate LangGraph's stateful cross-thread persistence model into the architecture, debating whether developers or agents should select memory tooling. | |
| Tau-Bench, Customer Simulation, and Practical Enterprise Agents | 6 | 5 | 1 | 1 | Alessio and Shunyu discuss Tau-Bench and customer service agent simulation where LLMs model realistic user behavior under information asymmetry. Harrison answers Shunyu's question about enterprise applications, pointing to customer support, SDR data enrichment, and spreadsheet agents. | |
| LangGraph Studio, Agent IDEs, and Future Tooling | 6 | 4 | 2 | 2 | Shunyu questions whether low-code tooling is truly ready for non-programmers, and Harrison clarifies that LangGraph Studio acts as an IDE to bridge developer architecture with PM prompt refinement. The group wraps up with reflections on future agent UX. |