AI Agent Assurance for Your Agent Deployments

Agent Assurance Tests How Your Agent Actually Behaves across Workflows, Tools, and Actions to Catch Failures and Vulnerabilities.

npm install -g @testmuai/rook@latest

Claude Agent SDK: What It Is and How to Build With It

Learn what the Claude Agent SDK is, how it differs from Claude Code and the Messages API, and how to install it in Python or TypeScript and set its key options.

Summarise with AI

OVERVIEW

On 2026-12-01, pip install claude-agent-sdk on Windows x64 placed a 384.4 MiB Claude Code executable inside the Python package, and the package's options dataclass had 50 fields, none of them required. Two of those fields, max_turns and max_budget_usd, were unset, which Anthropic's agent loop docs list as "No limit" on turns and spend.

That binary is the point of the Claude Agent SDK: it is Claude Code's agent loop, built-in tools and context handling, packaged as a Python and TypeScript library that your application drives.

Overview

The Claude Agent SDK is Anthropic's Python and TypeScript library for building AI agents on the same tools, agent loop and context management that power Claude Code. It spawns a bundled Claude Code binary as a subprocess, executes tool calls itself and streams each message back to your code.

What Are the Main Parts of the Claude Agent SDK?

  • query() entry point: The Claude Agent SDK's query() function creates the agent loop and returns an async iterator, so your code streams each message as Claude works. Each call starts a new session by default, and query() does not support interrupts.
  • ClaudeAgentOptions: ClaudeAgentOptions is the Python configuration dataclass for a Claude Agent SDK run, called Options in TypeScript. None of its fields is required, and its turn and budget caps, max_turns and max_budget_usd, default to no limit.
  • Built-in tools: The Claude Agent SDK ships Claude Code's built-in tools, and Claude executes them directly. Read, Edit and Write handle files, and Glob and Grep handle search. Bash runs shell commands, while WebSearch and WebFetch reach the web.
  • Custom tools: Custom tools in the Claude Agent SDK are served from an in-process MCP server built with create_sdk_mcp_server in Python or createSdkMcpServer in TypeScript. The server runs inside your application, not as a separate process.
  • Permission modes: Claude Agent SDK permission modes are six strings, from default to bypassPermissions, that decide which tool calls run without approval. Deny rules still block a matching call in every mode, including bypassPermissions.
  • Hook events: Claude Agent SDK hooks are callback functions that the Claude Code application, not Claude, runs at agent events such as PreToolUse and Stop. The hooks page lists 33 events for TypeScript, and the Python SDK can register 10 of them.
  • Sessions: A Claude Agent SDK session is the conversation history the SDK writes to disk under a session ID, which you can resume or fork. Sessions persist the conversation, not the filesystem, so reverting file changes takes file checkpointing.

What Is the Claude Agent SDK?

The Claude Agent SDK is Anthropic's library for building agents that plan their own steps and call tools that read files, run commands or edit code. The Agent SDK overview describes it as "the same tools, agent loop, and context management that power Claude Code, programmable in Python and TypeScript."

It is a ready-made agent harness: the loop that sends a prompt, runs the tools Claude asks for and feeds the results back is already written. Your code supplies the task, the options and any custom tools, then reads a stream of messages.

The Anthropic Agent SDK started life as the Claude Code SDK. In its post of September 29, 2025, Anthropic wrote that "the agent harness that powers Claude Code (the Claude Code SDK) can power many other types of agents, too" and renamed it. Its examples are finance, personal assistant, customer support and deep research agents.

The migration guide lists what moved. The PyPI package claude-code-sdk became claude-agent-sdk, the npm package @anthropic-ai/claude-code became @anthropic-ai/claude-agent-sdk, and Python's ClaudeCodeOptions became ClaudeAgentOptions. Version 0.1.0 also stopped using Claude Code's system prompt by default; you opt back in with the claude_code preset.

What Does "Claude SDK" Mean?

