Borrowing it
Nothing to install: this file belongs to yaalalabs/agent-kernel. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/yaalalabs/agent-kernel/develop/.agents/skills/ak-dev-new-evaluator-provider/SKILL.mdgit clone --depth 1 https://github.com/yaalalabs/agent-kernelWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/yaalalabs/agent-kernel/ak-dev-new-evaluator-provider)<a href="https://agentmods.dev/skills/yaalalabs/agent-kernel/ak-dev-new-evaluator-provider"><img src="https://agentmods.dev/badge/skills/yaalalabs/agent-kernel/ak-dev-new-evaluator-provider/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/yaalalabs/agent-kernel/ak-dev-new-evaluator-provider"><img src="https://agentmods.dev/badge/skills/yaalalabs/agent-kernel/ak-dev-new-evaluator-provider.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00110 | $0.03508 |
| Opus 5.5 | $0.00044 | $0.01403 |
| Sonnet 5.5 | $0.00022 | $0.00702 |
| Haiku 4.5 | $0.00011 | $0.00351 |
Grade A, and why
ak-dev-new-evaluator-provider scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 261 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Adding a New Test Evaluator Provider
This guide walks through adding a new built-in evaluator provider to Agent Kernel's test
framework. Use the existing DeepEval implementation
(ak-py/src/agentkernel/test/core/evaluator/deepeval.py) as reference.
Before starting, check whether you actually need this skill: if the evaluator only needs to exist
for your own project (not addressable by every AK user via a short built-in name), you don't
need any of the steps below — just subclass AKEvaluator anywhere importable and point
test-config.yaml's evaluator: at its dotted path. That's the "bring your own evaluator"
path described in the user-facing ak-test skill and
docs/docs/testing/cli-testing.md;
examples/cli/custom-evaluator/ is a complete worked example of it. This skill is only for adding
a first-party, in-repo provider that ships with AK and gets its own short type name.
Existing Providers
| Provider | Short name | Scoring mode | LLM-judge mode | Extra |
|---|---|---|---|---|
| DeepEval | deepeval |
Scorer.quasi_exact_match_score (whole-string, normalised) |
GEval LLM-as-judge metric |
agentkernel[test] |
| Opik | opik |
LevenshteinRatio (fuzzy string similarity) |
GEval LLM-as-judge metric |
agentkernel[opik] |
| JEV | jev |
— (AKMetricNotSupported) |
TypeSafe Noul (yes/no probability) | agentkernel[jev] |
Architecture Overview
AKEvaluator(ak-py/src/agentkernel/test/core/evaluator/base.py) is the abstract base every evaluator — built-in or bring-your-own — implements. It and the payload and error types are re-exported fromagentkernel.test, the import path users and examples use; built-in providers inside the package import them from.base. A new interface type goes incore/evaluator/__init__.py's__all__and inagentkernel/test/__init__.py. It has exactly two abstract methods:evaluate_by_score(case: AKEvaluationCase) -> AKEvaluationResult— deterministic scoring, no LLM callevaluate_by_llm(case: AKEvaluationCase) -> AKEvaluationResult— LLM-as-judge scoring
AKEvaluationCasecarries the comparison inputs (user_input,actual,expected,threshold,context,criteria);AKEvaluationResultcarries the outcome (score,passed,metric,evaluator,reason,cost,attempts,metadata).- Error contract (every evaluator must honor this, not just DeepEval):
- Raise
AKMissingInputwhen a field the requested metric needs (e.g.case.expected) wasn't supplied. - Raise
AKMetricNotSupportedfrom whichever of the two methods your backend structurally cannot implement (e.g. a pure LLM-judge service has no offline scoring mode). - Raise
AKEvaluationErrorwhen a configured backend fails to produce a score (missing credentials, transport error, unparseable judge output). Never raiseAssertionErrorand never silently return a0.0to stand in for a failure —0.0must only ever mean "scored zero", not "couldn't be scored".Test.compareis the only place that decides pass/fail fatality; evaluators only ever setresult.passed.
- Raise
Test._resolve_evaluator_classinak-py/src/agentkernel/test/test.pyis the factory. It shares the same pluggable-backend shape as guardrails, sandbox providers, and trace backends (core/util/factory.py'sresolve_dotted/require_extra/AKConfigError): anif-per-built-in branch with the SDK import wrapped inrequire_extra(actionableImportErrornaming the pip extra if missing), then a dotted-path bring-your-own fallback for anything else.- Evaluator instances are cached per-process on
Test._evaluator(keyed by the configured value), guarded byTest._evaluator_lock— construction happens once per distinctevaluator:config value, not once perTest.comparecall.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 3d ago Changed · +3 lines 9dc46eed38a9
- 1mo ago Changed · +7 lines cacebaae2564
- 1mo ago Changed · +5 lines · +3 tokens per session e73232f47fbe
- 1mo ago Changed · +1 tokens per session 9c9a724f3c45
- 2mo ago First seen · 246 lines · 106 tokens per session scan A ccdb67b859f5
ak-dev-new-evaluator-provider is a skill published in the GitHub repository yaalalabs/agent-kernel (192 stars, last pushed yesterday), licensed Apache-2.0. It adds 110 tokens to every session and 3,508 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-07.
ak-dev-new-evaluator-provider compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| ak-dev-new-evaluator-provideryaalalabs/agent-kernel | Skill | 192 | yesterday | Apache-2.0 | A | 110 | Claude Code, Codex |
| cloud-native-security-defensivej4flmao/agent-skills | Skill | 38 | 3d ago | MIT | A | 127 | Claude Code, Codex |
| notionArvo-AI/aurora | Skill | 454 | yesterday | Apache-2.0 | A | 23 | Claude Code |
| datadogArvo-AI/aurora | Skill | 454 | yesterday | Apache-2.0 | A | 28 | Claude Code |
| scalewayArvo-AI/aurora | Skill | 454 | yesterday | Apache-2.0 | A | 29 | Claude Code |
| terrasharkLukasNiessen/terrashark | Skill | 710 | 4d ago | MIT | A | 56 | Claude Code, Codex |
| isaac-automatorisaac-sim/IsaacAutomator | Skill | 270 | 11d ago | Apache-2.0 | A | 123 | Claude Code, Codex |