Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

README.md

Dapr For Agents - LangGraph Checkpointer

Supporting Dapr backed Checkpointer for LangGraph based Agents.

Pre-requisites

Install Dapr python-SDK

pip3 install -r requirements.txt

Run the example

Export your OPENAI_API_KEY:

export OPENAI_API_KEY="SK-..."

Run the following command in a terminal/command prompt:

# 1. Run the LangGraph agent
dapr run --app-id langgraph-checkpointer --app-port 5001 --dapr-grpc-port 5002 --resources-path ./components -- python3 agent.py

Cleanup

Either press CTRL + C to quit the app or run the following command in a new terminal to stop the app:

dapr stop --app-id langgraph-checkpointer