A structured syllabus for an Agent Development Course using Pydantic AI
Before running the code in this repository, you need to set up a Python virtual environment:
-
Create a virtual environment:
python -m venv venv
-
Activate the virtual environment:
- On Windows:
venv\Scripts\activate
- On macOS/Linux:
source venv/bin/activate
- On Windows:
-
Install the required dependencies:
pip install -r requirements.txt
-
Create a
.envfile in the root directory and add your API key:GEMINI_API_KEY=your_gemini_api_key OPENAI_API_KEY=your_openai_api_key ANTHROPIC_API_KEY=your_anthropic_api_key
You should see (venv) at the beginning of your command prompt, indicating that the virtual environment is active.
Note: Always make sure the virtual environment is activated before running any code from this repository.