Tutorials · Claude Agent SDK · examples / typescriptExample code
Example code
Claude Agent SDK examples: typescript
Open a file to read it highlighted, with links to where the tutorial uses it.
Claude Agent SDKContents
| Name | What it shows | Used in | Size |
|---|---|---|---|
| agent.ts | TypeScript demo: a read-only query, then a custom tool defined with Zod. | P2 | 2.8 KB · raw |
| package.json | npm dependencies for the TypeScript demo | 381 B · raw |