Skip to content

About

No description, website, or topics provided.

Resources

Security policy

Stars

3 stars

Watchers

0 watching

Forks

Repository files navigation

AI4H Eval Lab

AI4H Eval Lab is a local-first desktop application for transparent, reproducible language-model safety evaluations. It is an open-source project of the Safe AI for Humanity Foundation.

Donate via Givebutter

The app runs on macOS and Linux, connects to local Ollama models and hosted LLM APIs, downloads versioned community test catalogs, and keeps evaluation evidence on the user's device.

App preview

AI4H Eval Lab test library

Current capabilities

  • Ollama, OpenRouter, Kie.ai, OpenAI, Anthropic, Google Gemini, and generic OpenAI-compatible endpoints
  • Automatic model discovery where the provider exposes a model-list API, including a free-model-only OpenRouter filter
  • Curated Kie.ai text-model support for its documented GPT 5.2, Gemini 3 Pro, and Claude Opus 4.7 endpoints
  • Bundled offline starter suites plus official and third-party JSON catalogs
  • Schema-v2 fixed multi-turn attacks that carry each real model response into the next stage and preserve stage-level evidence
  • Schema-v3 paired agent tool-use evaluations with explicit scope, clean controls, poisoned observations, inert action tools, and complete call traces
  • Data-only suite validation; catalog content is never executed
  • Deterministic parameters where providers support them
  • Exact indicator, exclusion, regular-expression, JSON, non-empty, and human-review evaluators
  • Model-identified evidence records with suite versions, content hashes, timing, tokens, and raw responses
  • Human pass/mostly-passed/fail review plus individual or bulk model-assisted review, with every verdict and reviewer identity preserved in result JSON
  • Review completed responses from the live evidence stream while an evaluation continues; saved reviews remain attached through completion or cancellation
  • Consent-based public submission bundles with suite categories and hashes, stripped local connection details, and GitHub contribution guidance
  • Local run history, comparison views, and portable JSON export
  • Automatic startup and manual GitHub release checks, with user-controlled installer downloads
  • Native operating-system credential storage in desktop builds
  • Configurable local diagnostic logging with redaction, retention limits, safe response metadata, and JSON export
  • No AI4H product telemetry

Download and install

Prebuilt macOS and Linux packages are available from the latest GitHub release.

macOS security notice

AI4H Eval Lab is not currently code-signed or notarized. Because of this, macOS may block the app the first time you try to open it. After attempting to launch the app:

  1. Open System Settings.
  2. Select Privacy & Security.
  3. Scroll to the security message about AI4H Eval Lab and click Open Anyway.
  4. Confirm that you want to open the app.

For safety, only install builds downloaded from the official GitHub releases linked above.

Development

Requirements for the web interface:

  • Node.js 20 or later
  • npm 10 or later

Requirements for the desktop shell:

  • Rust 1.77.2 or later
  • Tauri's platform prerequisites for macOS or Linux
npm install
npm run dev

Run the automated checks:

npm test
npm run build

Build a native package:

npm run tauri build

Test catalogs

The official catalog is maintained separately in SafeAI4Humanity/ai4h-test-suites. Users may enable arbitrary third-party catalog URLs. The app labels those sources and retains the source identity in each suite.

Single-turn catalogs conform to schema version 1, fixed multi-turn catalogs use schema version 2, and paired agent tool-use catalogs use schema version 3. All contain a declarative suites array and cannot install plugins or run code. The official repository publishes catalog.json, catalog-v2.json, and catalog-v3.json as separate release assets so older clients cannot silently misinterpret newer execution modes.

In v3 runs, the app executes the declarative MCP-style tool contract inside an isolated local harness. Source observations are selected from the catalog; all action-like tools are inert recorders and cannot contact, modify, publish, scan, or export anything. The connected model API still receives the prompts, tool definitions, and simulated results needed for the evaluation.

Community result submissions

Results remain local unless a user deliberately exports them. Prepare publication creates a separate, consented bundle for the GitHub-reviewed SafeAI4Humanity/ai4h-evaluation-results workflow. The publication contract and future hosted intake architecture are documented in docs/RESULT_SUBMISSIONS.md.

Research interpretation

Automatic checks are evidence indicators, not a universal model-safety score. Responsible reporting should inspect raw responses and disclose the provider, exact model ID, date, suite version and hash, parameters, sample size, judge or rubric details, and limitations. Model-assisted reviews can help triage results, but they are not substitutes for human judgment.

Privacy

AI4H Eval Lab does not upload results or collect product analytics. Prompts selected for a remote provider necessarily leave the device and are subject to that provider's terms. Ollama runs may remain fully local. See SECURITY.md.

Support this work

AI4H Eval Lab is an open-source project of the Safe AI for Humanity Foundation, an IRS-recognized Non-Profit · 501(c)(3) organization. Financial contributions are tax-deductible to the extent permitted by law. Make a financial contribution to support independent AI safety research, public evaluation suites, and freely available tools.

License

Apache License 2.0. Test content in the companion suite repository is generally CC BY 4.0.

Model provider proxy

Open Settings & sources → Provider proxy or use Configure the proxy for all model providers on the Connections page. Enable the proxy, enter an HTTP or HTTPS server address (for example http://localhost:8080 or https://proxy.example.com:8443), and save. The setting persists locally and applies to new provider requests, including model scans, evaluation requests, agent tool-use turns, and model-assisted reviews. Local providers also use it; there are no per-provider exceptions.

When enabled, connection failures show an error and never retry directly. Catalogs and application updates retain their usual transport. Proxy routing requires the desktop app; browser preview blocks provider requests when it is enabled. Proxy addresses with embedded credentials, paths, queries, or fragments are rejected. HTTPS certificate verification remains enabled.

About

No description, website, or topics provided.

Resources

Security policy

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages