Skip to content

panaversity/langgraph-agents-template

Repository files navigation

Vertical AI Agents Starter Template

CI Integration Tests

Directory Structure

  • All prototyping notebooks are in the prototypes directory.
  • All final agents will live in in the src directory.

Getting Started

Prerequisites

  1. Install uv Package Manager:
    pip install uv
    

Local Setup

To get startedfollow these steps:

  1. Clone the repository:

    git clone https://github.com/...
    cd ...
  2. Create a .env file:

Copy the .env.example file to .env and update the environment variables as needed:

cp .env.example .env
  1. Run LangGraph Server:

a. Install uv package manager python pip install uv

b. Create Virtual Environment and activate it

uv venv
source .venv/bin/activate

c. Install packages in pyproject.toml

uv run

d. Run LangGraph Server

  • Ensure you have docker engine running (i.e: Open Docker Desktop)
uv pip install langgraph-cli
uv run langgraph up

If you get any error in d step stop all containers, run docker system prune and try again.


How To Use With Docker & Compose file

Step 01 : Clone This Repo

https://github.com/panaversity/langgraph-agents-template.git

Step 02 : Create Docker Image

  • Install Docker Desktop

  • Open Docker Desktop

  • Run Below Command to create Docker Image & also Container up

docker compose up 

Or if we want to run in detach mode ( Background )

docker compose up -d 

Step 03 : Open Langgraph Studio

  • Click Below Link to view your graph

Langgraph Studio URL

Step 04 : How We REflect your change in container

  • Simply Down Your Container
docker compose down
  • Then again up your container
docker compose up -d
  • It's reflect your local changes in Container & Graph

Step 05 : Change model from OPENAI to GOOGLE GEMINI (OPTIONAL)

  • in configration.py file change the below 26 number line:
 default="openai/gpt-4o",

To

default="google_genai/gemini-1.5-flash",

About

Starter template to build multi agent systems

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •