All connectors
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-anthropic

Minimal 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