Skip to main content

Crate pulsehive_anthropic

Crate pulsehive_anthropic 

Source
Expand description

Anthropic Claude LLM provider for PulseHive.

Supports Claude Opus, Sonnet, and Haiku models via the Messages API with tool use support.

§Example

use pulsehive_anthropic::{AnthropicProvider, AnthropicConfig};

let provider = AnthropicProvider::new("sk-ant-...");
// Or with custom config:
let provider = AnthropicProvider::with_config(
    AnthropicConfig::new("sk-ant-...").with_model("claude-opus-4-6")
);

Re-exports§

pub use config::AnthropicConfig;
pub use provider::AnthropicProvider;

Modules§

config
Configuration for the Anthropic Claude API.
provider
Anthropic Claude LLM provider implementation.
types
Anthropic Messages API request and response types.