npm
npmjs.com › package › @anthropic-ai › sdk
@anthropic-ai/sdk - npm
3 weeks ago - This SDK provides helpers for making it easy to create and run tools in the Messages API. You can use Zod schemas or JSON Schemas to describe the input to a tool. You can then run those tools using the client.messages.toolRunner() method.
» npm install @anthropic-ai/sdk
Published Dec 06, 2025
Version 0.71.2
Author Anthropic
Claude
docs.claude.com › en › api › client-sdks
Client SDKs - Claude Docs
This page includes brief installation instructions and links to the open-source GitHub repositories for Anthropic’s Client SDKs.
Videos
17:01
How openai and anthropic publish their SDK and you can too - YouTube
12:46
AI API and SDK Explained: Case of OpenAI API and Anthropic - YouTube
10:13
Next.js AI SDK Tutorial - 5 - AI Models and Providers - YouTube
08:00
Claude in the Box - Use Anthropic Agent SDK in a Sandbox - YouTube
How to use AgentOps with the Anthropic SDK in 5 minutes
09:05
Build with Claude as a JavaScript developer - Anthropic API - YouTube
npm
npmjs.com › package › @ai-sdk › anthropic
@ai-sdk/anthropic - npm
import { anthropic } from '@ai-sdk/anthropic'; import { generateText } from 'ai'; const { text } = await generateText({ model: anthropic('claude-3-haiku-20240307'), prompt: 'Write a vegetarian lasagna recipe for 4 people.', });
» npm install @ai-sdk/anthropic
Published Sep 14, 2025
Version 2.0.17
Repository https://github.com/vercel/ai
Homepage https://ai-sdk.dev/docs
Vercel
vercel.com › blog › ai-sdk-6
AI SDK 6 - Vercel
3 days ago - AI SDK 6 also adds support for programmatic tool calling, which allows Claude to call your tools from a code execution environment, keeping intermediate results out of context. This can significantly reduce token usage and cost. Mark tools as callable from code execution with allowedCallers, and use prepareStep to preserve the container across steps: ... To learn more, check out the Anthropic documentation.
GitHub
github.com › anthropics › anthropic-sdk-typescript › blob › main › package.json
anthropic-sdk-typescript/package.json at main · anthropics/anthropic-sdk-typescript
"name": "@anthropic-ai/sdk", "version": "0.68.0", "description": "The official TypeScript library for the Anthropic API", "author": "Anthropic <[email protected]>", "types": "dist/index.d.ts", "main": "dist/index.js", "type": ...
Author anthropics
GitHub
github.com › anthropics › anthropic-sdk-python
GitHub - anthropics/anthropic-sdk-python
This SDK provides support for tool use, aka function calling. More details can be found in the documentation. This library also provides support for the Anthropic Bedrock API if you install this library with the bedrock extra, e.g.
Starred by 2.5K users
Forked by 411 users
Languages Python
Anthropic
anthropic.com › engineering › building-agents-with-the-claude-agent-sdk
Building agents with the Claude Agent SDK
September 29, 2025 - By giving it tools to run bash commands, edit files, create files and search files, Claude can read CSV files, search the web, build visualizations, interpret metrics, and do all sorts of other digital work – in short, create general-purpose agents with a computer. The key design principle behind the Claude Agent SDK is to give your agents a computer, allowing them to work like humans do.
GitHub
github.com › anthropics › anthropic-sdk-typescript
GitHub - anthropics/anthropic-sdk-typescript: Access to Anthropic's safety-first language model APIs in TypeScript
This SDK provides helpers for making it easy to create and run tools in the Messages API. You can use Zod schemas or JSON Schemas to describe the input to a tool. You can then run those tools using the client.messages.toolRunner() method.
Starred by 1.4K users
Forked by 182 users
Languages TypeScript 96.8% | Shell 2.1% | JavaScript 1.1%
Anthropic
anthropic.com › engineering › effective-harnesses-for-long-running-agents
Effective harnesses for long-running agents
1 month ago - The Claude Agent SDK is a powerful, general-purpose agent harness adept at coding, as well as other tasks that require the model to use tools to gather context, plan, and execute. It has context management capabilities such as compaction, which enables an agent to work on a task without exhausting ...