What is the Claude Agent SDK?
The Claude Agent SDK lets you build your own agents in Python or TypeScript. It runs Claude Code underneath, so an agent can read files, run commands, and edit code. It was previously called the Claude Code SDK. These agents usually run headless, on a server or a VM. Unbound uses the same hooks as Claude Code, so your tool policies apply to every tool call the agent makes.Prerequisites
Before integration, ensure you have:- Claude Agent SDK: Install the Claude Agent SDK
- Python 3 and curl on the machine that runs your agent
Get your API key
- Open Configure in Unbound.
- Under Run the Install Command, click Copy API Key.
Setup
Run this on the machine that runs your agent:Setup adds the hooks to
~/.claude/settings.json, which the SDK reads only when settingSources includes "user". That is the default. If your agent leaves out "user", choose My Org (MDM) on Configure, click Copy MDM Key, and run:sudo, remove it with sudo:
Verification
Run your agent. Its terminal commands and MCP tool calls show up under Analytics → Agentic Use.Direct Install
Install hooks without the CLI
Tool Policies
Configure security guardrails for AI tools

