Claude Certification
Claude Code Configuration & Workflows
Lesson 6 · 9 min

Claude Agent SDK

Building custom agents on the same primitives as Claude Code.

The Agent SDK (Python/TS) gives you the loop: prompt, tool registry, message history, permissions, and a session object. Use it when you need an agent inside your own product rather than as a CLI.

Quick check
Claude CodeSelect one
Where do user-wide permissions live in Claude Code?