LangChain 教你如何评估 AI 代理性能
Watch @Vtrivedy10 take @businessbarista from easy mode to god mode on all things evals.
LangChain 的专家教你如何评估 AI 代理性能,从基础到高级,非常实用。
LangChain 的 Vtrivedy10 教 @businessbarista 如何从基础理解评估(定义任务和验证器)到高级环境设置(Harbor、LangSmith),再到自我改进循环(通过追踪和日志分析问题)。
Watch @Vtrivedy10 take @businessbarista from easy mode to god mode on all things evals.
Watch @Vtrivedy10 take @businessbarista from easy mode to god mode on all things evals. Alex Lieberman @businessbarista A few of my smartest friends in AI called me a "idiot" for not deeply understanding evals. So...I found the smartest person I know on evals & made them teach me. @Vtrivedy10 (leads Labs at @LangChain ) took me from easy mode to god mode for a 38-minute masterclass on all things evals. Easy Mode: what an eval actually is Definition: did the AI agent do the job correctly? You need two building blocks: 1) Tasks. The checkable jobs you care about. Log the meeting. Draft the email. Find Acme across the right Salesforce tables. 2) Verifiers. Something that can say right or wrong after the task. A script. Another model. A human with a clear checklist. Hard Mode: what are environments Definition: a safe practice field for your agent to do work & for you to evaluate its performance. Rules of thumb: 1) Never test on production. Agents will cheat because they're optimizing for the score you gave them. 2) If you're not an engineer, you still have options for running environments/evals. - Harbor (open source primitives for tasks, verifiers, sandboxes) - LangSmith Engine (UI for people who can judge good vs bad without living in GitHub). - Steal a published Harbor-format eval, ask Claude Code or Codex to explain it, then tweak it for your agent. God Mode: what is a self-improving loop Definition: Run the agent in the real world --> turn that production behavior into evals/environments --> change the agent so failures stop happening --> repeat Rules of thumb: 1) Turn on tracing first. Traces = receipts of every action (tool calls, Salesforce pings, web searches, dead ends). 2) Store those logs somewhere (LangSmith at org scale, or even “have the agent read its own output files” at small scale). 3) Point a second agent at the first agent’s traces to spot patterns (“always searches the wrong tables,” “multi-company asks collapse to one company”) and propose fixes overnight if your eval suite is solid. Full episode: youtube.com/watch?v=zLeG-X… Your browser does not support the video tag. 🔗 View on Twitter 🔗 View Quoted Tweet 💬 1 🔄 0 ❤️ 6 👀 2577 📊 2 ⚡