claude-agent-sdk

Build and orchestrate Claude-powered agents with a typed multi-language API.

Updated Mar 16, 2026
One-click install
npx skills add https://github.com/liminal-ai/code-steward --skill claude-agent-sdk-liminal-ai
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: claude-agent-sdk
Source: https://github.com/liminal-ai/code-steward/tree/main/.claude/skills/claude-agent-sdk-skill
Command: npx skills add https://github.com/liminal-ai/code-steward --skill claude-agent-sdk-liminal-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The Claude Agent SDK provides a structured framework for building autonomous agents, orchestration of tools and subagents, and managing multi-turn interactions with safety and cost controls. It enables planning, designing, implementing, debugging, and extending Claude-powered agents and MCP-driven tooling across TypeScript and Python.

Core Features & Use Cases

  • Async iterator based query API to drive agent loops with streaming and structured outputs
  • Extensive configuration: tools, permissions, models, sessions, events, and plugins
  • Built-in tools and MCP integration; subagents, hooks, and streaming capabilities for complex workflows
  • Python and TS support; cross-language examples and references

Quick Start

Install the package and run a basic query to see streaming messages and cost reporting.

Frequently Asked Questions about claude-agent-sdk

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build autonomous agents with Claude?▼

To build autonomous agents with Claude, use the Claude Agent SDK to orchestrate multi-turn interactions, manage tool use, and configure subagents across TypeScript and Python projects.

Can I use the Agent SDK with TypeScript and Python?▼

Yes, the Claude Agent SDK supports both TypeScript and Python, providing a typed, multi-language API with cross-language examples and references for building and orchestrating agents.

How do I manage cost tracking and safety when orchestrating subagents?▼

Manage cost tracking and safety when orchestrating subagents by using the SDK's built-in configuration features, which control permissions, models, sessions, and events during multi-turn interactions.

What's the best way to integrate MCP tools into an agent workflow?▼

The best way to integrate MCP tools into an agent workflow is using the Claude Agent SDK, which provides built-in MCP integration and hooks to drive complex tooling workflows.

Do I need an async iterator API for streaming agent loops?▼

You need an async iterator based query API to drive agent loops effectively, enabling streaming messages and structured outputs while reporting costs during multi-turn interactions.

Agent orchestration not working with custom permissions?▼

When agent orchestration is not working with custom permissions, verify the SDK configuration for tools, permissions, and events to ensure safety controls properly manage your multi-turn interactions.