agent-evaluation
Skill194 starsChanged 4 months agoMITView on GitHub
Help a learner evaluate and observe an AI agent on Microsoft Foundry — quality/safety evaluators, tracing, and reading results. Use for Lesson 3 tasks: measuring agent performance, adding observability, or interpreting evaluation output.
- Reads credentials
We split this skill into the rules it gives an agent
3 rules. 0 are common, 2 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 16 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 15
Use the evaluation/observability APIs from the current agent-framework surface (Foundry evals + tracing).
- Distinctive: line 29
When an eval fails, look at the trace first (bad tool call?
- Distinctive: line 31
Keep evaluation runs cheap: small datasets, and delete resources afterward (see cost & cleanup).
“Common” is measured: kept by at least 6 in 10 of the 16 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Agent evaluation & observability
Guidance for measuring and improving agents (Lesson 3).
Guardrails (always apply)
- Platform: Microsoft Foundry; framework: Microsoft Agent Framework.
- Use the evaluation/observability APIs from the current
agent-frameworksurface (Foundry evals + tracing). Model for any judge/eval step:gpt-5.1(nevergpt-4o/gpt-4.1). - Endpoints/models from
.env;az loginfor auth.
Concepts a learner should grasp
- Why evaluate: agents are non-deterministic — you need repeatable metrics (groundedness, relevance, coherence, safety) to know whether a change helped or hurt.
- Observability vs evaluation: tracing captures what happened on each run (spans, tool calls, tokens); evaluation scores those runs against criteria.
- Close the loop: trace → evaluate → adjust instructions/tools → re-evaluate.
How to help
- Point the learner at
lesson-3-agent-evals/and its README for the exact evaluator setup. - Encourage a small, fixed test set of prompts so results are comparable across runs.
- When an eval fails, look at the trace first (bad tool call? missing context? weak instructions?) before changing the model.
- Keep evaluation runs cheap: small datasets, and delete resources afterward (see cost & cleanup).
Validate
python -m py_compile <file>.py.- An evaluation run should produce per-criterion scores you can compare between versions.
References
lesson-3-agent-evals/README.mdMIGRATION-GUIDE.md(current SDK patterns)
Other versions20 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 20
- bojieli/ai-agent-book-projects★ 53ksame name
- bojieli/ai-agent-book★ 53ksame name
- alebgl77/claude-inc★ 16same name
- fmind/dot★ 11same name
- fmind/dotfiles★ 11same name
- xfstudio/skills★ 9same name
- nek1987/auto-agent-harness★ 4same name
- ai4brands-design/claude-skills★ 2same name
- Ghosteken/agent-harness★ 2same name
- MateusKasuya/databricks_claude_code★ 2same name
10 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
Used alongsideProjects with it also use analyzing-mlflow-session, analyzing-mlflow-trace and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
sshtomarSkillanalyzing-mlflow-session
Analyzes an MLflow session — a sequence of traces from a multi-turn chat conversation or interaction. Use when the user asks to debug a chat conversation, review session or chat history, find where a multi-turn chat went wrong, or analyze patterns across turns. Triggers on "analyze this session", "what happened in this conversation", "debug session", "review chat history", "where did this chat go wrong", "session traces", "analyze chat", "debug this chat".
Also in 3 projects that use this
sshtomarSkillanalyzing-mlflow-trace
Analyzes a single MLflow trace to answer a user query about it. Use when the user provides a trace ID and asks to debug, investigate, find issues, root-cause errors, understand behavior, or analyze quality. Triggers on "analyze this trace", "what went wrong with this trace", "debug trace", "investigate trace", "why did this trace fail", "root cause this trace".
Also in 3 projects that use this
jasonkneenSkillquality-assurance
Comprehensive testing and validation strategies for spec-driven development. Learn phase-specific validation techniques, quality gates, and testing approaches to ensure high-quality implementation.
Also in 3 projects that use this
mjunaidcaSkilltool-design
Design tools that agents can use effectively. Use when creating new tools for agents, debugging tool-related failures, or optimizing existing tool sets.
Also in 3 projects that use this
mjunaidcaSkillkubernetes
Production-grade Kubernetes manifests and debugging for containerized applications. This skill should be used when users ask to deploy to Kubernetes, create K8s manifests, containerize for K8s, set up Deployments/Services/Jobs/StatefulSets/CronJobs, create namespaces with resource quotas, set up multi-team isolation, configure ResourceQuota/ LimitRange, secure with RBAC (ServiceAccount, Role, RoleBinding), configure init containers (model download, db wait, migrations), set up sidecars (logging, metrics), or debug pods (CrashLoopBackOff, logs, exec, describe, events). Auto-detects from Dockerfile/code, generates hardened manifests with educational comments. CKAD-aligned.
Also in 3 projects that use this
abdullah1854Skillgithub-actions
Also in 3 projects that use this
- +5 more from sshtomar
In this repository24 other files it gives its agents.
- AGENTS.mdAGENTS.md
- translations/bn/AGENTS.mdAGENTS.md
- translations/cs/AGENTS.mdAGENTS.md
- translations/da/AGENTS.mdAGENTS.md
- translations/en/AGENTS.mdAGENTS.md
- translations/es/AGENTS.mdAGENTS.md
- translations/hu/AGENTS.mdAGENTS.md
- translations/id/AGENTS.mdAGENTS.md
- translations/ko/AGENTS.mdAGENTS.md
- translations/lt/AGENTS.mdAGENTS.md
- translations/mr/AGENTS.mdAGENTS.md
- translations/ms/AGENTS.mdAGENTS.md
- translations/nl/AGENTS.mdAGENTS.md
- translations/pa/AGENTS.mdAGENTS.md
- translations/pt-BR/AGENTS.mdAGENTS.md
- translations/pt-PT/AGENTS.mdAGENTS.md
- translations/th/AGENTS.mdAGENTS.md
- translations/tl/AGENTS.mdAGENTS.md
- translations/vi/AGENTS.mdAGENTS.md
- foundry-agent-basicsSkill
- hosted-agent-deploymentSkill
- mcp-integrationSkill
- microsoft-toolboxSkill
- multi-agent-a2aSkill
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
Reviews can't be read right now.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

