Skip to content

Repository files navigation

Local Evals

A local-first app for evaluating document → JSON, text → JSON, and tool-call proposals with OpenAI-compatible providers or OpenRouter. Inspect inputs, outputs, scores, and execution logs side by side.

Local Evals showing a receipt alongside its extracted JSON

Run the app

Requires Node.js 22+. From the repository directory:

npm install
npm run dev

Open localhost:4173. Configure a provider, import a dataset, then launch an evaluation from Setup. Data is stored locally in .localevals/.

For an offline demo with synthetic data and mock model responses, run npm run demo and open localhost:4180.

CLI

Run CLI commands from the repository directory:

npm run localevals -- --help
npm run localevals -- run sample-data/manifest.jsonl sample-data/config.json --db .localevals/example.db
npm run localevals -- inspect --db .localevals/example.db

For the synthetic evaluation above, start npm run mock in another terminal first.

The CLI command is now npm run localevals -- (formerly npm run evalforge --).

Guides

License

Apache License 2.0.

About

An eval app which runs locally and uses local models or any OpenAI-compatible API

Resources

Stars

97 stars

Watchers

1 watching

Forks

Releases

Sponsor this project

Packages

Contributors

Languages