@wasmagent/model-anthropic
v1.0.3
Published
Anthropic model adapter for wasmagent
Downloads
257
Readme
/model-anthropic
Anthropic Claude adapter — auto prompt-cache breakpoints + 1-hour TTL.
Part of wasmagent — a TypeScript + WASM agent runtime.
Install
npm install /model-anthropic /core @anthropic-ai/sdkUsage
import { AnthropicModel, AnthropicModels } from "/model-anthropic";
const model = new AnthropicModel(AnthropicModels.SONNET_LATEST, {
apiKey: process.env.ANTHROPIC_API_KEY,
});License
Apache-2.0 — © wasmagent contributors
