Skip to content

Commit f196468

Browse files
committed
Consolidate further
1 parent f5cd30a commit f196468

File tree

1 file changed

+16
-23
lines changed

1 file changed

+16
-23
lines changed

README.md

Lines changed: 16 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -15,24 +15,6 @@ You can extend this graph to orchestrate more complex agentic workflows that can
1515

1616
## Getting Started
1717

18-
1. Install the [LangGraph CLI](https://langchain-ai.github.io/langgraph/concepts/langgraph_cli/).
19-
20-
```
21-
pip install --upgrade "langgraph-cli[inmem]"
22-
```
23-
24-
2. Create a `.env` file. While this starter app does not require any secrets, if you later decide to connect to LLM providers and other integrations, you will likely need to provide API keys.
25-
26-
```bash
27-
cp .env.example .env
28-
```
29-
30-
3. If desired, add your LangSmith API key in your `.env` file.
31-
32-
```
33-
LANGSMITH_API_KEY=lsv2...
34-
```
35-
3618
<!--
3719
Setup instruction auto-generated by `langgraph template lock`. DO NOT EDIT MANUALLY.
3820
-->
@@ -41,18 +23,29 @@ Setup instruction auto-generated by `langgraph template lock`. DO NOT EDIT MANUA
4123
End setup instructions
4224
-->
4325

44-
4. Install dependencies
26+
1. Install dependencies, along with the [LangGraph CLI](https://langchain-ai.github.io/langgraph/concepts/langgraph_cli/), which will be used to run the server.
4527

4628
```bash
4729
cd path/to/your/app
48-
pip install -e .
49-
pip install "langgraph-cli[inmem]"
30+
pip install -e . "langgraph-cli[inmem]"
5031
```
5132

52-
5. Customize the code as needed.
53-
6. Start the LangGraph Server.
33+
2. (Optional) Customize the code and project as needed. Create a `.env` file if you need to use secrets.
5434

35+
```bash
36+
cp .env.example .env
5537
```
38+
39+
If you want to enable LangSmith tracing, add your LangSmith API key to the `.env` file.
40+
41+
```text
42+
# .env
43+
LANGSMITH_API_KEY=lsv2...
44+
```
45+
46+
3. Start the LangGraph Server.
47+
48+
```shell
5649
langgraph dev
5750
```
5851

0 commit comments

Comments
 (0)