"Claude SDK" can mean Anthropic's client SDKs or the Claude Agent SDK, and the two sit at different levels. Anthropic's SDKs, CLI, and libraries page lists client SDKs as "General-purpose Messages API clients for Python, TypeScript, C#, Go, Java, PHP, and Ruby." On 2026-12-01 that page listed the Python client anthropic at 2.15.0 and the TypeScript client @anthropic-ai/sdk at 1.15.0.

With them, in the page's words, "You send each request and handle each response." The same page says Claude Code, the Agent SDK and Managed Agents "work at a higher level, providing the agent loop, tool execution, and runtime."

Pick a client SDK when you want to own each request, the tool loop and the runtime. Pick the Agent SDK when the agent should read files, edit them and run commands on a machine without you writing that loop.

Claude Agent SDK vs Messages API vs Claude Code

Anthropic's overview compares four ways to run Claude as an agent and says they "differ in who runs the agent, what comes built in, and how you reach it." The table restates those rows, with hosting facts from the SDK's hosting guide:

AspectClaude Agent SDKClaude Code (terminal)Client SDK (Messages API)Managed Agents
Built forEmbedding Claude Code's agent in your own applicationInteractive development and one-off tasks in a terminalCalling the Claude API directly from your codeHaving Anthropic host the agent, configured through the API
Tool loopBuilt in; Claude executes tools directlyBuilt inYou write it, or use the beta tool runnerRun by a hosted agent harness
Comes withBuilt-in tools, permissions, sessions and hooksThe same capabilities behind a terminal interfaceDirect API access; you write the tool loopSessions in a managed or self-hosted sandbox
Where it runsA process you operate, one subprocess per sessionYour terminalYour code, in any of seven languagesAnthropic's cloud sandbox or your own infrastructure
How you reach itPython or TypeScript packageTerminal, or a subprocess from other languagesA client library per languageThe Claude API

The SDK and Claude Code share the agent loop and built-in tools, and the SDK runs a bundled copy of the Claude Code binary. To drive that loop from a language other than Python or TypeScript, the overview says to run the CLI as a subprocess in print mode with JSON output.

The Messages API column is the one where tool calling is your code's job: the model returns a call, and you run it and send back the result. Anthropic puts the difference in one line: in the Agent SDK, "Claude executes tools directly instead of asking you to implement them."

How Does the Claude Agent SDK Loop Work?

Each call runs the same five steps, per Anthropic's agent loop docs. A turn is one pass: Claude produces output, the SDK executes any tool calls in it, and the results go back to Claude automatically.

  • Receive prompt - your prompt, the system prompt and the tool definitions go to Claude.
  • Evaluate and respond - Claude answers with text, tool calls or both.
  • Execute tools - the SDK runs the requested tools; read-only tools such as Read, Glob and Grep can run concurrently, while Edit, Write and Bash run one at a time.
  • Repeat - tool results feed the next turn until Claude stops calling tools.
  • Return result - a final AssistantMessage with no tool calls, then a ResultMessage with the final text, token usage, cost and session ID.

If you have built a ReAct agent by hand, this is the part you no longer write. The docs put a question like "what files are here?" at two or three turns, while "refactor the auth module and update the tests" can chain dozens of tool calls. Anthropic's launch post describes the cycle as gather context, take action, verify work, and repeat.

The stream carries five core message types: SystemMessage, AssistantMessage, UserMessage, StreamEvent and ResultMessage. The ResultMessage tells you how the run ended through its subtype:

  • success - the only subtype that carries the result field with the final text.
  • error_max_turns - the run stopped at the turn cap you set.
  • error_max_budget_usd - the run stopped at the spending cap you set.
  • error_during_execution - the run failed partway.
  • error_max_structured_output_retries - structured output still failed after its retries.

Every subtype carries total_cost_usd, usage, num_turns and session_id, so log those on every run. Check the subtype before reading result, because a capped or failed run has none.

How to Install the Claude Agent SDK

The Agent SDK quickstart asks for Node.js 18.14+ or Python 3.10+ and an Anthropic account. Both packages bundle a native Claude Code binary, so most installs need no separate Claude Code install.

