LangChain 推出 Agent Lake,旨在通过强大的存储层和智能计算层来处理大规模且非确定性的 AI 智能体追踪数据。该方案包含 5 月发布的 SmithDB 存储层,以及近期开发的在线评测、AI 搜索、模式聚类分析和问题修复引擎等智能计算功能。
agent traces 可以成为改进 agent 的强大杠杆
从宏观层面看,你需要:
- 强大的存储层,用于高效地摄取/存储/查询所有这些 traces(以及它们关联的结果!)
- 在这些 traces 之上运行的“智能计算”,帮助你理解正在发生什么
这个组合就是我们所说的“agent lake”
我们在 5 月推出了 SmithDB,作为最好的 agent trace 存储层
过去几个月我们一直在开发这种“智能计算”。它包括:
- (基础的)online evals、LLM-as-a-judge 等
- ai search:用决策模型实时过滤模型
- insights:按使用模式对 traces 进行聚类
- engine:通过识别并修复问题来闭环
几年前,agent 的执行轨迹只有 4-5 步,路径是确定性的。如今,agent 一次运行可达数分钟到数小时,生成的轨迹包含成百上千次 LLM 调用、工具调用和处理步骤,且全部是非确定性的。 Agent 轨迹数据是多模型的,包含大量需要检索的文本数据,并且嵌套层级很深。新型的数据和数量级级别的规模增长需要新的数据架构。这就是我们在 LangChain 构建 Agent Lake 的原因。 https://t.co/BkjCLGVgib
原文
A few years ago, agent traces were 4-5 steps and the paths were deterministic. Now, agents run for minutes to hours at a time and generate traces with hundreds or thousands of LLM calls, tool calls, and processing steps, all of it nondeterministic. Agent trace data is multi-model, has lots of text data that needs to be searched over, and is deeply nested. New types of data and orders of magnitude more volume require new data architectures. That's why we're building the Agent Lake at LangChain. https://t.co/BkjCLGVgib
来源:Harrison Chase · x.com