Skip to main content

Crate kernex_providers

Crate kernex_providers 

Source
Expand description

kernex-providers: AI backend implementations and tool execution.

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

Modulesยง

anthropic
Anthropic API provider with tool-execution loop.
claude_code
Claude Code CLI provider.
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.