site_name: "" site_description: Build language agents as graphs site_url: https://langchain-ai.github.io/langgraph/ repo_url: https://github.com/langchain-ai/langgraph theme: name: material custom_dir: overrides logo_dark_mode: static/wordmark_light.svg logo_light_mode: static/wordmark_dark.svg favicon: static/favicon.png icon: repo: fontawesome/brands/git-alt features: - announce.dismiss - content.code.annotate - content.code.copy - content.code.select - content.tabs.link - content.tooltips - header.autohide - navigation.expand - navigation.footer - navigation.indexes - navigation.instant - navigation.instant.prefetch - navigation.instant.progress - navigation.prune - navigation.tabs - navigation.tabs.sticky - navigation.top - navigation.tracking - search.highlight - search.share - search.suggest - toc.follow palette: - scheme: default primary: white accent: gray toggle: icon: material/brightness-7 name: Switch to dark mode - scheme: slate primary: grey accent: white toggle: icon: material/brightness-4 name: Switch to light mode font: text: "Public Sans" code: "Roboto Mono" plugins: - search: separator: '[\s\u200b\-_,:!=\[\]()"`/]+|\.(?!\d)|&[lg]t;|(?!\b)(?=[A-Z][a-z])' - autorefs - mkdocstrings: handlers: python: import: - https://docs.python.org/3/objects.inv - https://api.python.langchain.com/en/latest/objects.inv options: members_order: source allow_inspection: true heading_level: 2 show_bases: true show_source: true summary: true inherited_members: true selection: docstring_style: google docstring_section_style: list show_root_toc_entry: false show_signature_annotations: true show_symbol_type_heading: true show_symbol_type_toc: true signature_crossrefs: true options: filters: - "!^_" nav: - "index.md" - "tutorials/index.md" - "concepts/index.md" - "how-tos/index.md" - Reference: - "reference/index.md" - Graphs: reference/graphs.md - Checkpointing: reference/checkpoints.md - Storage: reference/store.md - Prebuilt Components: reference/prebuilt.md - Channels: reference/channels.md - Errors: reference/errors.md - Types: reference/types.md - Constants: reference/constants.md - "Cloud (beta)": - "cloud/index.md" - Tutorials: - Quick Start: "cloud/quick_start.md" - How-to Guides: - "cloud/how-tos/index.md" - Setup: - Setup App: "cloud/deployment/setup.md" - Setup App (pyproject.toml): "cloud/deployment/setup_pyproject.md" - Setup App (JavaScript): "cloud/deployment/setup_javascript.md" - Rebuild Graph at Runtime: "cloud/deployment/graph_rebuild.md" - Customize Dockerfile: "cloud/deployment/custom_docker.md" - Test App Locally: "cloud/deployment/test_locally.md" - Deployment: - Deploy to Cloud: "cloud/deployment/cloud.md" - Streaming: - Stream Values: "cloud/how-tos/stream_values.md" - Stream Updates: "cloud/how-tos/stream_updates.md" - Stream Messages: "cloud/how-tos/stream_messages.md" - Stream Events: "cloud/how-tos/stream_events.md" - Stream Debug: "cloud/how-tos/stream_debug.md" - Multiple Modes: "cloud/how-tos/stream_multiple.md" - Double Texting: - Interrupt: "cloud/how-tos/interrupt_concurrent.md" - Rollback: "cloud/how-tos/rollback_concurrent.md" - Reject: "cloud/how-tos/reject_concurrent.md" - Enqueue: "cloud/how-tos/enqueue_concurrent.md" - Human-in-the-Loop: - Add Breakpoint: "cloud/how-tos/human_in_the_loop_breakpoint.md" - Wait for User Input: "cloud/how-tos/human_in_the_loop_user_input.md" - Edit Graph State: "cloud/how-tos/human_in_the_loop_edit_state.md" - Replay and Branch from Prior States: "cloud/how-tos/human_in_the_loop_time_travel.md" - Review Tool Calls: "cloud/how-tos/human_in_the_loop_review_tool_calls.md" - LangGraph Studio: - Test Cloud Deployment: "cloud/how-tos/test_deployment.md" - Test Local Deployment: "cloud/how-tos/test_local_deployment.md" - Invoke graph in LangGraph Studio: "cloud/how-tos/invoke_studio.md" - Interact with threads in LangGraph Studio: "cloud/how-tos/threads_studio.md" - Different Types of Runs: - Run an Agent in the Background: "cloud/how-tos/background_run.md" - Run Multiple Agents in Same Thread: "cloud/how-tos/same-thread.md" - Create Cron Jobs: "cloud/how-tos/cron_jobs.md" - Create Stateless Runs: "cloud/how-tos/stateless_runs.md" - Other: - Configure Agents: "cloud/how-tos/configuration_cloud.md" - Versioning Assistants: "cloud/how-tos/assistant_versioning.md" - Convert LangGraph calls to LangGraph Cloud calls: "cloud/how-tos/langgraph_to_langgraph_cloud.ipynb" - Integrate Webhooks: "cloud/how-tos/webhooks.md" - Copy Threads: "cloud/how-tos/copy_threads.md" - Check Status of Threads: "cloud/how-tos/check_thread_status.md" - Conceptual Guides: - API Concepts: "cloud/concepts/api.md" - Cloud Concepts: "cloud/concepts/cloud.md" - Reference: - API: "cloud/reference/api/api_ref.md" - SDK: - Python: "cloud/reference/sdk/python_sdk_ref.md" - JS/TS: "cloud/reference/sdk/js_ts_sdk_ref.md" - CLI: "cloud/reference/cli.md" - Environment Variables: "cloud/reference/env_var.md" - FAQ: - Studio: "cloud/faq/studio.md" markdown_extensions: - abbr - admonition - pymdownx.details - attr_list - def_list - footnotes - md_in_html - pymdownx.superfences - pymdownx.tabbed: alternate_style: true - toc: permalink: true - pymdownx.arithmatex: generic: true - pymdownx.betterem: smart_enable: all - pymdownx.caret - pymdownx.details - pymdownx.emoji: emoji_generator: !!python/name:material.extensions.emoji.to_svg emoji_index: !!python/name:material.extensions.emoji.twemoji - pymdownx.highlight: anchor_linenums: true line_spans: __span use_pygments: true pygments_lang_class: true - pymdownx.inlinehilite - pymdownx.keys - pymdownx.magiclink: normalize_issue_symbols: true repo_url_shorthand: true user: langchain-ai repo: langgraph - pymdownx.mark - pymdownx.smartsymbols - pymdownx.snippets: auto_append: - includes/mkdocs.md - pymdownx.superfences: custom_fences: - name: mermaid class: mermaid format: !!python/name:pymdownx.superfences.fence_code_format - pymdownx.tabbed: alternate_style: true combine_header_slug: true - pymdownx.tasklist: custom_checkbox: true - markdown_include.include: base_path: ./ - github-callouts hooks: - _scripts/notebook_hooks.py extra: social: - icon: fontawesome/brands/js link: https://langchain-ai.github.io/langgraphjs/ - icon: fontawesome/brands/github link: https://github.com/langchain-ai/langgraph - icon: fontawesome/brands/twitter link: https://twitter.com/LangChainAI analytics: - provider: google - property: G-G8X6ELZYE0 - feedback: title: Was this page helpful? ratings: - icon: material/emoticon-happy-outline name: This page was helpful data: 1 note: >- Thanks for your feedback! - icon: material/emoticon-sad-outline name: This page could be improved data: 0 note: >- Thanks for your feedback! Please help us improve this page by adding to the discussion below. validation: # https://www.mkdocs.org/user-guide/configuration/ # We're `ignoring` nav.omitted_files because we are going to rely # on files being properly links to from the index pages of: # - tutorials # - concepts # - how-tos # - reference omitted_files: ignore absolute_links: warn unrecognized_links: warn # TODO: figure out how to enable 'warn' for this # it's only an issue for tutorials/storm/storm.ipynb # because it creates anchors in the generated report # and those anchors are not available in the actual doc anchors: info