Vibe Coding with Python
Published by Pearson
Welcome to the new normal—coding with an AI partner.
- Create a real project with a coding assistant.
- Learn proper techniques to guide the assistant.
- Combine Aider & OpenRouter to work faster.
You'll experience the magic of conversational, prompt-driven development in Python using Aider, an open-source AI pair programmer, and OpenRouter, which gives you access to multiple top-tier models like GPT-4, Claude, and Mistral.
The session is structured around writing Python code live, iterating with AI, debugging, and learning how to shape prompts, so the AI works with your intent. Whether you're a hobbyist or a pro, you'll walk away with a streamlined setup and practical techniques for modern development workflows.
What you’ll learn and how you can apply it
- How to structure vibing sessions
- Optimizing performance vs. cost
- Using AI to move faster & smarter
This live event is for you because...
- You’re a developer curious about coding with AI, not just code generation.
- You’ve used ChatGPT but want a more integrated workflow in your terminal or editor.
- You’re exploring tools like GitHub Copilot but want open, customizable alternatives.
Prerequisites
- Basic Python knowledge
- Familiarity with terminal / command line
- Familiarity with git
Course Set-up
- Installation of uv
- Installation of git
- OpenRouter account (or access to LLM via API)
Schedule
The time frames are only estimates and may vary according to how the class is progressing.
Segment 1: Let’s Get Set Up (30 minutes)
- What is Aider? Why OpenRouter?
- Model options (Claude, GPT-4, Mistral, etc.)
- Installing and configuring Aider + OpenRouter
- Git + Aider = collaborative development
- Exercise: Configure Aider to use OpenRouter with your own key and test an edit
Q&A (5 minutes)
Break (5 minutes)
Segment 2: Talking to AI Like a Dev (50 minutes)
- Prompting tips: clear, iterative, modular
- Handling multi-file projects and error messages
- Live coding: write a small CLI app with AI’s help
- Exercise: Build a simple Python app using Aider and prompt-based edits
Q&A (5 minutes)
Break (5 minutes)
Segment 3: AI Debugging and Refactoring (50 minutes)
- Use Aider to test, debug, and refactor code
- Fixing logic errors and type hints with models
- Using different models for different stages of coding
- Exercise: Add error handling and tests to your CLI app with Aider
Q&A (5 minutes)
Course Wrap-up and Next Steps (15 minutes)
- When to trust AI (and when not to)
- Experimenting with new workflows
- Additional tools and ideas for future projects
Final Q&A and takeaways (10 minutes)
Your Instructor
Matt Harrison
Matt Harrison has a CS degree from Stanford University. He is a best-selling author on Python and data subjects. His books—Effective Pandas, Illustrated Guide to Learning Python 3, Intermediate Python, Learning the Pandas Library, and Effective PyCharm—have all been best-selling books on Amazon. Matt's newest publications are Machine Learning Pocket Reference and Pandas Cookbook, Second Edition. He has taught courses at large companies (Netflix, NASA, Verizon, Adobe, HP, Exxon, and more), universities (Stanford, University of Utah, BYU), as well as small companies. Matt has been using Python since 2000 and has taught thousands through live training, both online and in person.