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 --resources-path ./components -- python3 agent.pyCleanup
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