Claude Agent SDK Python Setup

Install the Claude Agent SDK for Python inside a virtual environment. The Python SDK reference warns that on recent Debian, Ubuntu and Homebrew Python installs, pip install against the system Python fails with error: externally-managed-environment.

python -m venv .venv
# Windows: .venv\Scripts\activate
source .venv/bin/activate
pip install claude-agent-sdk

# or, with uv
uv init && uv add claude-agent-sdk

pip normally picks a platform wheel that contains the binary. When it falls back to the source distribution, as on ARM64 Windows, no binary is bundled and you need Claude Code installed on its own.

Claude Agent SDK TypeScript Setup

The Claude Agent SDK for TypeScript is one npm package. Its binary arrives as an optional dependency named per platform, such as @anthropic-ai/claude-agent-sdk-darwin-arm64, so a CI install that omits optional dependencies gets no binary even on a supported platform.

npm install @anthropic-ai/claude-agent-sdk

The TypeScript SDK reference says "The SDK version tracks the bundled Claude Code version", giving SDK v0.3.191 with Claude Code v2.1.191 as its example. On 2026-12-01 the npm package stood at 0.3.333, published 2026-11-30, and the TypeScript changelog's top entry read "Updated to parity with Claude Code v2.1.333".

Agent SDK Authentication and Model Providers

By default the SDK uses ANTHROPIC_API_KEY from the Claude Console. It reads the key from the environment of the process that runs your agent and "doesn't load .env files automatically", so load them yourself. The quickstart lists four other providers:

  • Amazon Bedrock - set CLAUDE_CODE_USE_BEDROCK=1 and configure AWS credentials. That is Bedrock as a model provider, not Amazon Bedrock Agents, the AWS agent service whose agents are tested through InvokeAgent traces.
  • Claude Platform on AWS - set CLAUDE_CODE_USE_ANTHROPIC_AWS=1 and ANTHROPIC_AWS_WORKSPACE_ID, then configure AWS credentials.
  • Google Cloud's Agent Platform - set CLAUDE_CODE_USE_VERTEX=1 and configure Google Cloud credentials.
  • Microsoft Foundry - set CLAUDE_CODE_USE_FOUNDRY=1 and configure Azure credentials.

A claude.ai login is for your own use. The overview states that, unless previously approved, Anthropic does not allow third-party developers to offer claude.ai login or rate limits for their products, including agents built on the Agent SDK.

Offline Inspection of the Installed Python Package

To see what an install contains, a script ran on 2026-12-01 inside a fresh virtual environment (Python 3.14.6, Windows x64) right after pip install claude-agent-sdk. It reads package metadata, the options dataclass and the typed literals, plus the public npm and PyPI JSON; it sets no API key, makes no model call and never starts the binary.

# Excerpt of inspect_sdk.py (the full script also
# formats the rows and reads npm and PyPI JSON)
import dataclasses, pathlib, typing
import importlib.metadata as md
import claude_agent_sdk as sdk
from claude_agent_sdk import types as sdk_types

dist = md.distribution("claude-agent-sdk")
pkg = pathlib.Path(sdk.__file__).parent
bundled = pkg / "_bundled"
print(dist.version)
ver = (bundled / "claude.version").read_text()
print(ver.split(" ")[0])

fields = dataclasses.fields(sdk.ClaudeAgentOptions)
print(len(fields))  # then each field's default

print(typing.get_args(sdk_types.PermissionMode))
print(typing.get_args(sdk_types.HookEvent))

Its output, sections 2 and 5 left out:

Claude Agent SDK, offline introspection
No API key set, no model call, binary not run

[1 Python package in this venv]
  claude-agent-sdk          0.2.189
  Requires-Python           >=3.10
  wheel tag                 py3-none-win_amd64
  bundled Claude Code       2.1.332
  bundled binary            claude.exe, 384.4 MiB
  runtime deps (unconditional):
    anyio, jsonschema, mcp, sniffio

