Provider · Anthropic
Dornick + Anthropic Claude.
Dornick's default. Claude has the best agentic behavior we've tested — clean tool calling, fast streaming, and prompt caching that makes long-running flows cheap.
Recommended models
claude-sonnet-4-6— the default. Best balance of cost and capability.claude-opus-4-7— pick when you need the very best reasoning.claude-haiku-4-5— pick when you need cheap + fast.
Script tag
<form
data-dornick
data-dornick-provider="anthropic"
data-dornick-model="claude-sonnet-4-6"
data-dornick-key="sk-ant-..."
>
<input name="email" />
</form>
<script src="https://unpkg.com/@dornick/script/dist/dornick.js"></script> npm
import { Dornick } from "@dornick/core";
const dornick = new Dornick({
transport: {
mode: "browser",
provider: "anthropic",
apiKey: import.meta.env.PUBLIC_ANTHROPIC_KEY,
model: "claude-sonnet-4-6",
},
}); Proxy (recommended for production)
// server.ts
import { makeDornickProxy } from "@dornick/server";
app.post("/api/dornick", makeDornickProxy({
provider: "anthropic",
apiKey: process.env.ANTHROPIC_API_KEY!,
model: "claude-sonnet-4-6",
}));
// client.ts
const dornick = new Dornick({
transport: { mode: "proxy", url: "/api/dornick" },
}); Prompt caching
Dornick automatically marks the system prompt + skill instructions as cacheable when the Anthropic transport is selected, so repeated calls in the same session hit the prompt cache and cost ~10× less.
Get an API key
From console.anthropic.com. Sonnet 4.6 is $3 / $15 per million tokens (input / output) as of 2026.
Ship an agent-driven flow this afternoon.
Install Dornick, paste a config, and your form turns into an agent that fills its own inputs.