The Claude Agent SDK gives you the same tools, agent loop, and context management that power Claude Code, programmable in Python and TypeScript. Agents built with the SDK can autonomously read files, run commands, search the web, edit code, and more.
Claude Agent SDK Docs
Build production AI agents with Claude Code as a library

