Supporting Dapr backed Checkpointer for LangGraph based Agents.
pip3 install -r requirements.txtExport 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.pyEither 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