You shipped a product powered by AI Agents. Now you have to tell your CEO whether it's good enough — and if it isn't, tell engineering exactly what to fix. The agent fails in ways no rubric anticipated, and the eval tools your team installed expect you to know what to measure before you've seen what breaks.
GEDD is the tool for before you have a rubric.
The eval pipeline is the product. The agent is just the thing it produces.
📖 Read the why: Why Grounded Theory? for reliable AI Agents — the long-form argument behind this repo.
Five steps, a conversational coach guiding you through each one. No YAML, no SDK, no Python.
- Define your agent. What it's for, who uses it, what it should do.
- Write a system prompt with the coach's help.
- Generate golden test queries — happy path, edge cases, adversarial, ambiguous. The coach proposes; you keep what fits.
- Run them, watch what breaks. Side-by-side across up to 3 models. Mark each response ✓ / ⚠ / ✗.
- Name the failure patterns in your own words — "policy hallucination," "missed escalation," "tone collapse under hostility." GEDD turns those names into a deployable judge that engineering can wire into CI.
That's it. The whole flow takes about 90 minutes for a real agent with 8–12 golden queries. The first 30 minutes get you to "I now know my agent's top 3 failure modes." Most teams stop there and ship.
Most eval tools ask: what should we measure? — then build rubrics from assumptions. GEDD asks: what is actually happening? — then builds the rubric from evidence.
This matters because:
- You can't evaluate what you haven't observed. Pre-baked rubrics miss the failures unique to your agent.
- Criteria should be weighted by evidence. Not every dimension matters equally. A bereavement-handling failure isn't the same severity as a tone slip.
- Your evaluation evolves with the agent. New patterns surface as you ship; the methodology absorbs them naturally.
- Your work becomes load-bearing. The judge GEDD generates is in your domain vocabulary, not a generic "helpfulness 1-5." When you hand it to engineering, they can use it.
The methodology under the hood is grounded theory — the same discipline social scientists use to find patterns in human data. We use it to find patterns in agent failures. The full mapping (open coding, axial coding, paradigm model, ML techniques, calibration) lives in METHODOLOGY.md. You don't need to read it to use the tool.
- Not a tracing or observability tool. It doesn't ingest live production traces. Bring your traces (paste them in, or run queries through GEDD itself).
- Not a metric library. No pre-built "faithfulness," "hallucination index," or 20-evaluator zoo. You discover your metrics; the tool makes them deployable.
- Not a one-shot rubric generator. It's a workflow, not a button. Plan ~90 minutes the first time.
The home page has eight one-click demo scenarios, each pre-loaded with golden queries, human annotations, error codes, a paradigm model, and a generated judge — no LLM calls needed. You can walk the entire pipeline in 5 minutes.
| Demo | Domain | Key failure modes |
|---|---|---|
| TravelBot | Flight booking (SkyLink Travel) | Hallucinated entities, fabricated booking data, confident confabulation |
| ClinicalBot | Clinical triage (MedPulse Health) | Missed escalation, contraindication miss, overconfident diagnosis |
| LexBot | Legal assistant (Lexara Law Suite) | Jurisdiction error, unauthorized legal advice, statute misquote |
| WealthBot | Financial planning (PrimeWealth) | Unlicensed advice, projection hallucination, risk misclassification |
| HRBot | HR policy Q&A (TalentPulse) | Policy misquote, confidentiality breach, discriminatory guidance |
| EduBot | Student learning (Athena Learning) | Answer reveal, grade inflation, curriculum mismatch |
| VaultEx AI | Crypto exchange (VaultEx) | Regulatory misguidance, fee hallucination, wallet security gaps |
| PixelGuard | Gaming moderation (NexusGames) | False positive bans, harassment miss, appeals mishandling |
Load any scenario and explore every tab — Eval, Tag, Root Causes, Build Judge, Report — all pre-populated.
cd grounded-evals
python -m venv .venv && source .venv/bin/activate
pip install -e ".[dev]"
python -m grounded_evals.appOpen http://localhost:8080 — TravelBot loads automatically, no login required. Click through the tabs to explore the full pipeline.
To run against your own agent you'll need AWS credentials (Bedrock) or an ANTHROPIC_API_KEY. Set ADMIN_PASSWORD=your-password to enable the login wall for shared deployments.
For AWS Bedrock setup, environment variables, deployment, project structure, and contribution guidelines, see SETUP.md.
[ Home ] One-click demos + your saved sessions
↓
[ Coach ] Conversational. Define agent, system prompt,
golden queries — guided by an AI coach.
↓
[ Eval ] Run queries against models. Mark ✓ / ⚠ / ✗.
↓
[ Tag Failures ] Annotate what failed and why, in your own words.
Codes accumulate in a sidebar.
↓
[ Map Root Causes ] Drag your codes onto a paradigm canvas: causes,
contexts, consequences. Optional but useful.
↓
[ Build Judge ] Generate a deployable judge prompt. Calibrate it
against your own scoring (κ ≥ 0.80). Export.
The whole product is one screen at a time, one question at a time. PMs who hate forms find this less painful than it looks.
| Guide | What it covers |
|---|---|
| Cohen's Kappa for LLM Judges | What κ is, how to compute it, how to interpret it, and how to iterate your rubric until κ ≥ 0.80 |
| Building an LLM-as-a-Judge | Full rubric design, weighting, hard-fail rules, few-shot calibration, and export |
| Domain Expert Guide | End-to-end walkthrough of all 5 steps for PMs and SMEs |
| PM Artifacts → Production Judge | Step-by-step guide for ML engineers: turn golden queries, annotations, and codebook into a calibrated CI judge |
If GEDD helped you find what your agent gets wrong, a star helps others find it too.
Security issues: see CONTRIBUTING.
License: MIT-0. See LICENSE.
