Building Agents with Claude Code's SDK
Run Claude Code in headless mode. Use it to build agents that can grep, edit files, and run tests.
The Claude Code SDK exposes the same agentic harness that powers Claude Code—Anthropic's AI coding assistant that runs in your terminal. This SDK transforms how developers build AI