@sigx/ai-anthropic
v0.2.1
Published
Claude for @sigx/ai — a LanguageModel on the official @anthropic-ai/sdk: streaming, tool use, adaptive thinking, refusal handling
Maintainers
Readme
@sigx/ai-anthropic
Claude for @sigx/ai — a
LanguageModel on the official @anthropic-ai/sdk. Streams
client.messages.stream, maps text, thinking and tool-use blocks and
stop_reason (including refusal) onto the core's events. Adaptive
thinking is the default; providerOptions passes thinking, output_config,
fallbacks and betas straight through.
import { anthropic } from '@sigx/ai-anthropic';
const model = anthropic().model('claude-opus-5');
// anthropic({ apiKey }) or anthropic({ client: new Anthropic(...) })Install
npm install @sigx/ai @sigx/ai-anthropic @anthropic-ai/sdkPeers on @anthropic-ai/sdk — the app owns the SDK copy and its version.
Documentation
Guides and the provider option reference: https://sigx.dev/ai/
License
MIT © Andreas Ekdahl