[3 ClaudeAgentOptions dataclass]
  fields                    50
  field                     default
  tools                     None
  allowed_tools             []
  disallowed_tools          []
  permission_mode           None
  system_prompt             None
  max_turns                 None
  max_budget_usd            None
  cwd                       None
  mcp_servers               {}
  hooks                     None
  agents                    None
  setting_sources           None
  resume                    None
  fork_session              False
  sandbox                   None
  model                     None
  required fields           0

[4 Allowed values (typing.Literal)]
  PermissionMode:
    default, acceptEdits, plan, bypassPermissions,
    dontAsk, auto
  SettingSource:
    user, project, local
  HookEvent (10 in the Python SDK):
    PreToolUse, PostToolUse, PostToolUseFailure,
    UserPromptSubmit, Stop, SubagentStop, PreCompact,
    Notification, SubagentStart, PermissionRequest

[6 Public registries, read today]
  npm @anthropic-ai/
    claude-agent-sdk latest 0.3.333
    published               2026-11-30
    first version           2025-09-27
    versions listed         353
    engines.node            >=18.14.0
  PyPI claude-agent-sdk     0.2.189
    uploaded                2026-11-25
    releases listed         161

Python 0.2.189 bundled Claude Code 2.1.332, while TypeScript 0.3.333 tracks Claude Code 2.1.333, so the two packages number their releases differently. Pin each package on its own, and check its bundled Claude Code version when a docs page says a feature needs a given CLI release. The binary size and wheel tag apply to the Windows x64 wheel; other platforms ship their own wheels.

The sections left out counted 159 public names in the package's exports (24 functions, 107 classes and 28 aliases and constants) and 15 public methods on ClaudeSDKClient, among them interrupt, set_permission_mode, set_model and rewind_files.

query() vs ClaudeSDKClient: Which Entry Point Should You Use?

In Python, use query() for one task and ClaudeSDKClient for a conversation. The Python reference recommends the client "for interactive applications such as chat interfaces, or when the next action depends on Claude's response." Its comparison:

Featurequery()ClaudeSDKClient
SessionCreates a new session by defaultReuses the same session
ConversationSingle exchangeMultiple exchanges in the same context
InterruptsNot supportedSupported
Use caseOne-off tasksContinuous conversations

In TypeScript, the main functions are query(), tool() and createSdkMcpServer(). startup() spawns the CLI subprocess and completes its handshake before a prompt exists, so the first query skips that cost; prewarm(), in alpha, does the same for apps that boot before a working directory is chosen.

The TypeScript reference also exports session helpers such as listSessions(), getSessionMessages() and forkSession(). Its options type is Options, the counterpart of Python's ClaudeAgentOptions.

Which Claude Agent SDK Options Should You Set First?

Set the caps, the settings sources and the tool rules before the first run, because their defaults are permissive. The defaults below are the ones the installed Python package 0.2.189 printed; TypeScript uses camelCase names such as maxTurns, allowedTools and settingSources.

Python optionDefaultWhat it changes
max_turnsNoneCaps the turns in a run; unset means no limit
max_budget_usdNoneStops at a client-side cost estimate, which can pass the value, so leave headroom
setting_sourcesNoneUnset loads user, project and local settings; an empty list disables them
toolsNoneLimits which built-in tools the agent has at all
allowed_tools[]Pre-approves tools; does not restrict Claude to them
disallowed_tools[]A bare name such as Bash removes the tool from Claude's context
permission_modeNoneWhich calls run without approval (modes below)
system_promptNoneYour prompt; Claude Code's prompt only through the claude_code preset
cwdNoneThe working directory the agent's subprocess runs in
mcp_servers, agents, hooks{}, None, NoneMCP servers, programmatic subagents and hook callbacks

The settings default matters most in CI. Per Anthropic's page on Claude Code features in the SDK, leaving setting_sources unset (settingSources in TypeScript) loads the same files as the CLI, including CLAUDE.md and the .claude/ skills, agents and commands. An empty list stops those, but managed policy settings and ~/.claude.json are still read.

