@qualve/anthropic
v0.0.1
Published
Anthropic Claude provider for Qualve LLM tasks.
Readme
@qualve/anthropic
Anthropic Claude provider for Qualve LLM tasks.
Setup
Requires Node.js v23+.
npm install @qualve/anthropicSet the ANTHROPIC_API_KEY environment variable (or add it to .env).
Get a key at https://platform.claude.com/settings/keys.
Usage
import "@qualve/anthropic";Importing the package registers the claude provider with the Qualve task system.
Then use llm: "claude" in your task definitions:
export default {
type: "llm",
llm: "claude",
system: "You are a helpful assistant.",
prompt: "Summarize this data.",
input: [{ name: "data", schema: mySchema }],
output: { name: "summary", schema: summarySchema },
};Models
| Model | Context window | Max output |
| --- | --- | --- |
| claude-sonnet-4-6 (default) | 1M | 64K |
| claude-haiku-4-6 | 200K | 64K |
| claude-opus-4-5 | 1M | 128K |
Capabilities
| Capability | Supported | | --- | --- | | Structured output (JSON schema) | Yes | | Input file descriptions in prompt | Yes (automatic) | | Thinking levels | No | | Token counting | Yes |
