everruns-provider
Lean provider and LLM abstractions shared by the Everruns Framework and provider crates.
everruns-provider owns credential-free model identity, the ChatDriver
boundary, provider assembly, protocol drivers, stream/retry helpers, typed
IDs, credential schemas, and the LLM error taxonomy. Model profile types and
data (ModelProfile, ServiceKind, and the built-in profile registry) live
in everruns-model-profiles
and are re-exported here for source compatibility.
It is a focused implementation crate in the Everruns
ecosystem. Framework application authors normally use the curated surface
through everruns; provider implementers and low-level hosts depend here
directly to avoid pulling in the agent-loop kernel.
The default http feature provides the shared protocol implementations and
installs the Rustls crypto provider before constructing their clients. Contract-
only consumers can use default-features = false to avoid HTTP and TLS
dependencies entirely. The tls-aws-lc-rs feature exposes the idempotent startup
initializer independently for binaries that assemble multiple TLS stacks.
Quick Example
use ModelSpec;
let model = on;
assert_eq!;
assert_eq!;
What It Provides
- Open
ChatDriverand provider registry contracts - Credential-free
ModelSpecand redacting endpoint/auth values - Shared OpenAI and Open Responses protocol implementations
- Streaming, retry, model discovery/profile, and error helpers
- Provider-oriented tool and credential schema values
Documentation
License
Licensed under the MIT License.