text stringlengths 35 16k |
|---|
human: Can you explain Cookie consent?
bot: We use cookies to recognize your repeated visits and preferences, as well as to measure the effectiveness of our documentation and whether users find what they're searching for. **Clicking "Accept" makes our documentation better. Thank you!** * Google Analytics * GitHub Acc... |
human: Tell me about How it works.
bot: With the self-hosted deployment option, you are responsible for managing the infrastructure, including setting up and maintaining necessary databases, Redis instances, and other services. You will need to do the following: 1. Deploy Redis and Postgres instances on your own infr... |
human: What are the key aspects of How to manage conversation history?
bot: One of the most common use cases for persistence is to use it to keep track of conversation history. This is great - it makes it easy to continue conversations. As conversations get longer and longer, however, this conversation history can bu... |
human: Can you explain Cookie consent?
bot: We use cookies to recognize your repeated visits and preferences, as well as to measure the effectiveness of our documentation and whether users find what they're searching for. **Clicking "Accept" makes our documentation better. Thank you!** * Google Analytics * GitHub Acc... |
human: What is Test multi-turn conversation?
bot: Let's test a multi turn conversation with this application. thread_config = {"configurable": {"thread_id": uuid.uuid4()}} inputs = [ # 1st round of conversation, { "role": "user", "content": "i wanna go somewhere warm in the caribbean", "id": str(uuid.uuid4()), }, # S... |
human: How does Cookie consent work?
bot: We use cookies to recognize your repeated visits and preferences, as well as to measure the effectiveness of our documentation and whether users find what they're searching for. **Clicking "Accept" makes our documentation better. Thank you!** * Google Analytics * GitHub Accep... |
human: What is What LangGraph provides?
bot: By constructing each of the above in LangGraph, we get a few things: |
human: What are the key aspects of How to run a graph asynchronously?
bot: Prerequisites This guide assumes familiarity with the following: * * * Using the programming paradigm can produce significant performance improvements when running code concurrently (e.g., making concurrent API requests to a chat model provide... |
human: Tell me about Configure the graph.
bot: Great! Now let's suppose that we want to extend this example so the user is able to choose from multiple llms. We can easily do that by passing in a config. Any configuration information needs to be passed inside `configurable` key as shown below. This config is meant to... |
human: How does Router work?
bot: A router allows an LLM to select a single step from a specified set of options. This is an agent architecture that exhibits a relatively limited level of control because the LLM usually focuses on making a single decision and produces a specific output from a limited set of pre-defin... |
human: What are the key aspects of Setup?
bot: First, let's install the required packages %%capture --no-stderr %pip install -U langgraph Next, we need to set API keys for OpenAI (the LLM we will use): import getpass import os def _set_env(var: str): if not os.environ.get(var): os.environ[var] = getpass.getpass(f"{va... |
human: What is Injectable Parameters?
bot: When declaring an `entrypoint`, you can request access to additional parameters that will be injected automatically at run time. These parameters include: Parameter Declare the parameters with the appropriate name and type annotation. Requesting Injectable Parameters from la... |
human: What are the key aspects of Setup?
bot: %%capture --no-stderr %pip install -U langgraph langchain-anthropic import getpass import os def _set_env(var: str): if not os.environ.get(var): os.environ[var] = getpass.getpass(f"{var}: ") _set_env("ANTHROPIC_API_KEY") Set up for LangGraph development Sign up for LangS... |
human: What is How to define input/output schema for your graph?
bot: Prerequisites This guide assumes familiarity with the following: * * By default, `StateGraph` operates with a single schema, and all nodes are expected to communicate using that schema. However, it's also possible to define distinct input and outpu... |
human: How does Create ReAct agent work?
bot: Now that you have installed the required packages and set your environment variables, we can create our agent. |
human: What is Passing a retry policy to a node?
bot: Lastly, we can pass `RetryPolicy` objects when we call the function. In the example below we pass two different retry policies to each of our nodes: import operator import sqlite3 from typing import Annotated, Sequence from typing_extensions import TypedDict from ... |
human: Tell me about Comments.
bot: Back to top [ Previous How to edit graph state ](../edit-graph-state/) [ Next How to view and update past graph state ](../time-travel/) Copyright (C) 2025 LangChain, Inc | Consent Preferences Made with |
human: How does Conceptual Guide work?
bot: This guide provides explanations of the key concepts behind the LangGraph framework and AI applications more broadly. We recommend that you go through at least the [Quickstart](../tutorials/introduction/) before diving into the conceptual guide. This will provide practical ... |
human: What is Setup?
bot: You will need access to a postgres instance. There are many resources online that can help you set up a postgres instance. Next, let's install the required packages and set our API keys %%capture --no-stderr %pip install -U psycopg psycopg-pool langgraph langgraph-checkpoint-postgres import... |
human: What are the key aspects of Comments?
bot: Back to top [ Previous LangGraph's Runtime (Pregel) ](../pregel/) [ Next Deployment Options ](../deployment_options/) Copyright (C) 2025 LangChain, Inc | Consent Preferences Made with |
human: What are the key aspects of Setup?
bot: First, let's install the required packages and set our API keys %%capture --no-stderr %pip install --quiet -U langgraph langchain_openai numpy import getpass import os def _set_env(var: str): if not os.environ.get(var): os.environ[var] = getpass.getpass(f"{var}: ") _set_... |
human: Tell me about Does LangGraph work with LLMs that don't support tool calling?.
bot: Yes! You can use LangGraph with any LLMs. The main reason we use LLMs that support tool calling is that this is often the most convenient way to have the LLM make its decision about what to do. If your LLM does not support tool ... |
human: How does Examples work?
bot: PythonJavaScript * The dependencies involve a custom local package and the `langchain_openai` package. * A single graph will be loaded from the file `./your_package/your_file.py` with the variable `variable`. * The environment variables are loaded from the `.env` file. { "dependenc... |
human: What is Using with a prebuilt ReAct agent?
bot: If you don't need extra customization, you can use the prebuilt [`create_react_agent`](../../reference/prebuilt/#langgraph.prebuilt.chat_agent_executor.create_react_agent), which includes built-in support for handoff tools through [`ToolNode`](../../reference/pre... |
human: Tell me about Comments.
bot: Back to top [ Previous How to add thread-level persistence to a subgraph ](../subgraph-persistence/) [ Next How to use Postgres checkpointer for persistence ](../persistence_postgres/) Copyright (C) 2025 LangChain, Inc | Consent Preferences Made with |
human: How does Using Mermaid.Ink work?
bot: By default, `draw_mermaid_png()` uses Mermaid.Ink's API to generate the diagram. from IPython.display import Image, display from langchain_core.runnables.graph import CurveStyle, MermaidDrawMethod, NodeStyles display( Image( app.get_graph().draw_mermaid_png( draw_method=Me... |
human: What are the key aspects of Cookie consent?
bot: We use cookies to recognize your repeated visits and preferences, as well as to measure the effectiveness of our documentation and whether users find what they're searching for. **Clicking "Accept" makes our documentation better. Thank you!** * Google Analytics ... |
human: What are the key aspects of Setup?
bot: First, let's install the required packages %%capture --no-stderr %pip install -U langgraph Set up for LangGraph development Sign up for LangSmith to quickly spot issues and improve the performance of your LangGraph projects. LangSmith lets you use trace data to debug, te... |
human: How does Input Validation work?
bot: from langgraph.graph import StateGraph, START, END from typing_extensions import TypedDict from pydantic import BaseModel # The overall state of the graph (this is the public state shared across nodes) class OverallState(BaseModel): a: str def node(state: OverallState): ret... |
human: Can you explain Get state?
bot: When interacting with the saved graph state, you **must** specify a thread identifier. You can view the _latest_ state of the graph by calling `graph.get_state(config)`. This will return a `StateSnapshot` object that corresponds to the latest checkpoint associated with the threa... |
human: Can you explain How to add a custom system prompt to the prebuilt ReAct agent?
bot: Prerequisites This guide assumes familiarity with the following: * * * * This tutorial will show how to add a custom system prompt to the . Please see [this tutorial](../create-react-agent) for how to get started with the prebu... |
human: Tell me about Add persistence.
bot: To add in persistence, we need to pass in a when compiling the graph. from langgraph.checkpoint.memory import MemorySaver memory = MemorySaver() graph = builder.compile(checkpointer=memory) # If you're using LangGraph Cloud or LangGraph Studio, you don't need to pass the che... |
human: Tell me about Comments.
bot: Back to top [ Previous How to add multi-turn conversation in a multi-agent application ](../multi-agent-multi-turn-convo/) [ Next How to add multi-turn conversation in a multi-agent application (functional API) ](../multi-agent-multi-turn-convo-functional/) Copyright (C) 2025 LangC... |
human: What are the key aspects of Update the state of a subgraph?
bot: What if we want to modify the state of a subgraph? We can do this similarly to how we , just being careful to pass in the config of the subgraph to `update_state`. config = {"configurable": {"thread_id": "4"}} inputs = {"messages": [{"role": "use... |
human: What is How to force tool-calling agent to structure output?
bot: Prerequisites This guide assumes familiarity with the following: * * * * * You might want your agent to return its output in a structured format. For example, if the output of the agent is used by some other downstream software, you may want the... |
human: Can you explain Define graph state?
bot: We are going to define the most basic ReAct state in this example, which will just contain a list of messages. For your specific use case, feel free to add any other state keys that you need. from typing import ( Annotated, Sequence, TypedDict, ) from langchain_core.mes... |
human: What is Code?
bot: # First we initialize the model we want to use. from langchain_openai import ChatOpenAI model = ChatOpenAI(model="gpt-4o", temperature=0) # For this tutorial we will use custom tool that returns pre-defined values for weather in two cities (NYC & SF) from typing import Literal from langchain... |
human: How does Setup work?
bot: First let's install the required packages and set our API keys %%capture --no-stderr %pip install -U langgraph langchain-openai import getpass import os def _set_env(var: str): if not os.environ.get(var): os.environ[var] = getpass.getpass(f"{var}: ") _set_env("OPENAI_API_KEY") Set up ... |
human: What are the key aspects of Related?
bot: For more information please see the following: * [LangGraph Studio how-to guides](../../how-tos/#langgraph-studio) * [LangGraph CLI Documentation](../../cloud/reference/cli/) |
human: How does Memory work?
bot: Second, checkpointers allow for ["memory"](../agentic_concepts/#memory) between interactions. In the case of repeated human interactions (like conversations) any follow up messages can be sent to that thread, which will retain its memory of previous ones. See [this how-to guide](../.... |
human: How does Code work?
bot: # First we initialize the model we want to use. from langchain_openai import ChatOpenAI model = ChatOpenAI(model="gpt-4o", temperature=0) # For this tutorial we will use custom tool that returns pre-defined values for weather in two cities (NYC & SF) from typing import Literal from lan... |
human: Tell me about Cookie consent.
bot: We use cookies to recognize your repeated visits and preferences, as well as to measure the effectiveness of our documentation and whether users find what they're searching for. **Clicking "Accept" makes our documentation better. Thank you!** * Google Analytics * GitHub Accep... |
human: What is Implement a handoff tool?
bot: In the previous example we explicitly defined custom handoffs in each of the agent nodes. Another pattern is to create special **handoff tools** that directly return `Command` objects. When an agent calls a tool like this, it hands the control off to a different agent. Sp... |
human: Tell me about Create workflow.
bot: import uuid from langchain_anthropic import ChatAnthropic from langchain_core.runnables import RunnableConfig from langchain_core.messages import BaseMessage from langgraph.func import entrypoint, task from langgraph.graph import add_messages from langgraph.checkpoint.memory... |
human: What is State?
bot: The first thing you do when you define a graph is define the `State` of the graph. The `State` consists of the schema of the graph as well as `reducer` functions which specify how to apply updates to the state. The schema of the `State` will be the input schema to all `Nodes` and `Edges` in... |
human: What is Define tools and model?
bot: Config type annotations Each tool function can take a `config` argument. In order for the config to be correctly propagated to the function, you MUST always add a `RunnableConfig` type annotation for your `config` argument. For example: def my_tool(tool_arg: str, config: Ru... |
human: How does Thread-level persistence work?
bot: By default, the graph runs (i.e. `.invoke()` or `.stream()` invocations) are stateless - the checkpoints and the final state of the graph are not persisted. If you would like to persist the outputs of the graph run (for example, to enable human-in-the-loop features)... |
human: How does Comments work?
bot: Back to top [ Previous How-to Guides ](../) [ Next How to create a sequence of steps ](../sequence/) Copyright (C) 2025 LangChain, Inc | Consent Preferences Made with |
human: How does Streaming work?
bot: LangGraph provides several ways to stream workflow / agent outputs or intermediate state. See . |
human: What are the key aspects of Double nested subgraphs?
bot: This same functionality continues to work no matter the level of nesting. Here is an example of doing the same things with a double nested subgraph (although any level of nesting will work). We add another router on top of our already defined graphs. fr... |
human: How does Define Graph work?
bot: We can now define our graph: from langgraph.graph import StateGraph, END from langgraph.prebuilt import ToolNode from langchain_core.messages import HumanMessage # Define the function that calls the model def call_model(state: AgentState): response = model_with_tools.invoke(sta... |
human: How does Next Steps work?
bot: Review the `README.md` file in the root of your new LangGraph app for more information about the template and how to customize it. After configuring the app properly and adding your API keys, you can start the app using the LangGraph CLI: langgraph dev See the following guides fo... |
human: What is Simple Usage?
bot: Let's explore a basic example of using human feedback. A straightforward approach is to create a node, **`human_feedback`** , designed specifically to collect user input. This allows us to gather feedback at a specific, chosen point in our graph. Steps: 1. **Call`interrupt()`** insid... |
human: What are the key aspects of Cookie consent?
bot: We use cookies to recognize your repeated visits and preferences, as well as to measure the effectiveness of our documentation and whether users find what they're searching for. **Clicking "Accept" makes our documentation better. Thank you!** * Google Analytics ... |
human: Tell me about Agent.
bot: In the context of . For this example, we’ll use Anthropic's chat model along with a **mock tool** (purely for demonstration purposes). Using Pydantic with LangChain This notebook uses Pydantic v2 `BaseModel`, which requires `langchain-core >= 0.3`. Using `langchain-core ")` input: for... |
human: What are the key aspects of Webhooks?
bot: Webhooks enable event-driven communication from your LangGraph Cloud application to external services. For example, you may want to issue an update to a separate service once an API call to LangGraph Cloud has finished running. Many LangGraph Cloud endpoints accept a ... |
human: What is Comments?
bot: Back to top [ Previous How to view and update past graph state ](../time-travel/) [ Next How to wait for user input (Functional API) ](../../wait-user-input-functional/) Copyright (C) 2025 LangChain, Inc | Consent Preferences Made with |
human: How does How to view and update past graph state work?
bot: Prerequisites This guide assumes familiarity with the following concepts: * [Time Travel](../../../concepts/time-travel) * [Breakpoints](../../../concepts/breakpoints) * [LangGraph Glossary](../../../concepts/low_level) Once you start [checkpointing](... |
human: Tell me about Self-Hosted Enterprise.
bot: The Self-Hosted Enterprise version is the full version of LangGraph Platform. To use the Self-Hosted Enterprise version, you must acquire a license key that you will need to pass in when running the Docker image. To acquire a license key, please email [sales@langchain... |
human: What is Review Tool Calls?
bot:  A human can review and edit the output from the LLM before proceeding. This is particularly critical in applications where the tool calls requested by the LLM may be sensitive or require human oversight. def human_review_no... |
human: What is Next steps?
bot: You've now seen how to implement some strategies to handle tool calling errors. Next, check out some of the . Was this page helpful? Thanks for your feedback! Thanks for your feedback! Please help us improve this page by adding to the discussion below. |
human: Can you explain Create ReAct agent?
bot: Now that you have installed the required packages and set your environment variables, we can code our ReAct agent! |
human: What are the key aspects of Memory?
bot: Memory is crucial for agents, enabling them to retain and utilize information across multiple steps of problem-solving. It operates on different scales: 1. Short-term memory: Allows the agent to access information acquired during earlier steps in a sequence. 2. Long-ter... |
human: What is Tool calling agent?
bot: While a router allows an LLM to make a single decision, more complex agent architectures expand the LLM's control in two key ways: 1. Multi-step decision making: The LLM can make a series of decisions, one after another, instead of just one. 2. Tool access: The LLM can choose f... |
human: How does AsyncRedis work?
bot: Below is a reference implementation of AsyncRedisSaver (for asynchronous use of graph, i.e. `.ainvoke()`, `.astream()`). AsyncRedisSaver implements four methods that are required for any async checkpointer: * `.aput` \- Store a checkpoint with its configuration and metadata. * `.... |
human: Can you explain Define prompt?
bot: Let's now add personalization: we'll respond differently to the user based on the state values AFTER the state has been updated from the tool. To achieve this, let's define a function that will dynamically construct the system prompt based on the graph state. It will be call... |
human: How does Cookie consent work?
bot: We use cookies to recognize your repeated visits and preferences, as well as to measure the effectiveness of our documentation and whether users find what they're searching for. **Clicking "Accept" makes our documentation better. Thank you!** * Google Analytics * GitHub Accep... |
human: Can you explain Create a `.env` file?
bot: You will find a `.env.example` in the root of your new LangGraph app. Create a `.env` file in the root of your new LangGraph app and copy the contents of the `.env.example` file into it, filling in the necessary API keys: LANGSMITH_API_KEY=lsv2... TAVILY_API_KEY=tvly-... |
human: How does Supervisor work?
bot: In this architecture, we define agents as nodes and add a supervisor node (LLM) that decides which agent nodes should be called next. We use [`Command`](../low_level/#command) to route execution to the appropriate agent node based on supervisor's decision. This architecture also ... |
human: Can you explain Functional API vs. Graph API?
bot: The **Functional API** and the [Graph APIs (StateGraph)](../low_level/#stategraph) provide two different paradigms to create applications with LangGraph. Here are some key differences: * **Control flow** : The Functional API does not require thinking about gra... |
human: How does Streaming graph outputs (`.stream` and `.astream`) work?
bot: `.stream` and `.astream` are sync and async methods for streaming back outputs from a graph run. There are several different modes you can specify when calling these methods (e.g. `graph.stream(..., mode="...")): * [`"values"`](../../how-to... |
human: What are the key aspects of Schema?
bot: The main documented way to specify the schema of a graph is by using `TypedDict`. However, we also support [using a Pydantic BaseModel](../../how-tos/state-model/) as your graph state to add **default values** and additional data validation. By default, the graph will h... |
human: How does Cookie consent work?
bot: We use cookies to recognize your repeated visits and preferences, as well as to measure the effectiveness of our documentation and whether users find what they're searching for. **Clicking "Accept" makes our documentation better. Thank you!** * Google Analytics * GitHub Accep... |
human: Can you explain Edit Tool Call?
bot: Let's now say we want to edit the tool call. E.g. change some of the parameters (or even the tool called!) but then execute that tool. # Input initial_input = {"messages": [{"role": "user", "content": "what's the weather in sf?"}]} # Thread thread = {"configurable": {"threa... |
human: What are the key aspects of Enqueue?
bot: This is a relatively simple option which continues the first run until it completes the whole run, then sends the new input as a separate run. See the [how-to guide](../../cloud/how-tos/enqueue_concurrent/) for configuring the enqueue double text option. |
human: What is Cookie consent?
bot: We use cookies to recognize your repeated visits and preferences, as well as to measure the effectiveness of our documentation and whether users find what they're searching for. **Clicking "Accept" makes our documentation better. Thank you!** * Google Analytics * GitHub Accept Reje... |
human: What is Setup?
bot: First we need to install the packages required %%capture --no-stderr %pip install --quiet -U langgraph langchain_openai Next, we need to set API keys for OpenAI (the LLM we will use) import getpass import os def _set_env(var: str): if not os.environ.get(var): os.environ[var] = getpass.getpa... |
human: Can you explain Setup?
bot: First, let's install the required packages and set our API keys: %%capture --no-stderr %pip install -U langgraph langchain-openai import getpass import os def _set_env(var: str): if not os.environ.get(var): os.environ[var] = getpass.getpass(f"{var}: ") _set_env("OPENAI_API_KEY") Set... |
human: Tell me about Key Features.
bot: The LangGraph Platform incorporates best practices for agent deployment, so you can focus on building your agent logic. * **Streaming endpoints** : Endpoints that expose [multiple different streaming modes](../streaming/). We've made these work even for long-running agents that... |
human: What is Overview?
bot: There are 4 main options for deploying with the LangGraph Platform: 1. **Cloud SaaS** : Available for **Plus** and **Enterprise** plans. 2. **Self-Hosted Data Plane** : Available for the **Enterprise** plan. 3. **Self-Hosted Control Plane** : Available for the **Enterprise** plan. 4. **S... |
human: What are the key aspects of Comments?
bot: Back to top [ Previous How to add thread-level persistence (functional API) ](../persistence-functional/) [ Next How to manage conversation history ](../memory/manage-conversation-history/) Copyright (C) 2025 LangChain, Inc | Consent Preferences Made with |
human: Can you explain RedisSaver?
bot: Below is an implementation of RedisSaver (for synchronous use of graph, i.e. `.invoke()`, `.stream()`). RedisSaver implements four methods that are required for any checkpointer: * `.put` \- Store a checkpoint with its configuration and metadata. * `.put_writes` \- Store interm... |
human: How does Orchestrator-Worker work?
bot: With orchestrator-worker, an orchestrator breaks down a task and delegates each sub-task to workers. As noted in the Anthropic blog on `Building Effective Agents`: > In the orchestrator-workers workflow, a central LLM dynamically breaks down tasks, delegates them to work... |
human: What are the key aspects of Managing long conversation history?
bot: Long conversations pose a challenge to today's LLMs. The full history may not even fit inside an LLM's context window, resulting in an irrecoverable error. Even _if_ your LLM technically supports the full context length, most LLMs still perfo... |
human: What is Authentication?
bot: Authentication in LangGraph runs as middleware on every request. Your [`@auth.authenticate`](../../cloud/reference/sdk/python_sdk_ref/#langgraph_sdk.auth.Auth.authenticate) handler receives request information and should: 1. Validate the credentials 2. Return [user info](../../clou... |
human: hello
bot: hi nice to meet you |
human: Tell me about Comments.
bot: Back to top [ Previous Memory ](../memory/) [ Next Functional API ](../functional_api/) Copyright (C) 2025 LangChain, Inc | Consent Preferences Made with |
human: How does Cookie consent work?
bot: We use cookies to recognize your repeated visits and preferences, as well as to measure the effectiveness of our documentation and whether users find what they're searching for. **Clicking "Accept" makes our documentation better. Thank you!** * Google Analytics * GitHub Accep... |
human: What is LLM applications?
bot: LLMs make it possible to embed intelligence into a new class of applications. There are many patterns for building applications that use LLMs. Workflows have scaffolding of predefined code paths around LLM calls. LLMs can direct the control flow through these predefined code path... |
human: What is Simple Usage?
bot: Let's set up a very simple graph that facilitates this. First, we will have an LLM call that decides what action to take. Then we go to a human node. This node actually doesn't do anything - the idea is that we interrupt before this node and then apply any updates to the state. After... |
human: How does Overview work?
bot: LangGraph Platform is a commercial solution for deploying agentic applications in production. There are three different plans for using it. * **Developer** : All users have access to this plan. You can sign up for this plan simply by creating a LangSmith account. This gives you acc... |
human: What is Use async connection?
bot: This sets up an asynchronous connection to the database. Async connections allow non-blocking database operations. This means other parts of your application can continue running while waiting for database operations to complete. It's particularly useful in high-concurrency s... |
human: What are the key aspects of LangGraph Studio?
bot: LangGraph Studio is a built-in UI for visualizing, testing, and debugging your agents. * [How to connect to a LangGraph Platform deployment](../cloud/how-tos/test_deployment/) * [How to connect to a local dev server](local-studio/) * [How to connect to a local... |
human: What is Comments?
bot: Back to top [ Previous How to pass private state between nodes ](../pass_private_state/) [ Next How to force tool-calling agent to structure output ](../react-agent-structured-output/) Copyright (C) 2025 LangChain, Inc | Consent Preferences Made with |
human: How does Related work?
bot: Please see the following resources for more information: * How-to guides for [Application Structure](../../how-tos/#application-structure). Was this page helpful? Thanks for your feedback! Thanks for your feedback! Please help us improve this page by adding to the discussion below. |
human: Can you explain Comments?
bot: Back to top Copyright (C) 2025 LangChain, Inc | Consent Preferences Made with |
human: What is How to pass config to tools?
bot: Prerequisites This guide assumes familiarity with the following: * * [ Tool calling agent ]( https://langchain-ai.github.io/langgraph/concepts/agentic_concepts/#tool-calling-agent) * * * At runtime, you may need to pass values to a tool, like a user ID, which should be... |
human: What are the key aspects of Resuming from specific subgraph node?
bot: In the example above, we were replaying from the outer graph - which automatically replayed the subgraph from whatever state it was in previously (paused before the `weather_node` in our case), but it is also possible to replay from inside ... |
human: What is Agent?
bot: In the context of agents, updating state is useful for things like editing tool calls. To show this, we will build a relatively simple ReAct-style agent that does tool calling. We will use Anthropic's models and a fake tool (just for demo purposes). # Set up the tool from langchain_anthropi... |
human: Tell me about Application Structure.
bot: Learn how to set up your app for deployment to LangGraph Platform: * [How to set up app for deployment (requirements.txt)](../cloud/deployment/setup/) * [How to set up app for deployment (pyproject.toml)](../cloud/deployment/setup_pyproject/) * [How to set up app for d... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.