Deployment Options
Where graphs run.
Once your graph works, where does it run? You can host it yourself, like any Python web app, or use a managed platform built for agents.

- Where does it run?
- Host it yourself
- Or a managed platform
Ways to deploy
Your own server, with FastAPI, in a Docker container, gives you full control. Cloud services, like a container platform, scale it for you. And LangSmith deployment, from the LangChain team, runs graphs with persistence, streaming, and background runs built in.
| Option | Good for |
|---|---|
| FastAPI + Docker | full control |
| Cloud containers | easy scaling |
| LangSmith Deployment | agents, built-in persistence |
| Serverless | light, short graphs |
Production checklist
Whichever you choose, check these. A database checkpointer. Secrets in environment variables, never in code. Tracing turned on. Limits on recursion and tool calls. And tests that run before every release.
| key | value |
|---|---|
| Persistence | database checkpointer |
| Secrets | environment variables |
| Tracing | LangSmith |
| Limits | recursion, tools |
Summary
Graphs can run on your own server, in cloud containers, or on a managed platform. Use the production checklist either way. Next, designing good state.
Key takeaways- Self-host
- Managed platform
- Production checklist