Anthropic provides three kinds of official tooling for building with the Claude API:
ant command-line tool for shell scripting and interactive use.Shell scripting, typed flags, response transforms
Sync and async clients, Pydantic models
Node.js, Deno, Bun, and browser support
.NET Standard 2.0+, IChatClient integration
Context-based cancellation, functional options
Builder pattern, CompletableFuture async
Value objects, builder pattern
Sorbet types, streaming helpers
Libraries and integrations expose Claude through another framework's API surface. They are not general-purpose Messages API clients.
Swift package for Apple's LanguageModelSession API
Use Claude through the OpenAI SDK surface
The CLI, client SDKs, and libraries are for calling the Claude API yourself: you send each request and handle each response. Claude Code, the Claude Agent SDK, and Claude Managed Agents work at a higher level, providing the agent loop, tool execution, and runtime.
Agentic coding tool for delegating coding tasks to Claude
Build agents that run in a process you operate
Run agents in Anthropic's managed infrastructure
Was this page helpful?