jevia-core 0.1.2

Core routing contracts and Jev client for Jevia
Documentation

jevia-core

Core routing contracts and the Jev client for Jevia, an outcome-aware model router for coding agents.

This library provides validated project configuration, capability tiers, confidence-based fallback policy, routing and outcome records, execution and verification evidence, and learning-aware cache fingerprints. It does not launch harnesses or persist history; those responsibilities belong to the jevia CLI.

use jevia_core::Config;

let config = Config::default();
config.validate().expect("default routing policy is valid");
assert!(config.tiers.contains_key(&config.router.fallback_tier));

Requires Rust 1.92 or newer. The API is experimental.

Upgrading from 0.1.1

Version 0.1.2 adds Config::storage for opt-in SQL history backends. Despite the patch version, callers constructing Config directly must add storage or use ..Config::default(). Existing serialized configs without a storage section still default to JSONL; the library does not migrate history automatically.

For installation and end-to-end usage, see the Jevia guide.