The migration guide adds that isolation matters for "CI/CD pipelines, deployed applications, test environments, and multi-tenant systems".

A first agent with those settings, checked against the installed 0.2.189 package by importing the names and building the options object (no session was started):

import asyncio
from claude_agent_sdk import (
    query, ClaudeAgentOptions, ResultMessage,
)

options = ClaudeAgentOptions(
    tools=["Read", "Glob", "Grep"],
    allowed_tools=["Read", "Glob", "Grep"],
    permission_mode="default",
    max_turns=8,
    max_budget_usd=0.50,
    setting_sources=[],
    cwd="./sample-repo",
)

async def main():
    async for msg in query(
        prompt="List the TODO comments in src/",
        options=options,
    ):
        if isinstance(msg, ResultMessage):
            print(msg.subtype, msg.num_turns)
            print(msg.session_id)
            if msg.subtype == "success":
                print(msg.result)

asyncio.run(main())

Agent SDK Permission Modes and Evaluation Order

The agent loop docs define six modes, and the installed package's PermissionMode type accepts the same six strings:

  • default - with no allow rule covering it, a call that needs approval is sent to your canUseTool callback, and it is denied if there is none.
  • acceptEdits - auto-approves file edits and common filesystem commands such as mkdir, touch, mv and cp inside your working directories.
  • plan - Claude explores and plans, and edits through its file tools go to your callback even when an allow rule matches.
  • dontAsk - never prompts; pre-approved tools run and every call that would prompt is denied.
  • auto - a model classifier reviews actions such as shell commands and network requests, allowing or blocking each one.
  • bypassPermissions - runs tool calls without approval, including tools you did not list, though ask rules and a few calls the permissions page lists still go to your canUseTool callback, and deny rules still apply. TypeScript also needs allowDangerouslySkipPermissions, and the mode cannot run as root on Unix.

The permissions page checks each call in a fixed order: hooks, deny rules, ask rules, the permission mode, allow rules, then the canUseTool callback. A matching deny rule ends the check, "even in bypassPermissions mode and when a hook returned allow."

So restrict tools with deny rules or the tools option, never with allowed_tools alone, which only pre-approves. For how to prove those rules hold under adversarial prompts, see testing agent permissions.

Built-In Tools, Custom Tools and MCP Servers in the SDK

The SDK ships Claude Code's built-in tools, grouped in the agent loop docs by category. These are the same kinds of agent tools you would otherwise define by hand:

  • File operations - Read, Edit and Write.
  • Search - Glob and Grep.
  • Execution - Bash.
  • Web - WebSearch and WebFetch.
  • Discovery - ToolSearch.
  • Orchestration - Agent, Skill, AskUserQuestion, TaskCreate and TaskUpdate.

When a call is denied, Claude gets a rejection message as the tool result and typically tries another approach or reports that it could not proceed. Your own tools follow the custom tools guide: a name, a description, an input schema (a Zod schema in TypeScript, a dict such as {"latitude": float} in Python) and a handler. The handler returns content, with optional structuredContent and isError.

You wrap those tools with create_sdk_mcp_server in Python or createSdkMcpServer in TypeScript, and the server "runs in-process inside your application, not as a separate process." The Python SDK README lists no subprocess management and no IPC overhead for tool calls among the benefits over external MCP servers.

External servers connect three ways in the SDK's MCP guide: stdio for a server you start with a command, "type": "http" for streamable HTTP, and the in-process SDK server. That guide still says "use HTTP or SSE" for a URL, though the MCP specification of 2026-07-28 classes HTTP+SSE as deprecated, a change covered in AI agent protocols.

MCP tools appear to Claude as mcp__<server-name>__<tool-name>, for example mcp__github__list_issues, and you list those full names in allowedTools. Before wiring a third-party server into an agent, read about testing an MCP server.

Hooks, Subagents and Sessions in the Agent SDK

Hooks, subagents and sessions come from Claude Code. The difference most likely to surprise you is in hooks: Python can register fewer hook events as callbacks than TypeScript.

