Pixelmojo
Topic

Anthropic Agent SDK

Also known as: Claude Agent SDK, Anthropic Claude Agent SDK, Claude Code Hooks SDK

The programmatic TypeScript surface for building agents on top of Claude. Covers the 12 hook events (PreToolUse, PostToolUse, UserPromptSubmit, Stop, SubagentStop, PreCompact, SessionStart, SessionEnd, Notification, PermissionRequest, SubagentStart, PostToolUseFailure), the HookCallback signature, hookSpecificOutput decisions (allow/deny/ask + updatedInput), and how programmatic hooks compare to declarative Claude Code settings.json hooks.

Articles (3)

Related Topics

Want to implement anthropic agent sdk in your product?

Talk to our team