agentgrade — Production-Readiness Auditor For AI Agents
Problem
Most AI agents work in a demo and then fail with real users, because nobody can say whether the agent is getting worse, what it actually did on a bad answer, or who owns it when it breaks. Teams find out they have no evals, no tracing and no owner only after users complain.
Business Impact
agentgrade is for teams about to put an AI agent in front of real users, and for consultants who need to review someone else's agent repo quickly. It turns the vague question of whether an agent is ready into a short ranked list of missing pieces. Because every score points at a file and line, or at a search that found nothing, the report can be checked and argued with. Internal tools can stay at pilot-grade, and customer-facing agents get a clear bar to reach.
System Approach
- A Claude Code skill (SKILL.md) that scopes the agent first: LLM SDKs, framework, single or multi-agent, RAG or not, and the likely deployment context.
- scripts/scan.py, a stdlib-only scanner, matches rubric signals per pillar, prints hits as file:line excerpts, checks for an eval folder, CI, playbook, prompt changelog and container, and lists what is absent per pillar.
- references/rubric.md defines anchored scores from 0 to 5 for each pillar and when a pillar is N/A.
- The skill must open flagged files and confirm before scoring, then emit a fixed report: scorecard, verdict, top 3 gaps, and what cannot be verified statically.
- It ends by offering to scaffold the number-one missing artifact, such as an eval dataset, incident playbook, prompt changelog or LLM-judge prompt.
Key Decisions & Trade-offs
- Scanner hits are treated as leads, not verdicts, because a keyword in a README or a commented-out import should not earn a score.
- Absence is reported on purpose: the per-pillar absent list lets the report say what was searched and not found.
- Anything that needs runtime data, such as duplicate tool calls or loops, is reported as unverifiable statically instead of guessed.
- Verdict thresholds sit in the rubric and deployment context sets the bar, so an internal tool is not held to a customer-facing standard.
- The audit is read-only by default; files are written only if the user accepts a scaffold.
- It ships as a skill and not a linter, since judging whether an eval file is a living golden set takes reading it.
Current Status
Version 0.3.1, MIT licensed. Install through the Claude Code plugin marketplace (/plugin marketplace add rohitguta2432/agentgrade) or copy skills/agentgrade into ~/.claude/skills. The scanner has a built-in --self-test and runs with plain python3; the repo has no other test suite.
Roadmap
- Trace-file audits: accept exported Langfuse, OTel or MLflow traces so duplicate tool calls, loops and cost per request can be verified.
- Calibration fixtures: small repos with known scores so rubric changes can be regression-tested.
- CI mode: run the scanner in GitHub Actions and fail pull requests that drop a pillar below its floor.
What I'd Improve Next
- The scanner is regex-based and produces false positives (for example, the word 'scrub' matching a PII signal), so the audit depends on the model confirming each hit by reading the file.
- Only static evidence is covered today; runtime behavior is reported as unverifiable until trace audits exist.
Work with me on an AI system
If you need help building or integrating a system like agentgrade — Production-Readiness Auditor For AI Agents, choose the scope that fits your team:
- Hire a Forward Deployed Engineer (AI) — Work embedded with your users and engineers, from workflow discovery through integration, evaluation and rollout.
- Freelance AI Engineer & AI Architect — Scope an AI feature or reserve ongoing engineering time for architecture, implementation, evaluation and handover.
Explore More
- Ordermez — Menu Engineering That Shows Which Dishes to Reprice — Most restaurants know their total sales but not which dishes make the money.
- Swarm — An AI-First Community For Agent Builders — A normal developer forum is empty until hundreds of strangers show up every day, which a solo founder cannot fix.
- LedgerMatch — Open-Source Payment Reconciliation For Small Businesses — A Stripe payout is one lump sum that covers dozens of orders, with the fees buried inside.
- scribecheck — Audit AI Scribe Notes Against The Visit Transcript — Ambient AI scribes write the clinical note for a visit, and every vendor claims it is accurate.
- All 47 projects — the full catalogue, with live links and repos.