Skip to main content
This example uses examples/python/agent_deployments/langgraph_service/nullspace.agent.toml to package a LangGraph-backed FastAPI service and expose it through a Nullspace service URL.

Setup

CLI

The service exposes /health and /invoke. Keep LangGraph thread IDs in your application request/session layer.

Config

Python

The companion run.py script uses the same deployment contract through the SDK:
Run the complete script:
Related: LangGraph, Agent Deployments, and Preview URLs.