app · Anthropic

Claude Agent SDK

The Claude Agent SDK is the engine behind Claude Code, exposed as a library so you can build your own agents on the same agent loop, built-in tools, and context management. Available in Python and TypeScript, it lets you ship a custom autonomous agent inside your own app — wiring in your own tools and logic while inheriting the planning and memory handling that make Claude Code work. The SDK is free; you pay Claude API tokens for what the agent does. For a lab it is how you would build, say, a protocol-checker agent that reads experiments and flags missing controls.

  • byok
  • cloud
  • Commercial

What it can help with

  • autonomous agents
  • agent loop
  • function calling
  • context management
  • python sdk
  • typescript sdk
  • tool integration
  • custom workflow
  • protocol checker