Hook Events in Python and TypeScript

Hooks are "callback functions that run your code in response to agent events, like a tool being called, a session starting, or execution stopping," in Anthropic's words. The Python README adds that the Claude Code application, not Claude, invokes them, so they can provide deterministic processing.

The table on the SDK hooks page lists 33 events, all available in TypeScript, but only 10 are marked for Python: PreToolUse, PostToolUse, PostToolUseFailure, UserPromptSubmit, Stop, SubagentStart, SubagentStop, PreCompact, PermissionRequest and Notification. The installed package's HookEvent type lists exactly those 10, so the other 23, among them SessionStart, SessionEnd, PostCompact and StopFailure, cannot be registered as Python callbacks. In Python, SessionStart and SessionEnd run only as shell command hooks defined in a settings file the SDK loads, such as .claude/settings.json.

Hook concepts are shared with the CLI, so the guide to Claude Code hooks covers the terminal side of the same mechanism.

Subagent Definitions and Context Isolation

The subagents guide defines them as "separate agent instances that your main agent can spawn to handle focused subtasks." You can create one with the agents option, as a markdown file in .claude/agents/, or let Claude call the built-in general-purpose subagent through the Agent tool; Anthropic recommends the programmatic route for SDK apps.

Unless the subagent is a fork, which copies the conversation so far, the parent passes it only the Agent tool's prompt string. Either way, the subagent's intermediate tool calls stay inside it and only its final message returns. Frontmatter and delegation rules for file-based definitions are covered in Claude Code subagents.

Sessions, Resume, Fork and Compaction

A session is the conversation history the SDK accumulates: the prompt, every tool call, every tool result and every response, written to disk automatically. Capture ResultMessage.session_id to resume it later, or fork it to try a different approach without changing the original.

The sessions page warns that sessions "persist the conversation, not the filesystem." Reverting the agent's file changes needs file checkpointing, and the Python client has a rewind_files method for it.

Within a session the context never resets: system prompt, tool definitions, history and tool output all accumulate. Near the limit the SDK compacts older history into a summary, and early instructions may not survive.

Put persistent rules in a project CLAUDE.md instead of the first prompt, because CLAUDE.md is re-injected on every request. It loads only when setting_sources is unset or includes project, so the first agent above, with its empty list, never reads it. AI context covers context windows in general.

Running a Claude Agent SDK App in Production

The hosting guide starts from one fact: the SDK "spawns and supervises a claude CLI subprocess that owns a shell, a working directory, and session files on disk." One session maps to one subprocess, so N concurrent sessions take N subprocesses, each with its own process tree and transcript.

ConcernWhat Anthropic's docs sayWhat to do
Session patternEphemeral container per task, long-running containers, or ephemeral containers that hydrate from a SessionStorePick ephemeral for isolated user tasks; hybrid when sessions must survive restarts
Runaway sessions"No top-level session timeout"Set max_turns (maxTurns in TypeScript) on every run
State on diskTranscripts sit in ~/.claude/projects/ and do not survive a restart, a scale-down or a node movePersist sessions outside the container if you need to resume them
Cost reportingtotal_cost_usd and costUSD are client-side estimates from a bundled price tableReconcile with billing data, not the SDK's figure
Skipping approvalsReserve bypassPermissions for CI, containers or other isolated environmentsNever run it on a host with credentials or data you care about
Terms and brandingAnthropic's Commercial Terms apply; a product may not call itself Claude CodeKeep your own product name and review the terms before shipping to customers

The cost row comes from the cost tracking page, which calls those fields "not authoritative billing data". Because max_budget_usd stops on the same estimate, treat it as a guard rail for one run rather than a spending control.

Agent SDK File Changes as Agent Assurance Evidence

An SDK agent with Bash, Edit and Write works on a real machine, and its ResultMessage text is its own account of the run. Sessions keep the conversation, not the filesystem. The transcript shows the calls Claude made, not the state the files ended in, and what a Bash command wrote shows only as the command and its output.

