Run your first eval
For builders getting started: install the CGO-free CLI, point it at a Google Cloud project, walk the local SQLite registry, and run end-to-end recipes across every metric kind. Start with the User guide and Testing guide.
Run your first eval
For builders getting started: install the CGO-free CLI, point it at a Google Cloud project, walk the local SQLite registry, and run end-to-end recipes across every metric kind. Start with the User guide and Testing guide.
Pick the right judgment shape
For teams turning fuzzy review criteria into deterministic checks: map each evaluation question to boul, choice, score, rubric, pairwise, or custom_schema. Read the Scenarios guide or Three typed primitives.
Share packs & wire agents
For teams standardizing quality bars: package metrics into credential-free validated template packs, operate Mizan from coding agents, or export rubrics to Stax. Explore Contribute a template pack, Agent skills, and Stax interop.
Typed Decision Primitives (boul, choice, score)
Answer software’s three core evaluation questions without hand-rolling JSON schemas: boul for binary pass/fail propositions with confidence, choice for grammar-constrained categorical routing, and score for calibrated continuous grading. How the primitives work →
Pointwise, Rubric, Pairwise & Custom Schema
Run Vertex AI EvaluateInstances pointwise metrics, multi-criterion rubric scorecards (with --rubric-detail), head-to-head pairwise (BASELINE / CANDIDATE / TIE) comparisons, and arbitrary custom_schema structured output.
Multimodal Across Five Modalities
Evaluate text, images, audio, video, and music with the same template contract. Pass --file key=/path/to/asset (auto-staged to your configured GCS bucket) or --gcs key=gs://... for pre-staged objects.
SQLite Provenance, Packs & Agent Skills
Every run persists its inputs, template snapshot, score, and explanation to a pure-Go SQLite store (mizan results list|show). Share standards via Git-native packs (mizan pack init|add|validate, mizan registry import|export), mizan mcp, and Agent Skills.
Install Mizan, configure your Vertex AI project, and run a strongly-typed boolean check with zero custom JSON schema boilerplate:
# 1. Install the CGO-free Go binary and set your GCP projectgo install github.com/ghchinoy/mizan/cmd/mizan@latestmizan config set project-id <your-project-id>
# 2. Register a typed boolean proposition check (boul)mizan registry create --id safety/pii-check --name "PII Check" \ --kind boul \ --prompt "Does this customer message contain unmasked PII or credit card numbers? {{message}}"
# 3. Evaluate an input (persisted automatically to the local results store)mizan eval run --metric safety/pii-check \ --field message="My phone is 555-0199 and card is 4111-2222-3333-4444"Scaffold, author, validate (credential-free), and import shareable YAML metric packs:
# 1. Scaffold a new pack namespace and export a local metric into itmizan pack init packs/acme-support --name acme-supportmizan pack add packs/acme-support --from acme-support/reply-quality
# 2. Run the credential-free structural + placeholder validation gatemizan pack validate packs/acme-support
# 3. Preview and import a pack into your local SQLite registrymizan registry import packs/acme-support --dry-runmizan registry import packs/acme-supportDrive Mizan from Claude Code or any -o json-aware coding agent using the shipped plugin marketplace:
# Structured JSON output on stdout for scripts and skills (proven by drift tests)mizan eval run --metric safety/pii-check \ --field message="Order #4821 shipped via UPS Ground." -o json
# Inspect stored evaluation runs and full provenancemizan results list --limit 10 -o jsonmizan results show <run-id>