claude-agent-sdk

Community

Orchestrate Claude agents with TypeScript

AuthorAnExiledDev
Version1.0.0
Installs0

System Documentation

What problem does it solve?

The Claude Agent SDK exposes the Claude Code agent loop as a library, providing a single function, query(), to run prompts and options and stream a structured message sequence for full lifecycle control.

Core Features & Use Cases

  • Programmatic agent orchestration: start an agent loop, feed prompts, and receive a live stream of assistant messages and results.
  • Subagents and MCP tooling: define subagents and MCP servers to delegate tasks and integrate external tools within TypeScript projects.
  • Cloud-provider compatibility: supports Claude models across Anthropic, Bedrock, Vertex AI, and Foundry with permission controls and sandboxing.

Quick Start

Run a basic TS example that calls query() to start an agent loop and observe the streamed results.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: claude-agent-sdk
Download link: https://github.com/AnExiledDev/CodeForge/archive/main.zip#claude-agent-sdk

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.