Starlette
app (including FastAPI
, FastHTML
and other compatible apps).
Below is an example using FastAPI.
langgraph-api>=0.0.26
.webapp.py
file. If you are starting from scratch, you can create a new app from a template using the CLI.
langgraph.json
langgraph.json
configuration file. Make sure the path points to the webapp.py
file you created above.
Ctrl+C
.