Agentic AI Programming for Python Course

Have you tried AI coding tools only to end up frustrated, copying and pasting broken code from chatbots, or cleaning up poorly structured "AI slop"? There's a better way. Agentic AI Programming for Python teaches you to work with AI that acts like a skilled junior developer on your team: One who understands your entire codebase, runs your tests, formats your code, and builds complete features autonomously while you provide guidance and direction. Michael Kennedy shows you how to leverage tools like Cursor and Claude to build production applications, from greenfield projects to enhancing legacy systems, with well-structured code, comprehensive testing, and proper error handling. You'll learn the crucial difference between chat-based AI and agentic tool-using AI that can read documentation, execute commands, and self-correct when things go wrong. Through hands-on examples including a complete CLI tool, web applications, and real features running in production today, you'll master the guardrails, roadmaps, and workflows that turn AI from a frustrating experiment into a genuine force multiplier for your development work.

What students are saying

Excellent, Python rocks! Michael has some good python courses over at the Talk Python Training website. GOOD stuff!
-- Rick P.

Source code and course GitHub repository

github.com/talkpython/agentic-ai-for-python-course

What's this course about and how is it different?

This course teaches you how to collaborate with agentic AI tools, not just chatbots or autocomplete, but AI that can understand your entire project, execute commands, run tests, format code, and build complete features autonomously. You'll learn to guide these tools like you would a talented junior developer on your team, setting up the right guardrails and roadmaps so they consistently deliver well-structured, maintainable code that matches your standards. Think of it as pair programming with an AI partner who learns your preferences, follows your conventions, and gets more effective the better you communicate.

Why it stands out

  • Focus on agentic AI, not chatbots – Learn the fundamental difference between copying code from ChatGPT and collaborating with AI that operates within your codebase with full context
  • Real production examples – See actual features Michael built for Talk Python and Python Bytes that are running in production today
  • Teaching AI your standards – Discover how to configure AI to write well-factored, properly structured code with type hints, error handling, and comprehensive tests -- not generic "AI slop"
  • Comprehensive guardrails and roadmaps – Master Cursor rules, slash commands, agents, and documentation integration that guide your AI partner to work exactly how you want
  • Both greenfield and legacy projects – Learn strategies for starting from scratch and enhancing existing codebases with AI assistance
  • Visual design with screenshots – See how to use images to communicate design intent and iterate on UI/UX with remarkable precision
  • Version control as a safety net – Understand the critical role of Git workflows when working with AI to fearlessly experiment and roll back when needed
  • Practical planning techniques – Learn when to plan first, how to break work into phases, and when to use structured roadmaps versus direct implementation
  • Cost and model selection guidance – Get specific recommendations on which models to use, when to upgrade or downgrade, and how to monitor your AI usage
  • Real-world productivity gains – See how features that would take days or weeks can be completed in hours with proper AI collaboration

What topics are covered

By the end of this course, you'll be able to:

  • Distinguish between agentic AI, chat-based AI, and autocomplete tools and choose the right approach for each situation
  • Set up Cursor with Claude models (or alternatives like Claude Code, Cline, GitHub Copilot) for maximum effectiveness
  • Configure cursor rules at both machine-wide and project-specific levels to teach AI your coding standards and preferences
  • Create detailed implementation plans that your AI partner can follow step-by-step to build complex features
  • Use source control strategically with frequent commits, staging, and rollbacks to work fearlessly with AI
  • Build complete Python CLI applications from scratch with proper package structure, dependencies, and distribution setup
  • Enhance existing production web applications with new features while maintaining consistency with legacy code
  • Integrate custom documentation for lesser-known Python packages so AI can use them effectively
  • Create reusable slash commands for repetitive review and quality assurance tasks
  • Define custom agent personas (like "Brand Guardian" or "Test Reviewer") to get specialized perspectives
  • Use screenshots and visual examples to communicate design intent and iterate on web interfaces
  • Manage AI context windows effectively to keep conversations focused and costs under control
  • Choose the right AI model for planning versus implementation based on complexity and budget
  • Monitor and predict your AI usage to avoid running out of credits mid-project
  • Apply "product manager" thinking to get detailed specifications and architecture plans from AI
  • Structure multi-phase projects with clear milestones and deliverables
  • Guide AI to self-correct when it encounters errors, missing dependencies, or type checking issues
  • Ensure AI-generated code includes proper error handling, logging, and deployment-ready features
  • Use parallel processing, async/await, and modern Python patterns in AI-generated code
  • Create comprehensive test suites with proper coverage and configuration
  • Handle both new projects and legacy codebases effectively with AI assistance

Who Should Take This Course?

This course is perfect for:

  • Python developers who have tried AI coding assistants but found them frustrating, inconsistent, or producing low-quality code
  • Professional software engineers who want to dramatically increase productivity without sacrificing code quality or maintainability
  • Technical leads and architects who need to evaluate and adopt AI coding tools for their teams with confidence
  • Solo developers and indie hackers who want to build features and utilities that were previously too time-consuming to justify
  • Anyone maintaining legacy codebases who needs to add features to older projects without creating more technical debt
  • Developers skeptical of AI coding tools who want to see what's actually possible with proper setup and clear communication

