Provider · Anthropic
Linda + Anthropic Claude.
Linda'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-linda
data-linda-provider="anthropic"
data-linda-model="claude-sonnet-4-6"
data-linda-key="sk-ant-..."
>
<input name="email" />
</form>
<script src="https://unpkg.com/@linda/script/dist/linda.js"></script> npm
import { Linda } from "@linda/core";
const linda = new Linda({
transport: {
mode: "browser",
provider: "anthropic",
apiKey: import.meta.env.PUBLIC_ANTHROPIC_KEY,
model: "claude-sonnet-4-6",
},
}); Proxy (recommended for production)
// server.ts
import { lindaProxy } from "@linda/server";
app.post("/api/linda", lindaProxy({
provider: "anthropic",
apiKey: process.env.ANTHROPIC_API_KEY!,
model: "claude-sonnet-4-6",
}));
// client.ts
const linda = new Linda({
transport: { mode: "proxy", url: "/api/linda" },
}); Prompt caching
Linda 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 Linda, paste a config, and your form turns into an agent that fills its own inputs.