Skip to main content

Crate kernex_providers

Crate kernex_providers 

Source
Expand description

kernex-providers: AI backend implementations and tool execution.

Provides 7 AI providers (Claude Code CLI, Anthropic, OpenAI, Ollama, OpenRouter, Gemini, AWS Bedrock), a shared tool executor with sandbox enforcement, and an MCP client for external tool integration.

Re-exports§

pub use error::ProviderError;

Modules§

anthropic
Anthropic API provider with tool-execution loop.
claude_code
Claude Code CLI provider.
error
Per-crate error type for kernex-providers.
factory
gemini
Google Gemini API provider with tool-execution loop.
http_retry
HTTP retry with exponential backoff for transient failures.
ollama
Ollama local model provider with tool-execution loop.
openai
OpenAI-compatible API provider.
openrouter
OpenRouter proxy provider.
tool_params
Typed parameters for built-in tools.