T
traeai
登录
返回首页
LangChain(@LangChainAI)

Streaming agents should feel like building applications, not parsing logs.

8.5Score
Streaming agents should feel like building applications, not parsing logs.

TL;DR · AI 摘要

LangChain introduces a new streaming protocol for agents, aiming to make building applications feel more like developing software and less like parsing logs. The protocol provides typed projections that apps can subscribe to, addressing the limitations of token deltas in real-world applications.

核心要点

  • The new streaming protocol from LangChain offers a more structured approach to agent streaming, moving beyond token deltas.
  • Real applications require rendering tools, state, subagents, media, interrupts, and reconnects without parsing raw event streams.
  • The protocol allows applications to subscribe to typed projections, making agent runs more manageable and efficient for developers.

结构提纲

按章节快速跳转。

  1. Explains the concept of agent streaming and its current limitations, particularly the reliance on token deltas which are insufficient for building real applications.

  2. Discusses the difficulties in parsing raw event streams to render tools, state, subagents, media, handle interrupts, and manage reconnects in real applications.

  3. Introduces LangChain's new streaming protocol that transforms agent runs into typed projections, which applications can subscribe to for a more structured and efficient development experience.

  4. Highlights the benefits of the new protocol, including improved manageability, efficiency, and a better developer experience when building applications with agent streaming.

思维导图

用一张图看清主题之间的关系。

查看大纲文本(无障碍 / 无 JS 友好)
  • LangChain Streaming Protocol

金句 / Highlights

值得收藏与分享的关键句。

  • Agent streaming has outgrown token deltas. Real apps need to render tools, state, subagents, media, interrupts, and reconnects without parsing a firehose of raw events.

    First paragraph

    ⬇︎ 下载 PNG𝕏 分享到 X
  • The new @LangChain streaming protocol turns agent runs into typed projections apps can subscribe to.

    First paragraph

    ⬇︎ 下载 PNG𝕏 分享到 X
  • Streaming agents should feel like building applications, not parsing logs.

    Title

    ⬇︎ 下载 PNG𝕏 分享到 X
#LangChain#Agent Streaming#Application Development#Streaming Protocol
打开原文

LangChain on X: "流式代理应该感觉像构建应用程序,而不是解析日志。" / X

不要错过正在发生的事情

Image 3: Square profile picture

LangChain

@LangChain

流式代理应该感觉像构建应用程序,而不是解析日志。

引用

Image 4

Christian Bromann

Image 5

@bromann

·

13小时前

代理流式传输已经超越了令牌增量。真正的应用程序需要渲染工具、状态、子代理、媒体、中断和重新连接,而无需解析原始事件的消防水龙带。LangChain的新流式传输协议将代理运行转换为应用程序可以订阅的类型化投影。x.com/bromann/status…

下午6:10 · 2026年5月21日

2

14

8

AI 可能会生成不准确的信息,请核实重要内容