Shreya Shankar· @sh_reya · X·· 2026-10-28精选AI 评分71
AI 导读
Shreya Shankar 宣布与 Hamel Husain 合著的新书《Evals for AI Engineers》正式上市,现已在 Amazon 发售并开放签售活动。引用案例指出该书强调错误分析不应从量化指标起步,而是先通读 Agent 的端到端执行轨迹并在首个出错步骤手动标注简记,累积足够样本后再归纳具体故障类型。
推荐理由
该书主张以端到端追踪日志的手工排错替代空泛指标,为智能体工程提供了具体可落地的评估流程。
正文 · 原文
The evals book is here. Hamel is the evals 🐐 and I’m lucky he wanted to write this book with me!! We are grateful for our reviewers, editors, illustrators and readers. Order it on Amazon; or come to our book signing to get a copy (link in replies).
I read the error analysis chapter of Evals for AI Engineers by @HamelHusain and @sh_reya and realised I already had the dataset. Some backstory. I work with coding agents all day: Claude Code, Codex, Hermes, Antigravity. Every session is a trace. What I typed, every tool call, what came back, what it said. Hundreds of them, sitting on disk, never read. The chapter says: don't start with metrics. Read traces end to end. Mark the first step where it went wrong and write one short note in your own words. Yes or no verdict per trace, no scores out of 5. Only after 20 marked traces do you group them into failure types. And don't let a model invent the categories, it will hand you "hallucination" and miss the ones specific to your system. So I built it into the dashboard I use to watch my agents. Last 14 days, up to 200 sessions per app, 431 when I took the screenshot. Each step has one button: mark this as the failure. Every mark lands in a Failures list with the note and a CSV download. The first failure it found was in the list itself. 193 of the 200 newest Claude rows were "Untitled". My own usage check had been running every 10 minutes and left 1,893 throwaway sessions that pushed the real ones out. Filtered, 117 real sessions named. If the sample is wrong, the reading is wrong before it starts. First real mark: an agent said a metronome app was done before it had looked at it. A stop hook had to force the screenshot. No category yet. Just the note. The agent's answer is not the data. The trace is the data.在 X 查看被引用的帖子
来源:Shreya Shankar · x.com