Evaluation datasets
JSONL evaluation cases turn agent behavior into repeatable test inputs instead of one-off manual prompting.
An evaluation and CI quality-gate platform for AI agents — built to make answer quality, grounding and regression risk testable before agent changes are merged or deployed.
VIEW SOURCE CODE ↗Traditional unit tests work well when the same input should always produce the same output. Agent systems are different: generated answers, tool calls and judged quality can vary while still needing a reliable release process.
AgentGate turns that problem into an engineering workflow. Evaluation datasets define expected behavior, an evaluator produces metrics, thresholds decide whether the run passes, and CI can block a change when quality drops below the configured gate.
JSONL evaluation cases turn agent behavior into repeatable test inputs instead of one-off manual prompting.
A FastAPI service scores cases with deterministic heuristics and can optionally use an OpenAI LLM-as-a-Judge provider.
Threshold failures return a non-zero CLI exit code so regressions can block a pull request or deployment pipeline.
The agentgate eval command provides a small developer-facing surface for running evaluation suites locally or in CI.
Projects, datasets, runs, cases and traces are modeled in PostgreSQL/Supabase for persistent evaluation history.
A Next.js dashboard presents production-style metrics and trace previews while keeping the evaluator as a separate service.
The same evaluation suite can run locally through the CLI and inside GitHub Actions, keeping the release criterion explicit instead of relying on subjective spot checks.
Python · FastAPI · heuristic scoring · optional LLM judge
Node.js CLI · JSONL datasets · reusable GitHub Action
Next.js · React · TypeScript
PostgreSQL · Supabase schema · evaluation runs and traces
GitHub Actions · evaluator tests · CLI syntax checks
Local heuristic scoring keeps the foundation testable without requiring an external model for every evaluation run.
Model-based judging extends the evaluator for semantic quality while keeping the system usable when no AI provider is configured.
Threshold failures map directly to process exit codes so evaluation quality can become a required engineering gate.
Dashboard, evaluator, CLI, action and persistence are separate surfaces so each part can evolve without collapsing into one monolith.
The project treats AI quality as a measurable software concern rather than simply adding a model call to an interface.
The product includes an evaluator API, CLI and GitHub Action designed around an actual engineering workflow.
Agent regressions can be evaluated before merge or deployment through explicit thresholds and repeatable cases.
Evaluation, persistence, UI and CI integration are separated into clear architectural responsibilities.