@anthropic-ai/claude-agent-sdk

SDK for building AI agents with Claude Code's capabilities. Programmatically interact with Claude to build autonomous agents that can understand codebases, edit files, and execute workflows.

@anthropic-ai/claude-agent-sdk@0.3.312 was published on 2026-10-27. Its manifest declares 0 runtime dependencies and 3 peer requirements. Type declarations are bundled according to the package metadata. The declared Node.js requirement is >=18.14.0.

All @anthropic-ai/claude-agent-sdk versions · Permanent reference to 0.3.312

Package specifications

Version0.3.312
License declarationSEE LICENSE IN README.md
Published2026-10-27T18:37:18.402Z
Node.js requirement>=18.14.0
Type declarationsBundled declarations
Runtime dependency count0
Peer requirement count3
Optional dependency count8
Minified sizeMeasurement not available yet
Minified + gzipMeasurement not available yet
Unpacked distribution size4784.81 KiB
Published file count21
Package typemodule
ES module entryNot declared
Default entrysdk.mjs
Side effects declarationNot declared
Direct advisories0
Resolved graph dependencies8
Repository stars1828
Repository forks240

Install @anthropic-ai/claude-agent-sdk 0.3.312

npm install @anthropic-ai/claude-agent-sdk@0.3.312
pnpm add @anthropic-ai/claude-agent-sdk@0.3.312
yarn add @anthropic-ai/claude-agent-sdk@0.3.312

Runtime dependencies

  • None declared

Peer requirements

Optional dependencies

Resolved dependency graph

This deps.dev graph describes a generic 64-bit Linux environment, not your application lockfile.

How to interpret the specifications

Bundlephobia measurements use its standard package build and may exclude peer dependencies. Unpacked npm distribution size includes shipped files and is a different measurement. Module declarations do not prove tree-shaking or runtime compatibility.

Advisories apply to this package version directly; transitive dependencies need separate inspection. Repository signals describe the whole repository and are current observations, including on historical-version pages.

Evidence and freshness