API reference
For detailed information on the API endpoints and data models, refer to the API reference docs.
For detailed information on the API endpoints and data models, refer to the API reference docs.
Application structure
To deploy an Agent Server application, you need to specify the graph(s) you want to deploy, as well as any relevant configuration settings, such as dependencies and environment variables. Read the application structure guide to learn how to structure your LangGraph application for deployment.Parts of a deployment
When you deploy Agent Server, you are deploying one or more graphs, a database for persistence, and a task queue.Graphs
When you deploy a graph with Agent Server, you are deploying a “blueprint” for an Assistant. An Assistant is a graph paired with specific configuration settings. You can create multiple assistants per graph, each with unique settings to accommodate different use cases that can be served by the same graph. Upon deployment, Agent Server will automatically create a default assistant for each graph using the graph’s default configuration settings.We often think of a graph as implementing an agent, but a graph does not necessarily need to implement an agent. For example, a graph could implement a simple
chatbot that only supports back-and-forth conversation, without the ability to influence any application control flow. In reality, as applications get more complex, a graph will often implement a more complex flow that may use multiple agents working in tandem.
Persistence and task queue
Agent Server leverages a database for persistence and a task queue. PostgreSQL is supported as a database for Agent Server and Redis as the task queue. If you’re deploying using LangSmith cloud, these components are managed for you. If you’re deploying Agent Server on your own infrastructure, you’ll need to set up and manage these components yourself. For more information on how these components are set up and managed, review the hosting options guide.Learn more
- Application Structure guide explains how to structure your application for deployment.
- The API Reference provides detailed information on the API endpoints and data models.
Connect these docs programmatically to Claude, VSCode, and more via MCP for real-time answers.