From 05791f5dfc5804a5022549cf10a60d86568da2de Mon Sep 17 00:00:00 2001 From: Eugene Yurtsev Date: Fri, 22 Nov 2024 13:26:46 -0500 Subject: [PATCH] qxqx --- docs/docs/concepts/template_applications.md | 27 ++++++++++++++++++--- docs/docs/tutorials/index.md | 1 + 2 files changed, 24 insertions(+), 4 deletions(-) diff --git a/docs/docs/concepts/template_applications.md b/docs/docs/concepts/template_applications.md index 621755961..366237e1d 100644 --- a/docs/docs/concepts/template_applications.md +++ b/docs/docs/concepts/template_applications.md @@ -1,9 +1,5 @@ # Template Applications -!!! note Prerequisites - - - [LangGraph Studio](./langgraph_studio.md) - Templates are open source reference applications designed to help you get started quickly when building with LangGraph. They provide working examples of common agentic workflows that can be customized to your needs. You can create an application from a template using the LangGraph CLI. @@ -18,3 +14,26 @@ You can create an application from a template using the LangGraph CLI. | **Memory Agent** | A ReAct-style agent with an additional tool to store memories for use across threads. | [Repo](https://github.com/langchain-ai/memory-agent) | [Repo](https://github.com/langchain-ai/memory-agent-js) | | **Retrieval Agent** | An agent that includes a retrieval-based question-answering system. | [Repo](https://github.com/langchain-ai/retrieval-agent-template) | [Repo](https://github.com/langchain-ai/retrieval-agent-template-js) | | **Data-Enrichment Agent** | An agent that performs web searches and organizes its findings into a structured format. | [Repo](https://github.com/langchain-ai/data-enrichment) | [Repo](https://github.com/langchain-ai/data-enrichment-js) | + + + +## 🌱 Create a LangGraph App + +To create a new app from a template, use the `langgraph new` command. This command will create a new directory with the specified template. + +```shell + +This is a quick start guide to help you get a LangGraph app up and running locally. + +!!! info "Requirements" + + - [LangGraph CLI](https://langchain-ai.github.io/langgraph/cloud/reference/cli/): Requires langchain-cli[inmem] >= 0.1.58 + +## Install the LangGraph CLI + +```bash +pip install "langgraph-cli[inmem]==0.1.58" python-dot-env +``` + + + diff --git a/docs/docs/tutorials/index.md b/docs/docs/tutorials/index.md index d9593c9b8..2605c282e 100644 --- a/docs/docs/tutorials/index.md +++ b/docs/docs/tutorials/index.md @@ -13,6 +13,7 @@ New to LangGraph or LLM app development? Read this material to get up and runnin - [LangGraph Quickstart](introduction.ipynb): Build a chatbot that can use tools and keep track of conversation history. Add human-in-the-loop capabilities and explore how time-travel works. - [LangGraph Server Quickstart](langgraph-platform/local-server.md): Launch a LangGraph server locally and interact with it using the REST API and LangGraph Studio Web UI. - [LangGraph Cloud QuickStart](../cloud/quick_start.md): Deploy a LangGraph app using LangGraph Cloud. +- [Start from a ](../concepts/template_applications.md): Use a template to quickly create a new LangGraph application. ## Use cases 🛠️