ZMIME
Anthropic

Claude Agent SDK

Anthropic’s agent SDK for embedding the Claude agent loop and tools in a Python or TypeScript application.

  • Developer frameworks and runtimes

At a glance

Provider
Anthropic
Best suited to
Building application workflows around Claude’s agent tooling
Availability
Public SDK documentation and package distribution. Supported model billing and credentials vary.
Interfaces
Python and TypeScript SDKs
Execution environment
Runs inside the environment you provision for the agent and its tools.
Model choice
Claude model access through the supported authentication and provider path.
Tools and integrations
Agent loop, file and command tools, permission controls and MCP where configured.
Human review and controls
Limit tool access with supported permissions. Your application owns user authentication, storage and review boundaries.
Prerequisites
Supported language runtime, SDK package and authorized Claude model credentials.
License and hosting
Use and distribution follow the SDK license and Anthropic or provider terms.

Pricing and usage

Model inference charges depend on provider and model. Running the SDK can also incur your own infrastructure costs.

Official cost reference

What you can do with it

  • Embed a workspace agent inside a controlled application.
  • Connect approved tools and capture run output.
  • Allow users to inspect and approve sensitive steps.

How to get started

  1. Open the official SDK overview and choose Python or TypeScript.
  2. Install the supported package and configure authorized model credentials.
  3. Test one scoped task with limited tools, then add application-level permissions.

Official setup guide

Limitations

  • You are responsible for isolating user workspaces and guarding tool side effects.
  • Model and feature availability depend on authentication path.
  • The SDK and Anthropic-managed agent services have different deployment responsibilities.

Official sources

Sources checked

Frequently asked questions

How do I start using Claude Agent SDK?

Open the official SDK overview and choose Python or TypeScript. Install the supported package and configure authorized model credentials. Test one scoped task with limited tools, then add application-level permissions.

How is Claude Agent SDK priced?

Model inference charges depend on provider and model. Running the SDK can also incur your own infrastructure costs.

What should I check before giving it access?

Limit tool access with supported permissions. Your application owns user authentication, storage and review boundaries. You are responsible for isolating user workspaces and guarding tool side effects.