Why agents need testing
Also covers: Tracing a run · Measuring correctness and cost
- Elementary
- Module 2 of 3 in this level
- Open to learn
Watchदेखें
AI Agent evaluation: A complete guide to measuring performance
- AI Quality Nerd
- Hindi
- 6 min

Sign in free to save your progress and take the topic testअपनी progress save करने और topic test देने के लिए free sign in कीजिए
Sign inSign in कीजिएVideos for this skill: Hindi, English. Choose yours when you start.इस skill के videos की भाषाएँ: हिंदी, English। शुरू करते समय आप अपनी भाषा चुनिए।
The EN/हिं switch changes the site text, not the video's language.EN/हिं switch सिर्फ़ site का text बदलता है, video की भाषा नहीं।
What you should understandआपको क्या समझना है?
- एक ही input पर model हर बार थोड़ा अलग जवाब दे सकता है, इसलिए agent का व्यवहार जाँचना ज़रूरी है।
- Prompt, model या tool बदलने से पुराने ठीक चल रहे काम बिगड़ सकते हैं।
- Agent असली actions लेता है, इसलिए गलती का असर सिर्फ़ गलत text से कहीं ज़्यादा हो सकता है।
- Trace एक run का पूरा रिकॉर्ड है: हर model call, tool call, inputs, outputs, समय और tokens।
- Trace देखकर आप पता लगा सकते हैं कि agent किस step पर गलत हुआ।
- LangSmith और Langfuse जैसे tools traces दिखाने के लिए इस्तेमाल होते हैं।
- Correctness मापने के लिए जवाब को अपेक्षित नतीजे से मिलाएँ: exact match, नियम-आधारित जाँच या दूसरे LLM से grading (LLM-as-judge)।
- Cost मुख्य रूप से tokens से तय होती है: input और output tokens, और हर step पर कितने model calls हुए।
- Latency यानी जवाब में लगा समय भी मापें, क्योंकि ज़्यादा steps वाला agent धीमा और महँगा होता है।
🎓 Get a certificate: first level freeCertificate पाइए: पहला level मुफ़्त
Verifiable, in 4 steps. Intermediate and Expert certificates need Mini or Plus.Verify होने वाला, 4 steps में। Intermediate और Expert certificates के लिए Mini या Plus चाहिए।
- Sign in freeमुफ़्त sign in कीजिए
- Choose “For a certificate” and your level“For a certificate” और अपना level चुनिए
- Watch 70% of each topic's video and pass its topic test. The final test opens when you have watched 60% of your journey's total video time.हर topic के video का 70% देखिए और उसका topic test pass कीजिए। Final test तब खुलता है जब आप अपनी journey के कुल video time का 60% देख लेते हैं।
- Pass the final test and the practical projectFinal test और practical project पूरा कीजिए
What you watch without signing in isn’t saved, and it doesn’t count towards a certificate.बिना sign in के देखे गए videos save नहीं होते और certificate में नहीं गिने जाते।
Questions about this topic
- What are the key points of Why agents need testing?
- एक ही input पर model हर बार थोड़ा अलग जवाब दे सकता है, इसलिए agent का व्यवहार जाँचना ज़रूरी है। Prompt, model या tool बदलने से पुराने ठीक चल रहे काम बिगड़ सकते हैं। Agent असली actions लेता है, इसलिए गलती का असर सिर्फ़ गलत text से कहीं ज़्यादा हो सकता है। Trace एक run का पूरा रिकॉर्ड है: हर model call, tool call, inputs, outputs, समय और tokens। Trace देखकर आप पता लगा सकते हैं कि agent किस step पर गलत हुआ। LangSmith और Langfuse जैसे tools traces दिखाने के लिए इस्तेमाल होते हैं।
- What else does this lesson cover?
- It also covers Tracing a run, Measuring correctness and cost.
- Which part of AI Agents is Why agents need testing in?
- Why agents need testing is in the module "Evaluation" of the free AI Agents path on YUNOVA.
Learners' questions on this topicइस topic पर learners के सवाल
Sign in to read the community's questions or ask yours.Community के सवाल पढ़ने या अपना सवाल पूछने के लिए sign in करें।
Sign in
™
™