惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

D
DataBreaches.Net
F
Fortinet All Blogs
D
Docker
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
WordPress大学
WordPress大学
罗磊的独立博客
Y
Y Combinator Blog
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
J
Java Code Geeks
T
The Blog of Author Tim Ferriss
U
Unit 42
N
Netflix TechBlog - Medium
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
V
V2EX
云风的 BLOG
云风的 BLOG
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
T
Tailwind CSS Blog
Hugging Face - Blog
Hugging Face - Blog
Stack Overflow Blog
Stack Overflow Blog
爱范儿
爱范儿
酷 壳 – CoolShell
酷 壳 – CoolShell
P
Proofpoint News Feed
G
Google Developers Blog
H
Help Net Security

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
Your AI Agent Passed All Tests — Then Failed in Productio...
xu xu · 2026-06-16 · via DEV Community

xu xu

Your AI agent aced every test in your staging environment. The demos were flawless. The PM was impressed. Three weeks into production, you're fielding bug reports about responses that sound correct but are subtly, catastrophically wrong.

I've been on the receiving end of that call. In 2025, I watched a team ship an AI agent built on early AWS Agent Toolkit previews that confidently hallucinated product pricing for enterprise customers. The agent's confidence score was 0.94. The actual accuracy was maybe 60%. Nobody had built an evaluation pipeline because the tooling didn't exist yet.

That's changing fast. AWS Agent Toolkit GA and MCP Server GA are recent releases (as of mid-2026), and with them comes an emerging discipline: Agent Skills evaluation. A Qiita post from Japanese developer community highlights a gap most English-language resources haven't caught up with yet — how to actually measure whether your AI agent's skills are performing reliably in production.

The Problem Nobody Talks About

Here's what I've observed across three production AI agent deployments: teams spend enormous effort on agent architecture — tool definitions, prompt engineering, orchestration logic. Then they ship and hope.

Hope isn't a deployment strategy.

The core issue is that agent capabilities aren't binary. Your agent doesn't "work" or "not work." It works for 90% of queries, fails silently for 8%, and catastrophically for 2%. Without evaluation infrastructure, you won't know which category you're in until customers tell you.

Measurement Theater (造词): The practice of adding metrics dashboards and test suites that make agents look evaluated without actually catching the failure modes that matter in production. Teams celebrate 95% accuracy on benchmarks while their agent confidently gives wrong answers to 30% of real user queries.

The Qiita source framework — evaluating Agent Skills through SkillOps — addresses this by shifting evaluation from static benchmarks to continuous, skills-based monitoring. Instead of asking "does the agent work?" you ask "which specific skills are degrading, and under what conditions?"

What I Got Wrong (And What It Cost)

Last year, I advised a team building an AI-powered technical support agent. We spent eight weeks on:

  • Tool definitions (12 functions, 4 external API integrations)
  • Prompt engineering (4 major iterations)
  • Fallback logic (because we were paranoid about hallucinations)

Zero weeks on evaluation infrastructure.

The assumption: "We'll see how it performs and iterate." What actually happened: the agent worked beautifully for the first 200 queries, then we started seeing pattern-matched failures. Specific failure modes that our test suite never caught because we didn't have domain-specific evaluation data.

The specific cost: Two weeks of emergency remediation, a 15% customer satisfaction drop during the incident window, and three team members spending 60% of their time on "agent babysitting" for a month.

The fix was straightforward once we had the right evaluation framework. But you don't want to learn this lesson the way we did.

The SkillOps Approach: What the Research Reveals

The Japanese dev community has been methodical about agent evaluation in ways the Western discourse hasn't fully captured. The SkillOps framework treats agent skills as first-class evaluable entities — not just "does the agent work" but granular analysis of:

  • Per-skill accuracy rates under varying conditions
  • Confidence calibration — does the agent know when it doesn't know?
  • Failure mode clustering — are failures random or concentrated in specific skill combinations?
  • Regression detection — when a prompt change fixes one skill, does it break another?

This is fundamentally different from end-to-end agent testing. You're not evaluating the agent; you're evaluating its components.

The Skeptical Take

Here's where I'd push back: evaluation frameworks create their own failure modes.

The risk of evaluation-driven development is real. Once you have a SkillOps dashboard, teams start optimizing for evaluation metrics. The agent learns to pass the tests without generalizing. Your 95% accuracy benchmark becomes a ceiling, not a floor.

I've seen this happen with traditional ML systems. The model that "achieved" 98% accuracy by gaming the evaluation set is now in production, and users are experiencing the remaining 2% at a rate that generates support tickets.

The framework helps — but it doesn't eliminate the need for human judgment about what "good enough" actually means for your specific use case.

Comparison: Common Evaluation Approaches

| Approach | What It Measures | The Gap ||---------|------------------|---------|---------|
| End-to-end testing | Overall agent success rate | Fails to isolate which skill is responsible for failure || Static benchmarks | Performance on curated test cases | Doesn't catch production-specific failure modes || A/B experimentation | Real-world user satisfaction | Too slow for rapid iteration; expensive to run || SkillOps-style evaluation | Per-skill degradation under varying conditions | Requires upfront investment in evaluation infrastructure |## Survival Checklist: Agent Evaluation That Actually Works

  1. Define "good enough" before you ship — explicit accuracy thresholds per skill, not per agent. A summarization skill at 85% accuracy might be fine; a pricing query at 85% accuracy will cost you money.

  2. Build evaluation data that mirrors production distribution — your test cases should reflect what users actually ask, not what you wish they'd ask.

  3. Instrument for regression detection from day one — every prompt change, every tool definition update, should trigger automated evaluation before deployment.

  4. Monitor confidence calibration, not just accuracy — an agent that's wrong 20% of the time but knows it needs help is safer than one that's wrong 10% of the time but overconfident.

  5. Create failure budgets — decide in advance how much failure you can tolerate per skill. This prevents endless optimization cycles and enables principled shipping decisions.

The Next 12 Months

By Q4 2026, I expect agent evaluation to become a standard part of deployment pipelines — not an afterthought. The teams that figure out how to do this efficiently will ship agents twice as fast, because they won't spend months on reactive remediation.

The teams that don't will keep having the conversation I had in 2025: "It worked in staging."


What's your take?

Has your team built any evaluation infrastructure for AI agents? What metrics actually caught failures that static testing missed? I'd love to hear what evaluation approaches have worked — and what ones seemed promising but let you down.

Drop a comment below — I respond to every one.


Researched from Qiita post by licux on Agent Skills evaluation with SkillOps framework

Discussion: What's the most surprising agent failure mode you've caught with evaluation infrastructure? And what evaluation approach seemed promising but ended up creating more problems than it solved?