A step-by-step Windows setup guide for starting an AI agents project from scratch — Cursor IDE, uv, and the OpenAI API.
You build the project folder yourself instead of cloning an existing repo, so every file in it is one you created and understand. By the end you have a working .venv, a .env holding your API key, and a Jupyter notebook that makes a real call to the OpenAI API.
- Installing Git, Cursor IDE, and uv on Windows
- Creating a project with
uv initand adding packages withuv add - Getting an OpenAI API key and adding billing credit
- Keeping the key safe with
.envand.gitignore - Creating a notebook and selecting the right kernel
- Running your first API call
- Notebook shortcuts and a troubleshooting table
Anyone setting up their first Python AI project on Windows. No prior experience with uv, virtual environments, or the OpenAI API is assumed.
Time: about 30 minutes · Cost: $5 of OpenAI credit is enough to start
The full step-by-step guide is in the PDF in this repository.