This guide runs Kelvin with the first-party Anthropic model plugin on the SDK path.
ANTHROPIC_API_KEYset in your shell.- Installed plugin trust policy and plugin home (defaults are fine).
- CLI plugin installed (required preflight in
kelvin-sdkruntime composition).
Install the CLI plugin:
kelvin plugin install kelvin.cliInstall the Anthropic model plugin:
kelvin plugin install kelvin.anthropicDefault index URL:
https://raw.githubusercontent.com/agentichighway/kelvinclaw-plugins/main/index.json
Both use KELVIN_PLUGIN_HOME and KELVIN_TRUST_POLICY_PATH if set.
export ANTHROPIC_API_KEY="<your_key>"
cargo run -p kelvin-host -- \
--prompt "Summarize KelvinClaw in one sentence." \
--model-provider kelvin.anthropic \
--memory fallbackExpected behavior:
- runtime loads installed plugins through signature + manifest checks
- model provider is selected explicitly by plugin id (
kelvin.anthropic) - request executes through the generic
provider_profile_callguest ABI - host resolves the declarative
anthropic.messagesprovider profile object and performs the HTTPS call
- missing plugin id or install path: typed configuration/load error
- missing
ANTHROPIC_API_KEY: typed invalid-input error before outbound call - host not in allowlist: typed invalid-input error
- provider 4xx/5xx: typed backend error
- malformed plugin output: typed invalid-input error