claude-agent-sdk-typescript  by anthropics

Build autonomous AI agents powered by Claude

Created 1 month ago
292 stars

Top 90.3% on SourcePulse

GitHubView on GitHub
Project Summary

AI agents capable of understanding codebases, editing files, running commands, and executing complex workflows. It is designed for developers seeking to automate intricate software development tasks programmatically. The primary benefit is enabling autonomous, AI-driven control over code operations and development processes.

How It Works

The Claude Agent SDK provides programmatic access to Claude's capabilities, allowing developers to build autonomous AI agents. These agents can interpret codebases, perform file edits, execute system commands, and manage multi-step workflows. This approach facilitates sophisticated automation of development tasks through a structured SDK interface.

Quick Start & Requirements

  • Install: npm install @anthropic-ai/claude-agent-sdk
  • Prerequisites: Node.js environment.
  • Documentation: Official documentation is available for further details.

Highlighted Details

  • Enables building autonomous AI agents with programmatic control.
  • Agents can understand codebases, edit files, run commands, and execute complex workflows.
  • Provides a migration path from the previous Claude Code SDK.

Maintenance & Community

  • Bug Reporting: File GitHub issues for bugs or feature requests.
  • Community Support: Join the Claude Developers Discord for discussions and assistance.
  • Data Collection: Usage data (code acceptance/rejection), conversation data, and submitted feedback are collected. Detailed data usage policies, privacy safeguards, limited retention, and restricted access are outlined in the Commercial Terms of Service and Privacy Policy.

Licensing & Compatibility

The specific open-source license is not detailed in the provided README. While Commercial Terms of Service are mentioned, explicit compatibility notes for commercial use or closed-source linking are absent.

Limitations & Caveats

The SDK involves data collection, including usage and conversation data, subject to specific privacy policies and retention limits. Migration from the Claude Code SDK may introduce breaking changes. The SDK is TypeScript-based, requiring a Node.js runtime.

Health Check
Last Commit

4 days ago

Responsiveness

Inactive

Pull Requests (30d)
2
Issues (30d)
38
Star History
205 stars in the last 30 days

Explore Similar Projects

Feedback? Help us improve.