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 Config;
let config = default;
config.validate.expect;
assert!;
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.