BitssyBytes logoAgent Safety Score

Directory / Claude Agent SDK

A

Claude Agent SDK

Agent framework · Anthropic · Last checked 2026-10-16

Shares Claude Code's permission system. canUseTool handles approvals for calls not already allowed, and PreToolUse hooks run on every call.

Overall: A (2.50 avg over 6 verified criteria)

Lock this down first

Put must-hold checks in a PreToolUse hook, not in canUseTool, which skips pre-approved calls.

Scorecard

CriterionRatingNotes
Permission granularity3/3
Human approval gates3/3
Sandboxing2/3Same Bash sandbox as Claude Code, set programmatically.
Secrets handlingUnverifiedNot confirmed in the docs we checked.
Audit logs2/3OpenTelemetry metrics and events, opt-in.
Kill switch / interrupt3/3AbortController cancels a query; interrupt() in streaming mode.
Network egress control2/3Sandbox network allowlist, including strict mode.

Unverified: Secrets handling. That means we could not confirm it in public docs, not that it is missing.

Sources