LangSmith Engine 推出 Goals 功能,可按目标自动优化智能体
做 agent 的朋友可以看下:LangSmith 的 Engine 现在支持设目标了,比如降成本、修错误,它会扫你的 trace 给针对性建议,还能追踪指标变化。比自己翻 trace 省事不少。
LangChain 在 LangSmith 的 Engine 功能中新增 Goals(目标)机制。Engine 是一个持续运行的智能体,负责扫描 agent 的运行 trace 并标记可改进之处,此前只有通用建议。
Goals 允许用户用自然语言明确描述优化目标,并选定要追踪的目标指标。Engine 会围绕该目标给出针对性的 agent 修改建议,建议按目标分组展示,用户修改后还能追踪这些改动对目标指标产生的实际影响。
可设置的目标包括降低成本、修复 agent 犯的错误、识别它没有能力回答的问题类型等。相比之前只能被动接收泛化建议,现在开发者可以主动驱动优化方向,LangSmith 也从观测工具进一步向 agent 改进闭环工具演进。
engine is our persistent agent that runs over traces and flags things that can improve YOUR agents with goals, you can explicitly say what you care about and have engine work towards that theres many different axes you may want to improve your agent on: - make it cheaper - fix any mistakes it makes - see what types of questions people ask that its not qualified to answer goals lets you be more specific in your desires, and get back better answers LangChain @LangChain New in LangSmith Engine: Goals. Tell Engine what you want to improve in your agent, and it will provide targeted recommendations to drive progress against that goal. 1️⃣ Describe your goal in plain language and select a target metric to track 2️⃣ Get and review recommended agent changes, grouped by goal 3️⃣ Track the impact of your changes on the goal metric
This report is categorized under AITOP's "Products" desk, focusing on US frontier AI labs and Silicon Valley technology leaders. Within our cross-regional analytical framework, it directly maps to AI developer toolchains, coding agents, and engineering workflows. Key entities and technical topics under continuous tracking include LangSmith, LangChain, agents, observability.
Source attribution: curated from Harrison Chase (@hwchase17).