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
- Unbound CLI: Install the CLI
Get your API key
- Open Configure in Unbound.
- Under API access, copy the API key. If the card is not shown, your key is the value after
--api-keyin the install command.
Setup with Unbound CLI
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", run setup with sudo and an admin API key instead:sudo, remove it with sudo:
Verification
- Run
unbound doctor. Claude Code should be reported healthy. - Run your agent. Its terminal commands and MCP tool calls show up under Analytics → Agentic Use.
Unbound CLI
Install the CLI to set up and manage tools
Tool Policies
Configure security guardrails for AI tools

