tinyeval

GitHub

Evals for AI features in any language, from one bash file you commit.

Ask your coding agent

Set up evals with https://tinyeval.com/setup.md

Or run this in your repo's root

curl -fsSL https://tinyeval.com/install.sh | sh

It needs bash 3.2 or later, which macOS, most Linux and Git for Windows have. Teammates and CI run ./tinyeval with nothing to install.

Or install with your package manager

Your lock file pins tinyeval, so Dependabot or Renovate update it. Each package adds a worker helper for your language.

Python
pip install tinyeval-cli
JavaScript, TypeScript
npm install --save-dev tinyeval-cli
Ruby
bundle add tinyeval --group development
Go
go get -tool github.com/evalship-hq/tinyeval/go/cmd/tinyeval
Java, Kotlin, Scala
com.evalship:tinyeval
C#
dotnet tool install Tinyeval.Tooldotnet add package Tinyeval
PHP
composer require --dev evalship/tinyeval
Rust
cargo install tinyevalcargo add --dev tinyeval
Swift
.package(url: "https://github.com/evalship-hq/tinyeval-swift", from: "0.11.0")
Dart
dart pub add --dev tinyeval
Elixir
{:tinyeval, "~> 0.11", only: [:dev, :test], runtime: false}
Lua
luarocks install --tree lua_modules tinyeval
R
install.packages("tinyeval", repos = c("https://evalship-hq.r-universe.dev", getOption("repos")))
Any, with Homebrew
brew install evalship-hq/tap/tinyeval
GitHub Actions
uses: evalship-hq/tinyeval-action@v0

Or start from a template repo

Python, TypeScript, JavaScript, Go, Java, C#, Ruby, PHP, Rust, Kotlin, Swift, Dart, Elixir, C++, Scala, Lua, R: a support bot, its test cases and a CI workflow.

A support bot's evals

Your AI call can be in any language. Each test case checks the reply with code, a judge or both.

evals/support.sh
ask() { ruby examples/support.rb; }   # your AI call: input in, reply out

test_case "refund after the window" "Can I still return my shoes? They arrived 40 days ago."
  matches "30[- ]day"
  judge "Says a refund isn't possible anymore, politely"

test_case "missing package" <<'IN'
My package never showed up and I'm getting really annoyed.
IN
  matches "order (number|id|#)"
  judge "Asks for the order number before promising a refund or resend"
$ tinyeval
support
  ✓ refund after the window 4.4s
  ✗ missing package 2.5s
      judge: It promises a new package before asking for the order number.
      reply: So sorry about that! I've sent a replacement your way...

1 of 2 evals failed (eval-results.json)

Every line you can write, in the README

Check every prompt change

When your coding agent changes a prompt, a model or an AI call, it runs the test cases before and after. The inputs it would try by hand stay in the repo as test cases.

In Claude Code

/plugin install tinyeval --marketplace evalship-hq/tinyeval

In Codex, Cursor and other agents

npx skills add evalship-hq/tinyeval

Compared with promptfoo and Braintrust

The same suites in each, installed from a cold cache on an M2 MacBook on 2026-11-05 and 06.

tinyeval 0.5.0 promptfoo 0.125.1 Braintrust 0.49.2 (Python)
Needs bash and curlNode 22.22 or laterPython, and openai for judges
Install 28 KB, 1 file, 0.2–6 s690 MB, 614 packages, 38–63 s65 MB, 35 packages, 7–11 s
Startup 0.01 s0.8 s0.2 s
The support evals above 9 lines22 lines, plus a 1-line script30 lines
200 test cases, instant AI call 1.3 s1.9 s1.0 s
40 test cases, 3 runs, 1 s AI call 15.5 s16.6 s15.7 s
Install, then those 40 test cases 16 s54 s23 s
20 test cases, 3 runs, an app that takes 2 s to start 11.4 s25.5 s24.7 s

With real AI calls, suite speed is a tie. The difference is the install on a CI runner without a cache, and apps that are slow to start: tinyeval's worker keeps yours running.

tinyeval has no viewer, reply cache or hosted datasets: its results are one JSON file. Pick promptfoo for red teaming or comparing many providers side by side. Pick Braintrust for a hosted place to compare experiments and keep datasets.

The setups and scripts, in bench/

Move evals you already have

Your coding agent keeps their names and checks.

Move this repo's evals to tinyeval with https://tinyeval.com/migrate.md

Compare pull requests with main

A fresh CI run has no last run to compare with. evalship reads eval-results.json as is, tells flaky evals from real drops and comments on the pull request.

Connect your repo on evalship.com