Udemy
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Claude Agent SDK (TypeScript)
New
Rating: 5.0 out of 5(1 rating)
133 students

Claude Agent SDK (TypeScript)

Learn Claude Agent SDK with TypeScript: queries, tools, MCP, subagents, sessions, hooks, and browser integration
Last updated 11/2026
English
English [Auto],

What you'll learn

  • Explain the Claude Agent SDK architecture, package entry points, and core APIs in version 0.3.310.
  • Create TypeScript queries, process streamed messages, and manage query handles throughout their lifecycle.
  • Configure prompts, execution context, permissions, structured outputs, and session persistence.
  • Define custom tools with typed input schemas and expose them through SDK-hosted MCP servers.
  • Configure MCP connections and subagents, and inspect, resume, or fork agent sessions.
  • Handle conversation messages, task progress, results, errors, and lifecycle hooks.
  • Configure browser queries, handle user dialogs, and suspend or resume SSE event delivery.
  • Inspect usage, context consumption, and tracing metadata to diagnose agent workflows.
  • Distinguish stable, experimental, and historical APIs, and apply the migration guidance covered in the course.

Course content

3 sections • 9 lectures • 1h 30m total length
  • Introduction and Package Map16:02
  • Core Exports and Main APIs9:15
  • Query Handles and Runtime Methods9:38

Requirements

  • Basic JavaScript or TypeScript knowledge, including functions, objects, imports, and async/await.
  • Familiarity with Node.js, npm, and running commands in a terminal.
  • A Windows, macOS, or Linux computer with internet access and a code editor such as Visual Studio Code.
  • Node.js and npm installed to follow the TypeScript examples.
  • Access to Claude through an authentication method supported by the SDK to run live examples; usage charges may apply.
  • No previous experience with the Claude Agent SDK, MCP, or multi-agent systems is required.

Description

This course contains the use of artificial intelligence.
Learn how the Claude Agent SDK fits into a TypeScript application and how its APIs work together.

This course provides a structured introduction to Claude Agent SDK TypeScript. Across nine focused video lessons, you’ll explore the SDK’s architecture, query lifecycle, configuration options, tools, permissions, integrations, and observability features.

Illustrated explanations, colour-formatted TypeScript examples, guided practice, and knowledge checks help you connect individual API concepts to the responsibilities of an agent host application.

What you’ll explore

  • SDK foundations: Understand the package structure, entry points, core exports, and the role of the host application.

  • Queries and runtime control: Follow streamed messages, inspect query handles, use runtime methods, and manage cleanup.

  • Configuration: Explore prompts, execution context, structured output, session settings, and permission options.

  • Tools and permissions: Examine built-in capabilities, custom tool contracts, input schemas, and host-side approval decisions.

  • MCP, subagents, and sessions: Understand server connections, delegated work, session history, resuming, and forking.

  • Messages and hooks: Distinguish conversation content, progress, final results, errors, and lifecycle events.

  • Browser integration and observability: Explore browser queries, user dialogs, SSE stream control, usage information, context consumption, and tracing metadata.

  • API status and migration: Recognize stable, experimental, and historical APIs, and interpret the migration guidance.

Who should take this course?

This course is designed for JavaScript and TypeScript developers who want to understand the Claude Agent SDK before applying it to repository assistants, internal tools, or automation workflows. It also suits developers reviewing older SDK examples who want a clearer understanding of the version covered here.

Basic TypeScript, Node.js, and command-line familiarity will help you follow the examples. No previous Claude Agent SDK or MCP experience is required.

Put the concepts into practice

By the end, you’ll have a clearer framework for choosing SDK APIs, configuring an agent host, interpreting runtime activity, and planning a small TypeScript agent workflow. Use the guided exercises to test your understanding and build confidence one capability at a time.

Join Luis Coco Enríquez and explore the Claude Agent SDK through a focused, version-specific learning path.

Who this course is for:

  • JavaScript and TypeScript developers who want a structured introduction to Claude Agent SDK version 0.3.310.
  • Backend and full-stack developers exploring AI agents for repository assistance, internal tools, and automation workflows.
  • Developers learning agent orchestration who want to understand custom tools, MCP servers, permissions, subagents, and session management.
  • Developers building browser-based agent interfaces who need to understand streaming messages, user dialogs, and observability.
  • Existing Claude SDK users who want to interpret API status labels and understand the migration guidance covered in version 0.3.310.