Welcome to the AI Agent Workshop! This hands-on learning experience will teach you how to build autonomous AI agents using Python and modern LLMs.
Regional pricing is available for eligible learners, with discounts of up to 60% in supported regions. Start here: https://www.learnwithparam.com/ai-bootcamp
Through 9 interactive Jupyter notebooks, you'll master:
- π§ Agent Fundamentals - Build your first stateful agent from scratch.
- π ReAct Pattern - Implement the Reasoning + Acting loop manually.
- π οΈ Tool Integration - Use Native Function Calling with JSON schemas.
- β‘ Agent Loop - Automate multi-step reasoning with execution loops.
- πΎ Memory Basics - Manage long conversations with sliding windows and summaries.
- βοΈ AI Workflows - Chain multiple specialized agents into a team.
- π‘οΈ Error Handling - Build self-correcting agents that handle hallucinations.
- π€ Human-in-the-loop - Secure your agents with human approval points.
- π Practical Agent - Build a complete "Research & Publishing Assistant".
- Python 3.10+
uv(will be installed automatically if usingmake setup)- API key (Google AI Studio recommended for beginners)
- Get your API key: Google AI Studio
- Setup & Run:
cd ai-agent-workshop # One command to setup .env, install dependencies, and run! make dev
- Configure: The first time you run it, it will create
.env. Edit.envand add your API key, then runmake devagain. - Start Learning: Open
01-agent-fundamentals.ipynbat http://localhost:8888
Follow the notebooks in order - each builds on concepts from previous ones:
| Notebook | Topic | Time | What You'll Build |
|---|---|---|---|
| 01 | Agent Fundamentals | 30 min | Stateful "Sarah" assistant |
| 02 | ReAct Pattern | 45 min | Thought-Action-Observation loop |
| 03 | Tool Integration | 45 min | Smart home tools with schemas |
| 04 | Agent Loop | 45 min | Recursive execution class |
| 05 | Memory Basics | 45 min | Windowed & Summary memory |
| 06 | AI Workflows | 45 min | Sequential research team |
| 07 | Error Handling | 45 min | Self-correcting tool handler |
| 08 | Human-in-the-loop | 45 min | Transfer-approval guardrails |
| 09 | Practical Agent | 60 min | Full "Research & Publish" assistant |
Each notebook follows a consistent, beginner-friendly structure:
Every concept is introduced through real-world scenarios you can relate to.
- Working code examples you can run immediately
- Discussion questions to deepen understanding
- Challenge tasks to test your skills
- Real-world applications you can build
Look for these throughout each notebook:
- π‘ Key Insight - Important concepts explained simply
- β Discussion Question - Think critically about what you learned
- π― Challenge Task - Apply your knowledge
β οΈ Important Note - Critical information to remember
The notebooks work with multiple AI providers:
| Provider | Models | Cost | Best For |
|---|---|---|---|
| Google (Gemini) | gemini-2.0-flash-exp | Free tier! | Beginners, all notebooks |
| OpenAI | gpt-4o, gpt-4o-mini | Paid | Production apps |
| Anthropic | claude-3-5-sonnet | Paid | Advanced reasoning |
- Google AI Studio (Recommended for beginners): https://aistudio.google.com/apikey
- OpenAI: https://platform.openai.com/api-keys
- Anthropic: https://console.anthropic.com/
We provide a Makefile to make common tasks easy. Run make help to see all commands.
This automatically checks for uv (installing it if needed), creates a virtual environment, installs dependencies, and starts JupyterLab.
# 1. Setup & Install
make devNote: The first time you run this, it will create .env. You must edit .env and add your API key before the notebooks will work!
Manual Steps (if you prefer):
make setup # Create .env and install uv
make install # Install dependencies (uv sync)
make run # Start JupyterLab (uv run jupyter lab)Perfect for keeping your system clean or ensuring consistency.
make setup # Create .env (Edit to add API key)
make build # Build image
make up # Start container- Access: http://localhost:8888
- Stop:
make down - Logs:
make logs
- Install the Jupyter extension
- Open the notebook
- Select Kernel -> Python Environments
- Run cells with the play button
- Start with Notebook 1 - Don't skip ahead!
- Read the scenarios - They make concepts relatable
- Run every code cell - Learning by doing is key
- Try the challenges - They solidify your understanding
- Ask questions - Use discussion questions to think deeper
- Skim the basics - But don't skip the "Key Insights"
- Focus on challenges - Test your understanding
- Experiment - Try different models and parameters
- Build real apps - Use the "Real-World Applications" as starting points
After completing these notebooks, you'll be able to build:
- π€ Personal research assistant
- π Data analysis agent
- π§ Email automation bot
- π οΈ Custom tool-using agents
- LiteLLM Docs - Multi-provider AI library
- Google AI Studio - Test Gemini models
- LangChain - Framework for LLM apps
After completing these notebooks:
- Build a real project using what you learned
- Explore advanced topics (Multi-agent systems, RAG)
- Deploy your AI agent to production
- Share your learnings with others!
Found a typo? Have a suggestion? Want to add an example?
- Open an issue
- Submit a pull request
- Share your feedback
This project is licensed under the MIT License - see the LICENSE file for details.
- β
make setup - β
make dev - β
Open
01-agent-fundamentals.ipynb - β Start building!
Happy learning! π
Questions? Stuck on something? Remember: Every expert was once a beginner. Take your time, experiment, and enjoy the journey!