@anthropic-ai/claude-agent-sdk 0.3.311

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.311 was published on 2026-10-26. 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.311 · Latest release

Package specifications

Version0.3.311
License declarationSEE LICENSE IN README.md
Published2026-10-26T19:49:59.951Z
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 size4785.10 KiB
Published file count21
Package typemodule
ES module entryNot declared
Default entrysdk.mjs
Side effects declarationNot declared
Runs install scriptsUnknown — manifest scripts were not supplied
Direct advisories0
Resolved graph dependencies8
Repository stars1884
Repository forks246

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

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

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