little cups of claude

tips and techniques for Claude and Claude Code

Cups tagged “Agent SDK”

#22: Agent SDK Basics 🛠️

Today we'll begin looking at the Claude Agent SDK, which lets us run the same agent that powers Claude Code from inside our own TypeScript or Python code. It gives us Claude Code's built-in tools, its agent loop, and its context management as a library. We hand it a prompt, and it reads files, runs commands, and edits...

Read cup #22: Agent SDK Basics