agent-eval-harness

Featured

Use to test whether an AI agent, prompt, or skill actually works before or after it ships — build a small eval set, score runs, and catch regressions when the prompt or model changes. Trigger when the user asks whether a prompt is good, wants to compare models or versions, sees inconsistent agent output, or is about to put an agent in front of customers.

AI & Automation 307 stars 53 forks Updated 3 days ago MIT

Install

View on GitHub

Quality Score: 93/100

Stars 20%
83
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Agent Eval Harness Prompts are edited by vibe and shipped on hope. Then a model version changes and nobody finds out until a customer does. An eval set is the cheapest insurance in AI work: twenty cases, one script, run it every time anything changes. ## Core Behavior Build the smallest eval that would catch a real regression. Twenty cases you run every change beats two hundred you run once. ## Step 1 — Define Pass Before writing cases, write the pass condition. Vague quality goals produce vague evals. Good conditions are checkable: - Output is valid JSON matching this shape. - The answer contains the correct figure from the source document. - The refusal happens on these inputs and does not happen on those. - Tool `x` is called, with the customer id from the prompt. - No hallucinated field names outside the known schema. - Tone matches: no emojis, no corporate filler, under 120 words. ## Step 2 — Build the Set Pull cases from reality, not imagination. Real transcripts, real support tickets, real user prompts. Synthetic cases miss exactly the phrasing that breaks things. Cover four groups: | Group | Why | |-------|-----| | Happy path (~40%) | The thing it is for | | Edge cases (~30%) | Empty, huge, ambiguous, multilingual, malformed | | Adversarial (~20%) | Prompt injection, out-of-scope asks, requests to ignore instructions | | Regressions (~10%) | Every bug ever reported, frozen as a case | The regression group is the one that compounds. Every production failur...

Details

Author
OneWave-AI
Repository
OneWave-AI/claude-skills
Created
11 months ago
Last Updated
3 days ago
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Listed

ai_gym

Train AI agent prompts by MEASUREMENT instead of vibes — stand up an eval harness (real prompt + real LLM + STUBBED tools = zero side effects), author scenarios with pass/fail rubrics, judge transcripts with subagents, aggregate a scorecard by dimension, run a TOURNAMENT of prompt variants, kill LLM noise with N-runs, and ship only the change measurement proved. Use whenever the user wants to improve/refine/test the system prompt of an AI agent, chatbot, or LLM pipeline; compare two prompt versions; find why an agent hallucinates, leaks data, or escalates wrong; build a regression eval for a prompt; or run "agent battles / a prompt tournament". Triggers on requests like "make my agent's prompt better", "this bot keeps making things up", "which prompt version is better", "write a test for my bot's behavior", "I need an eval for my agents" — even without the word "eval". Target stack: TS/Node + vitest; the LLM provider is pluggable (your project supplies the client). Works with any subagent-capable coding agent

0 Updated 1 months ago
luisroquette
AI & Automation Listed

agent-eval

Build an evaluation harness for an LLM agent, prompt template, or tool-using workflow — a task set, deterministic and judge-based scoring, per-tag metrics, and a regression gate — then run it. Use it when a prompt or model change needs to be measured instead of eyeballed, or when a project ships LLM behavior with no eval set at all.

6 Updated 1 weeks ago
timurgaleev
AI & Automation Listed

ai-eval-harness

Designs and runs evaluation harnesses for AI features and for agent skills themselves. Use when shipping LLM features or measuring skill quality. Emits EVAL_PLAN / EVAL_REPORT. Never claims production quality from a handful of vibes-only prompts.

0 Updated 2 months ago
willianbs