
Security News
pnpm 11.5 Adds Support for Recognizing npm Staged Publishes
pnpm 11.5 now recognizes npm staged publish approvals in release metadata, preventing those releases from being mistaken for lower-trust package publishes.
@agentick/anthropic
Advanced tools
Native Anthropic Messages API adapter for Agentick.
pnpm add @agentick/anthropic @anthropic-ai/sdk
import { anthropic } from "@agentick/anthropic";
import { createApp } from "@agentick/core";
const model = anthropic("claude-sonnet-4-20250514");
// Use with createApp
const app = createApp(MyAgent, { model });
const session = await app.session();
await session.run({ messages: [{ role: "user", content: [{ type: "text", text: "Hello!" }] }] });
// Or with config object
const model = anthropic({
model: "claude-opus-4-20250514",
maxTokens: 8192,
apiKey: process.env.ANTHROPIC_API_KEY,
});
import { AnthropicModel } from "@agentick/anthropic";
function MyAgent() {
return (
<AnthropicModel model="claude-sonnet-4-20250514" maxTokens={4096}>
<System>You are helpful.</System>
<Timeline />
</AnthropicModel>
);
}
| Option | Type | Description |
|---|---|---|
model | string | Model name (e.g., claude-sonnet-4-20250514) |
apiKey | string? | API key (env: ANTHROPIC_API_KEY) |
baseURL | string? | Custom API endpoint (env: ANTHROPIC_BASE_URL) |
maxTokens | number? | Maximum tokens to generate |
headers | object? | Additional request headers |
timeout | number? | Request timeout in milliseconds |
maxRetries | number? | Maximum retry attempts |
client | Anthropic? | Pre-configured Anthropic SDK client instance |
customBlocks | object? | Custom block definitions to intercept from output |
deltaTransform | function? | User-facing delta transform |
| Variable | Description |
|---|---|
ANTHROPIC_API_KEY | Anthropic API key |
ANTHROPIC_BASE_URL | Custom API endpoint |
claude-opus-4-20250514claude-sonnet-4-20250514claude-3-5-haiku-20241022claude-3-5-sonnet-20241022anthropic(configOrModel) - Factory function returning ModelClasscreateAnthropicModel(config) - Same as anthropic()AnthropicModel - JSX component for declarative usageFAQs
Anthropic adapter for Agentick
We found that @agentick/anthropic demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
pnpm 11.5 now recognizes npm staged publish approvals in release metadata, preventing those releases from being mistaken for lower-trust package publishes.

Security News
Federal audit finds NIST lacked a plan to clear the NVD backlog, wasted funds on duplicate work, and delayed use of CISA data.

Research
/Security News
A mini Shai-Hulud campaign compromised Red Hat Cloud Services npm packages to steal developer and CI/CD secrets during installation.