Project setup
Start any agentic AI project the same way: Python and a project environment with pip or uv, notebooks in VS Code, and API keys in a .env file.
Every agentic AI project starts with the same three pieces: an isolated Python environment for its packages, a notebook to try ideas in, and API keys kept out of the code. This module sets up all three. The commands here are the ones you will reuse at the start of every project.
Lessons
- 1Set up a Python projectInstall Python, create a virtual environment and install a project's packages from requirements.txt with pip or uv.
- 2Notebooks and kernels in VS CodeRun notebook cells inside a project's environment and install packages into the right place.
- 3API keys in a .env fileKeep keys out of your code: store them once in
.envand load them safely in every script and notebook.