v0.4.0 Apache-2.0 · zero dependencies · fully offline

Don't trust what your AI agent says. Check what it did.

EvalSutra grades recorded evidence (answers, tool calls, timing) against rules you wrote first. Missing proof is never a pass.

npx evalsutra demo --bad
11deterministic check types
29/29self-audit checks passing
18agent skills for AI editors
0dependencies, keys or network calls
How it works

From your rules to a decision

You write what good looks like. EvalSutra compares it with what actually happened.

From rules to a decision in five steps

Write rules

Say what must and must not happen.

{ "type": "forbidden_tools",
  "tools": ["export_customers"] }

Record the run

Save what your agent really did.

{ "sourceType": "actual_run",
  "toolCalls": ["search_kb"] }

Get the verdict

Reports for people and CI.

evalsutra run --suite s.json \
  --observations o.json --out out
Evidence first

Not all evidence is equal

A confident agent, or another model praising it, is not proof.

Strong evidence

Can prove pass or fail

  • PASS + FAILactual_runYou ran the agent and recorded it
  • PASS + FAILimported_traceLogs from a real run
  • PASS + FAILhuman_labelA person checked it
  • PASS + FAILtest_fixtureControlled sample data
Weak evidence

Can only prove fail

  • FAIL ONLYmodel_judgeOpinion of another model
  • FAIL ONLYunverified_claimThe agent says it worked

A would-be pass becomes inconclusive. A failure still counts, because acting on a problem is safe.

Proof

We audit ourselves in public

Run npx evalsutra audit to reproduce this. It is a self-check, not a third-party certification.

Grader accuracy3 / 3
Evidence rules7 / 7
Reproducibility3 / 3
Trace analysis2 / 2
Security6 / 6
Skills4 / 4
Legal4 / 4
Self-audit: 29 of 29 checks pass (computed when this site was built).

What EvalSutra does not do

  • It does not run your agent or call any AI model.
  • A GO_CANDIDATE result is not deployment approval or a safety certificate.
  • Live agent runner, sandbox, server and dashboard are planned, not built.
  • Skill discovery inside live editors is not verified.
Documentation

Everything in one place

Pick the page that matches your role.

User guide

Go from nothing to your first trustworthy verdict in about ten minutes. You need Node.js 22 or newer.

Real-world scenarios

Seven situations teams meet when they ship AI agents. Each shows the story, the rule you write, the real…

How it works

A plain-language tour with pictures. No code knowledge needed.

Executive summary

Teams ship AI agents and judge them by reading the agent's own words. An agent that says "Done, all tests…

Functional specification

This page states what EvalSutra does, in behaviour a tester can check. Each rule is covered by an automated…

Architecture

There is no network, database, queue, server or model call.

Skills catalog

EvalSutra ships 18 specialist skills. A skill is a SKILL.md file (YAML name and description, then…

Technical reference

Node.js 22 or newer (Node 20 reached end of life in April 2026). Tested on Node 22, 24 and 26 on Ubuntu,…

Security and legal

Principle: treat every fixture, observation, trace and report as untrusted data. The evaluator never executes…

Testing and evidence

npm test # all unit, CLI, contract and audit tests

Audit and trust

EvalSutra can audit itself with one command and show its working.

CI/CD and release

Files: .github/workflows/ci.yml (tests) and publish.yml (npm release). Triggers: push and pull request for CI;…

FAQ and glossary

Does EvalSutra run my agent? No. It grades observations you record. Live execution is planned.

Contributor handbook

git clone https://github.com/shahvatsalofficial/evalsutra.git

Roadmap and status

Legend: Done = implemented and tested. Planned = not implemented. Nothing marked planned should be described…

Try it in one minute

Node.js 22 or newer is all you need. No account, no API key, no network after download.

Open the user guide