Key Chapter Highlights

Chapter Why It Matters
Course Intro Understand the fundamental difference between agentic AI and chatbots/autocomplete, and why that difference transforms how you collaborate with AI.
Showcase See production code in action: Bootstrap 3 to Bulma migration, enhanced search with caching, and Discord bot integration -- all built rapidly by guiding AI like a skilled team member.
Building a Full App with AI Build "GittyUp" from scratch, a complete CLI tool with tests, documentation, and proper package structure, learning the full workflow from planning to PyPI deployment.
Guardrails and Road Maps Master cursor rules, documentation integration, slash commands, and agent personas -- the essential techniques that teach AI to consistently deliver professional code.
Visual Design and AI Use screenshots and visual examples to communicate design intent, iterate on UI/UX, and create beautiful web interfaces without tedious CSS descriptions.
Conclusion Synthesize the key principles and get final guidance on model selection, when to delegate to AI, and how to continue building your skills with agentic programming.

Money-Back Guarantee Details

We want every student to feel 100% confident enrolling. If "Agentic AI Programming for Python" doesn't meet your expectations, let us know within 15 days of purchase and we'll refund you in full, no forms, no hassle, no hard feelings.

Simply email our support team (contact@talkpython.fm) with your registered email address, and your refund will be processed within several business days. We're certain the productivity gains and code quality techniques you'll learn are worth far more than the tuition, but you get to decide.

Corporate / Team Licenses

Empower your whole engineering team to leverage agentic AI tools effectively and safely in one cohesive curriculum.

  • Volume discounts start at 5 seats and scale up for larger groups.
  • Centralized billing and a single invoice for easy reimbursement.
  • Private progress dashboard so team leads can track completion.

Interested? Email sales@talkpython.fm with the number of learners and your preferred billing currency, and we'll craft a package that fits your organization.

Tech Requirements & Setup

  • Python: Built and tested with Python 3.14+ (techniques apply to Python 3.12+).
  • Primary AI tool: Cursor IDE with Claude Sonnet 4.5 models (VS Code fork with deep AI integration).
  • Alternative options: Claude Code, Cline, GitHub Copilot with agent mode, or Junie from JetBrains, most concepts transfer.
  • Pricing: Cursor has a free tier, a free trial period, then paid plans starting at $20/month for individuals. Course includes guidance on usage monitoring and cost optimization.
  • Environment management: uv (modern, fast Python package and environment tool).
  • Version control: git and GitHub for safe AI-assisted development workflows.
  • Formatting and linting: ruff for automated code quality.
  • Testing: pytest for comprehensive test coverage.
  • Additional tools shown: Colorama, PyYAML, and various Python packages with proper dependency management.
  • Costs: Core Python tools are free and open source. Cursor requires a subscription after trial period. No other paid tools required to complete the course.

Who am I? Why should you take my course?

Who is Michael Kennedy?

My name is Michael, nice to meet you. ;) There are a couple of reasons I'm especially qualified to teach you Python.

 1. I'm the host of the #1 podcast on Python called Talk Python To Me. Over there, I've interviewed many of the leaders and creators in the Python community. I bring that perspective to all the courses I create.

 2. I've been a professional software trainer for over 10 years. I have taught literally thousands of professional developers in hundreds of courses throughout the world.

 3. Students have loved my courses. Here are just a few quotes from past students of mine.

"Michael is super knowledgeable, loves his craft, and he conveys it all well. I would highly recommend his training class anytime." - Robert F.
"Michael is simply an outstanding instructor." - Kevin R.
"Michael was an encyclopedia for the deep inner workings of Python. Very impressive." - Neal L.

Transform Your Development Workflow with AI That Actually Works Like a Team Member

You've seen the hype. You may have tried an AI coding tool and been disappointed by broken suggestions and inconsistent results. Now discover what's actually possible when you move beyond chatbots and autocomplete to true agentic AI programming -- collaborating with AI like you would a skilled junior developer.

Join Agentic AI Programming for Python to learn how to guide AI tools like Cursor and Claude to build production-ready features, enhance legacy systems, and accomplish in hours what used to take days, all while maintaining quality code your team can trust. Stop fighting with AI tools that get in your way and start collaborating with an AI partner that understands your entire codebase and works the way you do.

Enroll today and turn AI from a frustrating novelty into your most productive coding session ever.

Course Outline: Chapters and Lectures

20:35
show 1:37
show 4:36
show 8:43
show 5:10
show 0:29
12:48
show 5:38
show 5:02
show 2:08
1:03:34
show 1:43
show 1:01
show 7:28
show 8:04
show 4:55
show 3:31
show 10:35
show 6:00
show 4:40
show 7:09
show 6:18
show 2:10
43:29
show 1:23
show 1:57
show 3:23
show 0:51
show 6:58
show 8:56
show 1:27
show 7:29
show 11:05
14:50
show 13:54
show 0:56
2:33
show 2:33
Buy for $39 + tax Bundle and save 80% Team Gift

Questions? Send us an email: contact@talkpython.fm

Talk Python's Mastodon Michael Kennedy's Mastodon