Skip to content

added minor fixes to README.md #8

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 14 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,8 @@ For example, you could do something like:

This would install the current directory (and any requirements files located inside) as well as the `wikipedia` package.



#### `env`

This is a path to any environment variables/files to load.
Expand All @@ -192,6 +194,16 @@ In our example we had:

This meant we loaded the environment variables in the `.env` file

An example for langgrah.json file:
```json
{
"graphs": {
"agent": "./agent.py:graph"
},
"env": ".env",
"dependencies": ["."] // installs dependencies from ./requirements.txt
}
```
### Launch the LangGraph agent

We can now use our CLI to launch the LangGraph agent.
Expand All @@ -203,7 +215,7 @@ pip install langgraph-cli
```

Once installed, we can then launch the service with:

(make sure docker is running)
```shell
langgraph up
```
Expand All @@ -217,7 +229,7 @@ The API reference is available at `http://localhost:8123/docs` when running loca
## UI

Part of LangGraph API includes a UI for interacting with created agents.
After running `langgraph up` you can access this UI by going to [http://localhost:8124/assistants](http://localhost:8124/assistants). You will fist see a list of all agents.
After running `langgraph up` you can access this UI by going to [http://localhost:8124/assistants](http://localhost:8124/assistants). You will first see a list of all agents.

![](static/assistants.png)

Expand Down