📅 You're Invited: Meet the Socket team at RSAC (April 28 – May 1).RSVP
Socket
Sign inDemoInstall
Socket

evalite

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

evalite

Test your LLM-powered apps with a TypeScript-native, Vitest-based eval runner. No API key required.

0.11.1
latest
Source
npm
Version published
Weekly downloads
4.1K
-25.06%
Maintainers
1
Weekly downloads
 
Created
Source

Evalite: the TypeScript-native, local-first tool for testing LLM-powered apps.

What Is Evalite?

  • Fully open source: No API Key required.
  • Local-first: runs on your machine, your data never leaves your laptop.
  • Based on Vitest, the best TypeScript test runner around.
  • Terminal UI for quick prototyping.
  • Supports tracing and custom scorers.

How Do I Learn More?

Evalite Is Experimental

Evalite is still an experimental project. I'm actively working on it, and for now am pushing breaking changes.

If you run into any unexpected behavior:

  • Delete the node_modules/.evalite folder.
  • Update evalite to the latest version.
  • Rerun your evals.

If, after that, you run into unexpected behavior, report an issue.

Guides

Watch Mode

You can run Evalite in watch mode by running evalite watch:

evalite watch

This will watch for changes to your .eval.ts files and re-run the evals when they change.

[!IMPORTANT]

I strongly recommend implementing a caching layer in your LLM calls when using watch mode. This will keep your evals running fast and avoid burning through your API credits.

Running Specific Files

You can run specific files by passing them as arguments:

evalite my-eval.eval.ts

This also works for watch mode:

evalite watch my-eval.eval.ts

Keywords

ai

FAQs

Package last updated on 25 Apr 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts