How-to Guides¶
Welcome to the LangGraph Cloud how-to guides! These guides provide practical, step-by-step instructions for accomplishing key tasks in LangGraph Cloud.
Deployment¶
LangGraph Cloud gives you best in class observability, testing, and hosting services. Read more about them in these how to guides:
Streaming¶
Streaming the results of your LLM application is vital for ensuring a good user experience, especially when your graph may call multiple models and take a long time to fully complete a run. Read about how to stream values from your graph in these how to guides:
- How to stream values
- How to stream updates
- How to stream messages
- How to stream events
- How to stream in debug mode
- How to stream multiple modes
Double-texting¶
Graph execution can take a while, and sometimes users may change their mind about the input they wanted to send before their original input has finished running. For example, a user might notice a typo in their original request and will edit the prompt and resend it. Deciding what to do in these cases is important for ensuring a smooth user experience and preventing your graphs from behaving in unexpected ways. The following how-to guides provide information on the various options LangGraph Cloud gives you for dealing with double-texting:
- How to use the interrupt option
- How to use the rollback option
- How to use the reject option
- How to use the rnqueue option
Human-in-the-loop¶
When creating complex graphs, leaving every decision up to the LLM can be dangerous, especially when the decisions involve invoking certain tools or accessing specific documents. To remedy this, LangGraph allows you to insert human-in-the-loop behavior to ensure your graph does not have undesired outcomes. Read more about the different ways you can add human-in-the-loop capabilities to your LangGraph Cloud projects in these how-to guides:
- How to add a breakpoint
- How to wait for user input
- How to edit graph state
- How to replay and branch from prior states
LangGraph Studio¶
LangGraph Studio is a built-in UI for visualizing, testing, and debugging your agents.
- How to enter LangGraph Studio
- How to test your graph in LangGraph Studio
- Interact with threads in LangGraph Studio
Different Types of Runs:¶
LangGraph Cloud supports multiple types of runs besides streaming runs.
- How to run an agent in the background
- How to run multiple agents in the same thread
- How to create cron jobs
- How to create stateless runs
Other¶
Other guides that may prove helpful!
- How to configure agents
- How to convert LangGraph calls to LangGraph cloud calls
- How to integrate webhooks