examples/python/functions/langgraph_service/function.py to
package a LangGraph-backed FastAPI service and expose it through a Nullspace
service URL.
Setup
CLI
/health and /invoke. Keep LangGraph thread IDs in your
application request/session layer.
Function Definition
function.py
Python
The companionrun.py script uses the same function contract through the SDK: