diff --git a/docs/docs/concepts/template_applications.md b/docs/docs/concepts/template_applications.md index df8bc5e63..32209ad47 100644 --- a/docs/docs/concepts/template_applications.md +++ b/docs/docs/concepts/template_applications.md @@ -1,14 +1,21 @@ # 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. -Templates can be accessed via [LangGraph Studio (macOS only)](langgraph_studio.md), or cloned directly from Github. You can download LangGraph Studio and see available templates [here](https://studio.langchain.com/). +You can create an application from a template using the LangGraph CLI. -## Available templates +!!! info "Requirements" + + - Python >= 3.11 + - [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-dotenv +``` + +## Available Templates | Template | Description | Python | JS/TS | |---------------------------|------------------------------------------------------------------------------------------|------------------------------------------------------------------|---------------------------------------------------------------------| @@ -17,3 +24,39 @@ Templates can be accessed via [LangGraph Studio (macOS only)](langgraph_studio.m | **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. + +```bash +langgraph new +``` + +## Next Steps + +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: + +```bash +langgraph dev +``` + +See the following guides for more information on how to deploy your app: + +- **[Launch Local LangGraph Server](../tutorials/langgraph-platform/local-server.md)**: This quick start guide shows how to start a LangGraph Server locally for the **ReAct Agent** template. The steps are similar for other templates. +- **[Deploy to LangGraph Cloud](../cloud/quick_start.md)**: Deploy your LangGraph app using LangGraph Cloud. + +### LangGraph Framework + +- **[LangGraph Concepts](../concepts/index.md)**: Learn the foundational concepts of LangGraph. +- **[LangGraph How-to Guides](../how-tos/index.md)**: Guides for common tasks with LangGraph. + +### 📚 Learn More about LangGraph Platform + +Expand your knowledge with these resources: + +- **[LangGraph Platform Concepts](../concepts/index.md#langgraph-platform)**: Understand the foundational concepts of the LangGraph Platform. +- **[LangGraph Platform How-to Guides](../how-tos/index.md#langgraph-platform)**: Discover step-by-step guides to build and deploy applications. diff --git a/docs/docs/tutorials/index.md b/docs/docs/tutorials/index.md index d9593c9b8..286137479 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. +- [LangGraph Template Quickstart](../concepts/template_applications.md): Quickly start building with LangGraph Platform using a template application. ## Use cases 🛠️ diff --git a/docs/docs/tutorials/langgraph-platform/local-server.md b/docs/docs/tutorials/langgraph-platform/local-server.md index db7f53fea..0b57db2bd 100644 --- a/docs/docs/tutorials/langgraph-platform/local-server.md +++ b/docs/docs/tutorials/langgraph-platform/local-server.md @@ -250,4 +250,4 @@ Access detailed documentation for development and API usage: - **[LangGraph Server API Reference](../../cloud/reference/api/api_ref.html)**: Explore the LangGraph Server API documentation. - **[Python SDK Reference](../../cloud/reference/sdk/python_sdk_ref.md)**: Explore the Python SDK API Reference. -- **[JS/TS SDK Reference](../../cloud/reference/sdk/js_ts_sdk_ref.md)**: Explore the Python SDK API Reference. \ No newline at end of file +- **[JS/TS SDK Reference](../../cloud/reference/sdk/js_ts_sdk_ref.md)**: Explore the Python SDK API Reference.