AI Calibrator
Turn your knowledge and standards into a tested, reliable AI — without writing prompts, code, or datasets. You bring your materials and answer questions; the tool builds, tests, and proves an AI that behaves the way you want.
Think of it like onboarding a brilliant new hire: it interviews you about how you want the job done, writes the playbook, then quizzes itself against that playbook until it reliably passes.
How it works
- State the goal — what should this AI do?
- Upload your materials — docs, examples, policies. The tool indexes them and finds the gaps they don't cover.
- Answer a short interview — only about the gaps; it drafts likely answers for you to approve or correct.
- It compiles a behavior spec → system prompt + knowledge lookup (RAG) + an eval rubric + test cases.
- It tests and scores the AI against your standards, fixes failures, and loops until it passes.
- You get a finished, runnable AI plus the saved spec and tests.
Guided mode (default) does all of this with configuration — runs on any machine. Advanced mode (opt-in, technical users) adds a fine-tuning toolchain on top, gated on actually beating the configured baseline.
Bring-your-own-key: the engine defaults to Claude via your own API key,
but works equally with OpenAI (<model>@openai, incl. OpenAI-compatible
endpoints) or a local Ollama model (no key / offline). The app runs on your
machine and no secrets ship in this repo.
Status
Alpha (v0.0.2) — but the whole pipeline is built and tested:
the Guided loop (init → ingest → interview → compile → eval → export, CLI +
local web UI), a deep verification surface (spec lint, deterministic checks,
LLM-judge with self-consistency + human judge calibration, coverage, red-team,
drift, golden snapshots, weighted scoring — composed into one calibrate ci
gate), and the Advanced tier (fine-tuning + Engine-Trainer with prove-it gates).
calibrate compare runs your suite against the same model without the
calibration, so "the calibrated AI is better" is a measured delta on your own
tests, not a claim. The test suite runs engine-free with fakes; the pipeline is
also verified end-to-end against a real local model via Ollama.
Build plan: docs/BUILD-PLAN.md · Architecture: docs/ARCHITECTURE.md ·
Contributing: CONTRIBUTING.md
Quickstart
python3 -m venv .venv && source .venv/bin/activate # required on stock macOS / modern Debian (PEP 668)
pip install 'ai-calibrator[cloud]' # or '[all]' for every engine + the web UI (note: [all] pulls a multi-GB ML stack via [rag])
export ANTHROPIC_API_KEY=<your-key> # your own key; nothing is stored in the repo
calibrate --help
calibrate init my-support-ai --goal "Answer customer product questions in our voice."
calibrate status my-support-ai
The engine defaults to Claude (cloud, bring-your-own key). To use OpenAI,
set OPENAI_API_KEY and bind roles to <model>@openai. To run locally with
no key, install Ollama, pull a model (e.g.
ollama pull qwen2.5:7b), and point every role at it:
calibrate engines my-support-ai --all qwen2.5:7b@ollama
--all points the judge at that model too, so it grades its own answers.
That works, and it is often the only option locally — but the pass rate is then
one model's opinion of itself, and the failures it cannot see are exactly the
ones it cannot report. calibrate lint says so, and there are two ways to earn
a stronger number: bind the judge to a different model
(calibrate engines my-support-ai judge <model@provider>), or make the criteria
that matter deterministic with calibrate add-check, which does not consult a
judge at all.
📖 Full walkthrough: docs/USAGE.md — engine setup for
Claude / OpenAI / local, the step-by-step workflow, and current build status.
License: MIT.
Metadata
Release files for ai-calibrator 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| ai_calibrator-0.0.2.tar.gz | 399.4 kB | With provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ai_calibrator-0.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 639.0 kB
Release files / ai_calibrator-0.0.2.tar.gz
| Download URL | ai_calibrator-0.0.2.tar.gz |
|---|---|
| Size | 399.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ad4fa6c60004ddf20849e916e9ea95721e5d3e9f690e5d19a8eed03ce3c2a82c
|
|
BLAKE2b-256 checksum How to use checksums |
c3c014c1c4ef8d07d26b04d98c29dada6f5326428a0706406b5883bedfae84f8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 19, 2026.
Transparency logRelease files / ai_calibrator-0.0.2-py3-none-any.whl
| Download URL | ai_calibrator-0.0.2-py3-none-any.whl |
|---|---|
| Size | 239.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
841b201c29c37a5b29dbaafdd6b0485b79f09e538051d27178ddfbea4bb46586
|
|
BLAKE2b-256 checksum How to use checksums |
158ec647d49c8862205b41b858180649880445f479957f9e69a8bdea2d944c99
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 19, 2026.
Transparency logSecurity for ai-calibrator 0.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for ai_calibrator-0.0.2.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 19, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.