Skip to content

szeyu/Agent-Dev-PydanticAI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Agent-Dev-PydanticAI

A structured syllabus for an Agent Development Course using Pydantic AI

Getting Started

Setting up the Environment

Before running the code in this repository, you need to set up a Python virtual environment:

  1. Create a virtual environment:

    python -m venv venv
  2. Activate the virtual environment:

    • On Windows:
      venv\Scripts\activate
    • On macOS/Linux:
      source venv/bin/activate
  3. Install the required dependencies:

    pip install -r requirements.txt
  4. Create a .env file 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.

About

A structured syllabus for an Agent Development Course using Pydantic AI

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published