diff --git a/docs/docs/how-tos/index.md b/docs/docs/how-tos/index.md index f0db958f..14fa5194 100644 --- a/docs/docs/how-tos/index.md +++ b/docs/docs/how-tos/index.md @@ -17,8 +17,10 @@ Welcome to the LangGraph.js how-to Guides! These guides provide practical, step- LangGraph.js is known for being a highly controllable agent framework. These how-to guides show how to achieve that controllability. +- [How to define graph state](define-state.ipynb) - [How to create subgraphs](subgraph.ipynb) - [How to create branches for parallel execution](branching.ipynb) +- [How to create map-reduce branches for parallel execution](map-reduce.ipynb) ## Persistence @@ -38,6 +40,7 @@ These guides cover common examples of that. - [How to add human-in-the-loop](human-in-the-loop.ipynb) - [How to add breakpoints](breakpoints.ipynb) - [How to wait for user input](wait-user-input.ipynb) +- [How to edit graph state](edit-graph-state.ipynb) ## Streaming @@ -49,11 +52,15 @@ These guides show how to use different streaming modes. - [How to stream LLM tokens](stream-tokens.ipynb) - [How to stream LLM tokens without LangChain models](streaming-tokens-without-langchain.ipynb) +## Tool calling + +- [How to call tools using ToolNode](tool-calling.ipynb) +- [How to force an agent to call a tool](force-calling-a-tool-first.ipynb) +- [How to handle tool calling errors](tool-calling-errors.ipynb) + ## Other - [How to add runtime configuration to your graph](configuration.ipynb) -- [How to force an agent to call a tool](force-calling-a-tool-first.ipynb) - [How to let agent return tool results directly](dynamically-returning-directly.ipynb) -- [How to handle tool calling errors](tool-calling-errors.ipynb) - [How to have agent respond in structured format](respond-in-format.ipynb) - [How to manage agent steps](managing-agent-steps.ipynb) diff --git a/docs/mkdocs.yml b/docs/mkdocs.yml index c0e0f21f..06a45f01 100644 --- a/docs/mkdocs.yml +++ b/docs/mkdocs.yml @@ -92,8 +92,10 @@ nav: - Install and manage dependencies: "how-tos/manage-ecosystem-dependencies.ipynb" - Use LangGraph.js in web environments: "how-tos/use-in-web-environments.ipynb" - Controllability: + - Define graph state: "how-tos/define-state.ipynb" - Create subgraphs: "how-tos/subgraph.ipynb" - Create branches for parallel execution: "how-tos/branching.ipynb" + - Create map-reduce branches for parallel execution: "how-tos/map-reduce.ipynb" - Persistence: - Add persistence ("memory") to your graph: "how-tos/persistence.ipynb" - View and update past graph state: "how-tos/time-travel.ipynb" @@ -114,8 +116,8 @@ nav: - Tool calling: - Call tools using ToolNode: how-tos/tool-calling.ipynb - Handle tool calling errors: how-tos/tool-calling-errors.ipynb + - Force an agent to call a tool: how-tos/force-calling-a-tool-first.ipynb # - Pass graph state to tools: how-tos/pass-run-time-values-to-tools.ipynb TODO - # - Pass config to tools: how-tos/pass-config-to-tools.ipynb TODO - Other: - Add runtime configuration: "how-tos/configuration.ipynb" - Force an agent to call a tool: "how-tos/force-calling-a-tool-first.ipynb"