Agent SDK reference - TypeScript changedagent-sdk/typescript
Nearest release: v2.1.328, published under an hour after upstream edited the page. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
Upstream edited this page at 18 Nov 2026 22:46 UTC, give or take a minute or two: the time comes from Anthropic’s own sitemap rather than from a commit. This site recorded the change at 18 Nov 2026 23:07 UTC.
Upstream edited
Recorded here
Lines+1added
Lines−1removed
From line
1,297
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits147to this page, all time
The whole hunk
from line 1297, old and new numbered
/
This page is larger than the 256 KiB this site keeps, so one side of the diff below stops where the stored text does.
from line 1297
12971297| `skills` | No | Array of skill names to preload into the agent context |
12981298| `initialPrompt` | No | Auto-submitted as the first user turn when this agent runs as the main thread agent |
12991299| `maxTurns` | No | Maximum number of agentic turns (API round-trips) before stopping |
1300| `autoCompactWindow` | No | Lower the [auto-compact window](https://code.claude.com/docs/en/sub-agents.md#subagent-auto-compact-window) for this agent when it runs as a subagent, to a token count from `100000` to `1000000`. Requires TypeScript Agent SDK v0.3.296 or later |
1300| `autoCompactWindow` | No | Lower the [auto-compact window](https://code.claude.com/docs/en/sub-agents.md#subagent-auto-compact-window) for this agent when it runs as a subagent, to a token count of `100000` or more. Requires TypeScript Agent SDK v0.3.296 or later |
13011301| `background` | No | Run this agent as a non-blocking background task when invoked |
13021302| `omitClaudeMd` | No | Leave the user, project, and local CLAUDE.md files out of this agent's initial context; managed policy files still load. Use it for agents that take everything they need from the Agent tool prompt. Ignored when this agent runs as the main thread agent. Requires TypeScript Agent SDK v0.3.271 or later |
13031303| `memory` | No | Memory source for this agent: `'user'`, `'project'`, or `'local'` |
from line 4722
47224722 uri: string;
47234723 mimeType?: string;
47244724 text?: string;
4725 blobSavedTo?
4725 blobSavedTo?: strin
No line in this hunk matches that.