TestMu AI's Agent Assurance grades a run against evidence instead of the agent's summary. While each scenario runs, it observes the filesystem under the paths the profile declares, the artifacts produced and the tool calls made, and it checks those calls against the agent's own declared tools.

  • Claude Code-style definitions - if the project keeps agents in .claude/agents/*.md with skills, subagents and MCP server configs, Agent Assurance discovers the declared agents and tools deterministically, with no model involved.
  • SDK app as a command or endpoint - an app you can run as a command or reach over HTTP is invoked through a profile with reviewable hook scripts. That is the general invocation pattern, not an SDK-specific connector.
  • Records - a database row or ticket is confirmed only through a read-only check you provide; without one, the verdict for that criterion is Unable to Verify, never a failure.

Your agent's writes are real during a run, so point it at a staging copy of the repository or service. For hooks that record tool calls, subagent checks and git-state assertions in your own test suite, see testing Claude Agent SDK agents.

Install Rook CLI from npm with Node.js 20 or newer. The Homebrew and shell-installer routes need no Node at all, and Node.js 22 or later is the floor for npx @testmuai/rook-skill, the skill installer. The 7-day free trial includes 10,000 credits; the plans that follow it are on the Agent Assurance plans page.

npm install -g @testmuai/rook@latest
Start a 7-day free trial of Agent Assurance by TestMu AI, with 10,000 credits, to test how your AI agents behave across workflows, tools, and actions

Where Should You Start With the Claude Agent SDK?

Install the Claude Agent SDK in a virtual environment, point it at a throwaway repository, and set max_turns, max_budget_usd, an empty setting_sources list and tools limited to Read, Glob and Grep before the first prompt. Log the ResultMessage subtype, turn count and session ID on every run, and widen the tools only after the runs end in success with the turns and cost you expected.

With npm publishing a new SDK version on 2026-11-30 and PyPI on 2026-11-25, pin both packages and re-read the changelog before each upgrade. When the agent starts writing files, wire it into an Agent Assurance profile with the profiles and hooks guide so each release is checked on what it changed.

To run your first test, install Agent Assurance with npm install -g @testmuai/rook@latest, or
for a full walkthrough of the product.

Was this helpful?

Authors

Samyak Goyal

Samyak Goyal

Author · 05 hubs

Samyak Goyal is a Senior Member of Technical Staff at TestMu AI engineering Kane CLI, the command-line tool that runs browser automation from the terminal, where a flow described in natural language executes in a real Chrome browser and returns pass or fail with shareable proof. He is a backend engineer with 4+ years of experience, previously an SDE at Innovaccer, where he built APIs, introduced Kafka, and cut deployment from weeks to hours. Samyak also builds multi-agent systems, skill-orchestration frameworks, and a personal copilot that indexes 200+ microservice repositories.

Sirajuddin Khan

Sirajuddin Khan

Reviewer

Sirajuddin Khan is Vice President of Product Management at TestMu AI, where he drives the company's agentic AI product strategy, building a suite of autonomous agents that includes Agentic Browsers and Agentic Visual Testing and shifting the unit of work from test execution to autonomous outcomes. One of the company's earliest product leaders, he has owned the roadmap for the high-performance execution cloud and grew the cross-browser testing products from early adoption to market leadership. He brings over a decade of experience across SaaS, B2B, and eCommerce, with earlier product roles at Wydr and ShopClues, where his catalog and search work cut delivery SLAs and lifted seller activity. Sirajuddin holds an MBA in Information Technology from Sikkim Manipal University and a B.Tech in Computer Science Engineering from Maharshi Dayanand University.

Claude Agent SDK FAQs

TestMu AI forEnterprise

Get access to solutions built on Enterprise
grade security, privacy, & compliance

  • Advanced access controls
  • Advanced data retention rules
  • Advanced Local Testing
  • Premium Support options
  • Early access to beta features
  • Private Slack Channel
  • Unlimited Manual Accessibility DevTools Tests