LLM providers
Anthropic
Claude SDK wrapper.
Wraps Anthropic's SDK. Tools-use aware — inspects every tool_call argument against the configured validators before the host runs the tool.
Install
pnpm add @blackunicorn/bonklm-anthropicMinimal example
import Anthropic from '@anthropic-ai/sdk'
import { wrapAnthropic } from '@blackunicorn/bonklm-anthropic'
const claude = wrapAnthropic(new Anthropic(), {
validators: ['prompt-injection', 'tool-call-args'],
})Related connectors