- Get API access โ Sign up at console.anthropic.com and create an API key.
- Install the SDK โ
npm install @anthropic-ai/sdkorpip install anthropic - Make a call โ
const msg = await anthropic.messages.create({ model: "claude-sonnet-4-6", max_tokens: 1024, messages: [{role:"user", content:"Hello!"}] }) - Try tool use โ Define tools with name, description, and input_schema. Claude decides when to call them.
Anthropic API
by Anthropic
Production access to Claude models via the Anthropic API. Supports the Messages API, streaming, vision, tool use, and a 200K token context window.
Quick Start
How-To Guides
2tools array. When Claude uses a tool, it returns tool_use content blocks. Process the tool call, then send a tool_result user message back.Tool Info
- Company
- Anthropic
- Category
- ๐ค AI Agents & APIs
- How-to Guides
- 2
Tags
Related Tools
CrewAI
CrewAI
A framework for orchestrating role-playing, autonomous AI agents. Define a crew of agents with specific roles, goals, and tools that collaborate to complete complex tasks.
Hugging Face
Hugging Face
The GitHub of machine learning. Hub for 500,000+ models, datasets, and Spaces demos. The Transformers library is the standard for working with open-source AI models.
LangChain
LangChain
The most popular framework for building LLM-powered applications. Provides chains, agents, RAG, memory, and integrations with hundreds of tools and data sources.
OpenAI API
OpenAI
Access GPT-4o, o1, DALL-E, Whisper, TTS, and Embeddings via API. The most widely integrated AI API with SDKs for every major language and framework.