Skip to main content

Crate everruns_anthropic

Crate everruns_anthropic 

Source
Expand description

Anthropic Claude provider driver for Everruns.

everruns-anthropic is part of the Everruns ecosystem. It implements the ChatDriver contract from everruns-core and registers Anthropic’s Messages API driver into a DriverRegistry.

Provider crates depend on everruns-core; everruns-core does not depend on provider implementations. Hosts register whichever drivers they want to make available.

§Example

use everruns_anthropic::{AnthropicChatDriver, register_driver};
use everruns_provider::DriverRegistry;

let driver = AnthropicChatDriver::new("your-api-key");

let mut registry = DriverRegistry::new();
register_driver(&mut registry);

assert!(format!("{driver:?}").contains("AnthropicChatDriver"));

Structs§

AnthropicChatDriver
Anthropic Claude Chat Driver
DriverRegistry
Registry for LLM drivers

Traits§

ChatDriver
Trait for LLM drivers

Functions§

register_driver
Register the Anthropic driver with the driver registry