E2B
SDK / ToolOpen-source secure sandboxes where AI agents run code — the de facto execution layer for agent apps.
- sandbox
- code-execution
- sdk
- agents
Official Python client for the Anthropic API.
Official Python client for the Anthropic API — Messages, Batch, Files, Token Counting, and Vision. Idiomatic Python with sync / async / streaming; the canonical client for Claude in Python.
Best for Python services calling the Claude API directly, async backends doing batch processing, and notebooks / scripts that need streaming for UIs. Pairs naturally with FastAPI for serving, LangChain for orchestration, and any database for memory.
pip install anthropic Set ANTHROPIC_API_KEY (and optionally ANTHROPIC_BASE_URL for Bedrock / Vertex) before importing.
The SDK tracks prompt caching version differences carefully — pinning to a major version is recommended in production. For long-running batch workloads, use the AsyncAnthropic client; the sync client can hold the event loop.
Repository
anthropics/anthropic-sdk-pythonCharted
Open-source secure sandboxes where AI agents run code — the de facto execution layer for agent apps.
Pythonic framework for building MCP servers — decorators, type hints, and zero boilerplate.
Anthropic's official TypeScript SDK for building agentic applications.