[KongchangAI]
ProductClaude Code Agent SDK

Agent SDK

An SDK provided by Anthropic that allows developers to invoke the Claude Code runtime programmatically. It supports tool-call loops, context persistence, and multi-step reasoning coordination, enabling the embedding of Claude Agent capabilities into custom systems and automated workflows.

Core Facts

Timeline (last 90 days)

Nov 17

OpenAI officially recommends migrating agents to the Agent SDK, migrating evaluations to PromptFu, and moving prompts back into developers' own codebases for management.

Unverified50%
Nov 11

The alpha version of OpenAI's Agent SDK explicitly recommends reconciling uncertain tool effects before resuming execution.

Unverified50%
Nov 9

The Agent SDK provides a local Playground for repeatedly test-running and debugging Agent behavior before deployment.

Unverified50%
Nov 9

The Agent SDK provides a GitHub Replay capability that can turn real PRs into test data, letting an Agent replay and score against historical scenarios.

Unverified50%
Nov 9

Trigger channels supported by the Agent SDK include: PRs, comments and CI events on GitHub, GitLab and Bitbucket; Slack mentions and direct messages; webhooks; and time-based scheduling.

Unverified50%
Nov 9

Using the Agent SDK, Agents can be created from templates, such as a security review template, where each new PR is automatically reviewed and follow-up questions continue the original conversation context.

Unverified50%
Nov 9

The complete engineering loop for an Agent is "write → test → replay → deploy".

Unverified50%
Nov 8

Using the Agent SDK's built-in search tool to add web access requires no crawler code or configuration of an external search service.

Unverified50%
Nov 4

Cursor's Agent SDK has entered the generally available stage.

Unverified50%
Nov 3

Agent SDK adds an onFailure: "block" hook callback option, which directly blocks the action when the callback fails.

Unverified50%

40 more timeline events

All Facts (20)

Verified

The core interface of the Agent SDK is a query() function; passing in a prompt and configuration starts the agent loop, and key configuration items include settingSources, allowedTools and systemPrompt.

80%
Verified

The Cursor Agent SDK allows users to define an agent as a folder containing Markdown-format prompts and TypeScript tools, and to review, test, and version-control it like code.

70%
Verified

The evaluation framework built into the Cursor Agent SDK uses the same toolchain as its internal security review agent.

65%
Verified

The Cursor Agent SDK supports both managed deployment and self-hosted deployment.

65%
Verified

The free credit can be used for the Claude API, Agent SDK, Managed Agent and Playground.

65%
Verified

The OpenAI Agents SDK provides a Guardrails mechanism for intercepting inputs that should not enter the model and outputs that should not be returned to the user.

65%
Verified

OpenAI's Agent SDK takes a more engineering-oriented approach, natively supporting agent-to-agent hand-off mechanisms and built-in safety guardrails.

65%
Verified

Agent SDK is a development toolkit written in TypeScript and Python, and is the core component powering the Claude Code backend

65%
Verified

The Claude Agent SDK has built-in tools such as Web Search and Web Fetch, giving the Agent the ability to search the internet and scrape web pages.

65%
Verified

The newly released Agent SDK allows developers to define agents in code, write prompts in Markdown, build tools in TypeScript, and choose hosted or self-hosted deployment.

75%
Unverified

Anthropic's Agent SDK supports defining an agent's action space and termination conditions, with built-in safety constraints and behavioral boundaries.

85%
Unverified

OpenHands的核心架构基于Agent SDK引擎,利用ReAct框架和Function Calling机制实现代理推理和执行

85%
Unverified

智能体任务的Token消耗量通常是普通对话的数十倍

75%
Unverified

Declarative agent definition means developers describe an agent's role, available tool set, and interaction constraints with structured configuration instead of hand-writing dispatch logic, message assembly, and loop control.

70%
Unverified

Agents built with the Cursor Agent SDK can run on Cursor's hosted service or be deployed on developers' own infrastructure, and it also provides evaluation tools.

60%
Unverified

Lifecycle hooks are interception and injection points reserved by the Agent framework at key execution nodes (such as before a tool call, after a model response, and at session end).

60%
Unverified

Claude Opus 5.5's ecosystem includes Claude Code, Agent SDK, Managed Agents, and it can be called on Bedrock, Google Cloud, and Microsoft Foundry.

60%
Unverified

Third-party applications such as Conductor and OpenCloud are developed based on the Claude Agent SDK

60%
Unverified

OpenAI officially recommends migrating agents to the Agent SDK, migrating evaluations to PromptFu, and moving prompts back into developers' own codebases for management.

50%
Unverified

The alpha version of OpenAI's Agent SDK explicitly recommends reconciling uncertain tool effects before resuming execution.

50%

Source Articles