@anthropic-ai/claude-agent-sdk
0.3.330 · 20 Nov 2026SEE LICENSE IN README.md20.7M / weekRepositorynpmAtom feed
0.3.330 is the newest release of 0.1.x.
In short
1 new9 changed
Release note
Merged prompt options: The
customSystemPromptandappendSystemPromptfields have been merged into a singlesystemPromptfield for simpler configurationNo default system prompt: The Claude Code system prompt is no longer included by default, giving you full control over agent behavior. To use the Claude Code system prompt, explicitly set:
No filesystem settings by default: Settings files (
settings.json,CLAUDE.md), slash commands, and subagents are no longer loaded automatically. This ensures SDK applications have predictable behavior independent of local filesystem configurationsExplicit settings control: Use the new
settingSourcesfield to specify which settings locations to load:["user", "project", "local"]Programmatic subagents: Subagents can now be defined inline in code using the
agentsoption, enabling dynamic agent creation without filesystem dependencies. Learn moreSession forking: Resume sessions with the new
forkSessionoption to branch conversations and explore different approaches from the same starting point. Learn moreGranular settings control: The
settingSourcesoption gives you fine-grained control over which filesystem settings to load, improving isolation for CI/CD, testing, and production deploymentsComprehensive documentation now available in the API Guide
New guides for Custom Tools, Permissions, Session Management, and more
Complete TypeScript API reference
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.