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: Build AI Agents with Python
New
2 students

Claude Agent SDK: Build AI Agents with Python

From your first agent to advanced multi-agent systems: tools, MCP, memory, RAG, security, and deployment.
Last updated 11/2026
English

What you'll learn

  • Build autonomous AI agents using the Claude Agent SDK and Python, from basic assistants to advanced agentic applications.
  • Understand the Claude Agent SDK architecture, core components, agent lifecycle, message types, and execution workflows.
  • Implement AI agents that use tools to read, write, search, and modify files, execute commands, and automate real-world tasks.
  • Design effective system prompts, configure agent behavior, and control reasoning, tool usage, and execution boundaries.
  • Develop custom tools and integrate external APIs, databases, and third-party services into Python-based AI agents
  • Build conversational AI agents with multi-turn interactions, session management, context preservation, and persistent memory.
  • Implement subagents, task delegation, and multi-agent workflows to solve complex problems collaboratively.
  • Integrate Model Context Protocol (MCP) servers to extend agent capabilities and connect external tools and data sources.
  • Implement structured outputs, hooks, permissions, error handling, and security controls for reliable agent execution.
  • Develop practical AI agent applications for research, software development, data processing, workflow automation, and business operations.
  • Test, debug, monitor, and optimize AI agents for reliability, performance, token consumption, and operational costs.
  • Deploy production-ready Python AI agents with asynchronous execution, configuration management, logging, and scalable application architectures.

Course content

15 sections • 101 lectures • 7h 26m total length
  • The Smallest Agent5:40
  • Understanding Agent Message Types5:49
  • Routing and Handling Agent Messages7:34
  • Working with Content Blocks8:03
  • Execute Your First Tool7:40
  • Streaming Agent Responses in Real Time6:33
  • Understanding the Final Result7:17

Requirements

  • Basic Python programming knowledge is recommended, including variables, functions, classes, and asynchronous programming concepts.
  • No previous experience with Claude, the Claude Agent SDK, AI agents, or agentic engineering is required. All essential concepts are explained step by step.
  • A computer running Windows, macOS, or Linux with Python installed and a code editor such as Visual Studio Code or PyCharm.
  • Basic familiarity with the command line, installing Python packages, and working with virtual environments is helpful but not mandatory.
  • An Anthropic account and access to Claude models through a supported authentication method. API usage may involve additional costs.
  • A stable internet connection to install dependencies, access documentation, and interact with Claude AI models.
  • Curiosity about artificial intelligence, automation, and building practical AI-powered applications. A willingness to experiment and learn by doing is all you need to get started.

Description

This course contains the use of artificial intelligence
Build intelligent AI agents with Python and the Claude Agent SDK, progressing from your first agent to advanced multi-agent architectures.

This practical course takes you through 100 lessons covering how agents communicate, use tools, manage memory, coordinate tasks, and interact with external systems. You’ll explore the code and architectural patterns behind increasingly capable agent applications, along with the practices needed to make them reliable, secure, and ready for deployment.

You’ll start with the fundamentals: understanding agent messages, reading content blocks, following the agent loop, streaming responses, and configuring agent behavior. From there, you’ll connect agents to files, APIs, custom tools, and Model Context Protocol (MCP) servers.

As you advance, you’ll explore persistent sessions, memory, retrieval-augmented generation (RAG), and multi-agent workflows. You’ll study architectures such as planner–executor, supervisor–worker, parallel execution, reflection, evaluator–optimizer, and human-in-the-loop systems.

The later lessons examine advanced reasoning, agent collaboration, and production concerns, including security, sandboxing, cost control, latency, observability, continuous evaluation, and CI/CD.

What you’ll learn

  • Build and configure AI agents using Python and the Claude Agent SDK.

  • Understand agent execution, streaming, tool calls, and results.

  • Integrate files, external APIs, custom tools, and MCP servers.

  • Add persistent conversations, memory, and knowledge retrieval.

  • Design workflows that coordinate multiple specialized agents.

  • Compare agent architectures and choose patterns for different tasks.

  • Apply reliability, security, monitoring, and evaluation practices.

  • Understand how to move agent applications toward production.

Who this course is for

Python developers, software engineers, AI practitioners, and technical learners who want to build agent applications and understand the architectures behind them.

Requirements

Basic Python knowledge, familiarity with installing packages and running scripts, and access to Claude through a supported authentication method. Some examples may require additional services or incur usage costs.

By the end of the course, you’ll have a practical foundation for building Claude-powered agents and a broad architectural toolkit for designing more sophisticated agent systems.

Who this course is for:

  • Python Developers who want to expand their skills by building intelligent, autonomous AI agents using the Claude Agent SDK.
  • AI Engineers and Agentic AI Developers interested in designing, implementing, and deploying practical AI agent applications with Python.
  • Software Engineers and Backend Developers looking to integrate Claude-powered agents, tool calling, and intelligent automation into existing applications.
  • Generative AI Enthusiasts who want to move beyond basic chatbots and build AI agents capable of reasoning, planning, using tools, and executing complex workflows.
  • Developers New to AI Agents who want a structured, hands-on introduction to agentic engineering without requiring previous experience with Claude or AI agent frameworks.
  • Solution Architects and Technical Leads seeking to understand agent architectures, MCP integrations, subagents, orchestration, security, and production-ready implementation patterns.
  • Automation Engineers and DevOps Professionals interested in creating AI-powered workflows for file operations, system administration, development automation, and operational tasks.
  • Students and Technology Professionals with basic programming knowledge who want to develop practical, career-relevant skills in Python-based AI agent development.
  • Entrepreneurs, Freelancers, and Technical Founders who want to build AI-powered products, intelligent assistants, and automation solutions for real-world business needs.