Lesson 9 of 33 ยท Part 1: API Basics

Get Set Up: Run AI Code on Your Computer

Install Python, get an API key, keep it secret, know what it costs, and run your first file.

Last time: Agents: the AI picks a tool, our code runs it, and the loop repeats until done.
Today: Set up your computer: Python, the code kit, a secret API key, and your first run.

Your own AI workshop

Let's set up your workshop!
Solo Bot
STATION 1
๐Ÿ
Python
the language
STATION 2
๐Ÿ“ฆ
Code kit
all lesson programs
STATION 3
๐Ÿงฐ
Toolbox
venv + pip
STATION 4
๐Ÿ”‘
API key
your password
STATION 5
๐Ÿ”’
Secret safe
the .env file
STATION 6
๐Ÿš€
First run
hello, AI!
โ† Prev
1/0
Next: Basic API โ†’