langgraph-api-0.7.9
0.7.9
0.7.8
0.7.7
0.7.6
0.7.50
0.7.5
0.7.49
0.7.48
0.7.47
0.7.46
0.7.45
0.7.44
0.7.43
0.7.42
0.7.41
0.7.40
0.7.4
0.7.39
0.7.38
0.7.37
0.7.36
0.7.35
0.7.34
0.7.33
0.7.32
0.7.31
0.7.30
0.7.3
0.7.29
0.7.28
0.7.27
0.7.26
0.7.25
0.7.24
0.7.23
0.7.22
0.7.21
0.7.2
0.7.19
0.7.18
0.7.17
0.7.16
0.7.15
0.7.14
0.7.13
0.7.12
0.7.1
0.7.0
0.6.9
0.6.8
0.6.7
0.6.6
0.6.5
0.6.4
0.6.39
0.6.38
0.6.37
0.6.36
0.6.35
0.6.34
0.6.33
0.6.32
0.6.31
0.6.30
0.6.3
0.6.29
0.6.28
0.6.27
0.6.26
0.6.25
0.6.24
0.6.23
0.6.22
0.6.21
0.6.20
0.6.2
0.6.19
0.6.18
0.6.17
0.6.16
0.6.15
0.6.14
0.6.13
0.6.12
0.6.11
0.6.10
0.6.1
0.6.0
0.5.9
0.5.8
0.5.7
0.5.6
0.5.5
0.5.42
0.5.41
0.5.40
0.5.4
0.5.39
0.5.38
0.5.37
0.5.36
0.5.35
0.5.34
0.5.33
0.5.32
0.5.31
0.5.30
0.5.3
0.5.29
0.5.28
0.5.27
0.5.26
0.5.25
0.5.24
0.5.23
0.5.22
0.5.21
0.5.20
0.5.2
0.5.19
0.5.18
0.5.17
0.5.16
0.5.15
0.5.14
0.5.13
0.5.12
0.5.11
0.5.10
0.5.1
0.5.0
0.4.9
0.4.7
0.4.48
0.4.47
0.4.46
0.4.45
0.4.44
0.4.43
0.4.42
0.4.41
0.4.40
0.4.39
0.4.38
0.4.37
0.4.36
0.4.35
0.4.34
0.4.33
0.4.32
0.4.31
0.4.30
0.4.29
0.4.28
0.4.27
0.4.26
0.4.25
0.4.24
0.4.23
0.4.22
0.4.21
0.4.20
0.4.19
0.4.18
0.4.17
0.4.16
0.4.15
0.4.14
0.4.11
0.4.1
0.4.0
0.3.4
0.3.1
0.3.0
0.2.99
0.2.98
0.2.97
0.2.96
0.2.95
0.2.94
0.2.92
0.2.9
0.2.89
0.2.88
0.2.86
0.2.85
0.2.83
0.2.8
0.2.78
0.2.77
0.2.76
0.2.75
0.2.72
0.2.71
0.2.70
0.2.7
0.2.69
0.2.68
0.2.67
0.2.66
0.2.64
0.2.63
0.2.61
0.2.60
0.2.6
0.2.56
0.2.54
0.2.51
0.2.5
0.2.48
0.2.46
0.2.45
0.2.44
0.2.43
0.2.42
0.2.40
0.2.4
0.2.39
0.2.38
0.2.37
0.2.36
0.2.35
0.2.34
0.2.32
0.2.30
0.2.3
0.2.29
0.2.28
0.2.27
0.2.26
0.2.25
0.2.24
0.2.23
0.2.21
0.2.20
0.2.2
0.2.19
0.2.18
0.2.17
0.2.16
0.2.15
0.2.14
0.2.137
0.2.135
0.2.134
0.2.132
0.2.130
0.2.13
0.2.129
0.2.128
0.2.126
0.2.125
0.2.124
0.2.123
0.2.120
0.2.12
0.2.117
0.2.115
0.2.114
0.2.113
0.2.111
0.2.110
0.2.11
0.2.109
0.2.108
0.2.102
0.2.100
0.2.10
0.2.1
0.2.0
0.1.9
0.1.8
0.1.7
0.1.6
0.1.5
0.1.4
0.1.3
0.1.23
0.1.22
0.1.21
0.1.20
0.1.2
0.1.18
0.1.17
0.1.16
0.1.15
0.1.14
0.1.13
0.1.12
0.1.0
0.0.9
0.0.8
0.0.7
0.0.6
0.0.5
0.0.48
0.0.47
0.0.46
0.0.45
0.0.44
0.0.43
0.0.42
0.0.41
0.0.40
0.0.4
0.0.39
0.0.38
0.0.37
0.0.36
0.0.34
0.0.33
0.0.32
0.0.31
0.0.30
0.0.3
0.0.28rc1
0.0.28
0.0.27
0.0.26
0.0.25
0.0.24
0.0.23
0.0.22
0.0.21
0.0.20
0.0.2
0.0.19
0.0.18
0.0.17
0.0.16
0.0.15
0.0.14
0.0.13
0.0.12
0.0.11
0.0.10
0.0.1
0.7.9
0.7.8
0.7.7
0.7.6
0.7.50
0.7.5
0.7.49
0.7.48
0.7.47
0.7.46
0.7.45
0.7.44
0.7.43
0.7.42
0.7.41
0.7.40
0.7.4
0.7.39
0.7.38
0.7.37
0.7.36
0.7.35
0.7.34
0.7.33
0.7.32
0.7.31
0.7.30
0.7.3
0.7.29
0.7.28
0.7.27
0.7.26
0.7.25
0.7.24
0.7.23
0.7.22
0.7.21
0.7.2
0.7.19
0.7.18
0.7.17
0.7.16
0.7.15
0.7.14
0.7.13
0.7.12
0.7.1
0.7.0
0.6.9
0.6.8
0.6.7
0.6.6
0.6.5
0.6.4
0.6.39
0.6.38
0.6.37
0.6.36
0.6.35
0.6.34
0.6.33
0.6.32
0.6.31
0.6.30
0.6.3
0.6.29
0.6.28
0.6.27
0.6.26
0.6.25
0.6.24
0.6.23
0.6.22
0.6.21
0.6.20
0.6.2
0.6.19
0.6.18
0.6.17
0.6.16
0.6.15
0.6.14
0.6.13
0.6.12
0.6.11
0.6.10
0.6.1
0.6.0
0.5.9
0.5.8
0.5.7
0.5.6
0.5.5
0.5.42
0.5.41
0.5.40
0.5.4
0.5.39
0.5.38
0.5.37
0.5.36
0.5.35
0.5.34
0.5.33
0.5.32
0.5.31
0.5.30
0.5.3
0.5.29
0.5.28
0.5.27
0.5.26
0.5.25
0.5.24
0.5.23
0.5.22
0.5.21
0.5.20
0.5.2
0.5.19
0.5.18
0.5.17
0.5.16
0.5.15
0.5.14
0.5.13
0.5.12
0.5.11
0.5.10
0.5.1
0.5.0
0.4.9
0.4.7
0.4.48
0.4.47
0.4.46
0.4.45
0.4.44
0.4.43
0.4.42
0.4.41
0.4.40
0.4.39
0.4.38
0.4.37
0.4.36
0.4.35
0.4.34
0.4.33
0.4.32
0.4.31
0.4.30
0.4.29
0.4.28
0.4.27
0.4.26
0.4.25
0.4.24
0.4.23
0.4.22
0.4.21
0.4.20
0.4.19
0.4.18
0.4.17
0.4.16
0.4.15
0.4.14
0.4.11
0.4.1
0.4.0
0.3.4
0.3.1
0.3.0
0.2.99
0.2.98
0.2.97
0.2.96
0.2.95
0.2.94
0.2.92
0.2.9
0.2.89
0.2.88
0.2.86
0.2.85
0.2.83
0.2.8
0.2.78
0.2.77
0.2.76
0.2.75
0.2.72
0.2.71
0.2.70
0.2.7
0.2.69
0.2.68
0.2.67
0.2.66
0.2.64
0.2.63
0.2.61
0.2.60
0.2.6
0.2.56
0.2.54
0.2.51
0.2.5
0.2.48
0.2.46
0.2.45
0.2.44
0.2.43
0.2.42
0.2.40
0.2.4
0.2.39
0.2.38
0.2.37
0.2.36
0.2.35
0.2.34
0.2.32
0.2.30
0.2.3
0.2.29
0.2.28
0.2.27
0.2.26
0.2.25
0.2.24
0.2.23
0.2.21
0.2.20
0.2.2
0.2.19
0.2.18
0.2.17
0.2.16
0.2.15
0.2.14
0.2.137
0.2.135
0.2.134
0.2.132
0.2.130
0.2.13
0.2.129
0.2.128
0.2.126
0.2.125
0.2.124
0.2.123
0.2.120
0.2.12
0.2.117
0.2.115
0.2.114
0.2.113
0.2.111
0.2.110
0.2.11
0.2.109
0.2.108
0.2.102
0.2.100
0.2.10
0.2.1
0.2.0
0.1.9
0.1.8
0.1.7
0.1.6
0.1.5
0.1.4
0.1.3
0.1.23
0.1.22
0.1.21
0.1.20
0.1.2
0.1.18
0.1.17
0.1.16
0.1.15
0.1.14
0.1.13
0.1.12
0.1.0
0.0.9
0.0.8
0.0.7
0.0.6
0.0.5
0.0.48
0.0.47
0.0.46
0.0.45
0.0.44
0.0.43
0.0.42
0.0.41
0.0.40
0.0.4
0.0.39
0.0.38
0.0.37
0.0.36
0.0.34
0.0.33
0.0.32
0.0.31
0.0.30
0.0.3
0.0.28rc1
0.0.28
0.0.27
0.0.26
0.0.25
0.0.24
0.0.23
0.0.22
0.0.21
0.0.20
0.0.2
0.0.19
0.0.18
0.0.17
0.0.16
0.0.15
0.0.14
0.0.13
0.0.12
0.0.11
0.0.10
0.0.1
توضیحات
-
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | langgraph-api-0.7.9 |
| نام | langgraph-api |
| نسخه کتابخانه | 0.7.9 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | - |
| ایمیل نویسنده | Will Fu-Hinthorn <will@langchain.dev>, Josh Rogers <josh@langchain.dev>, Parker Rule <parker@langchain.dev> |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/langgraph-api/ |
| مجوز | Elastic-2.0 |
# LangGraph API
This package implements the LangGraph API for rapid development and testing. Build and iterate on LangGraph agents with a tight feedback loop. The server is backed by a predominently in-memory data store that is persisted to local disk when the server is restarted.
For production use, see the various [deployment options](https://langchain-ai.github.io/langgraph/concepts/deployment_options/) for the LangGraph API, which are backed by a production-grade database.
## Installation
Install the `langgraph-cli` package with the `inmem` extra. Your CLI version must be no lower than `0.1.55`.
```bash
pip install -U langgraph-cli[inmem]
```
## Quickstart
1. (Optional) Clone a starter template:
```bash
langgraph new --template new-langgraph-project-python ./my-project
cd my-project
```
(Recommended) Use a virtual environment and install dependencies:
```bash
python -m venv .venv
source .venv/bin/activate
python -m pip install .
```
2. Start the development server:
```shell
langgraph dev --config ./langgraph.json
```
3. The server will launch, opening a browser window with the graph UI. Interact with your graph or make code edits; the server automatically reloads on changes.
## Usage
Start the development server:
```bash
langgraph dev
```
Your agent's state (threads, runs, assistants) persists in memory while the server is running - perfect for development and testing. Each run's state is tracked and can be inspected, making it easy to debug and improve your agent's behavior.
## How-To
#### Attaching a debugger
Debug mode lets you attach your IDE's debugger to the LangGraph API server to set breakpoints and step through your code line-by-line.
1. Install debugpy:
```bash
pip install debugpy
```
2. Start the server in debug mode:
```bash
langgraph dev --debug-port 5678
```
3. Configure your IDE:
- **VS Code**: Add this launch configuration:
```json
{
"name": "Attach to LangGraph",
"type": "debugpy",
"request": "attach",
"connect": {
"host": "0.0.0.0",
"port": 5678
},
}
```
- **PyCharm**: Use "Attach to Process" and select the langgraph process
4. Set breakpoints in your graph code and start debugging.
## CLI options
```bash
langgraph dev [OPTIONS]
Options:
--debug-port INTEGER Enable remote debugging on specified port
--no-browser Skip opening browser on startup
--n-jobs-per-worker INTEGER Maximum concurrent jobs per worker process
--config PATH Custom configuration file path
--no-reload Disable code hot reloading
--port INTEGER HTTP server port (default: 8000)
--host TEXT HTTP server host (default: localhost)
```
## License
This project is licensed under the Elastic License 2.0 - see the [LICENSE](./LICENSE) file for details.
نیازمندی
| مقدار | نام |
|---|---|
| - | cloudpickle>=3.0.0 |
| - | cryptography<47.0,>=42.0.0 |
| - | grpcio-health-checking<1.79.0,>=1.78.0 |
| - | grpcio-tools==1.78.0 |
| - | grpcio<1.79.0,>=1.78.0 |
| - | httpx>=0.25.0 |
| - | jsonschema-rs<0.30,>=0.20.0 |
| - | langchain-core>=0.3.64 |
| - | langgraph-checkpoint<5,>=3.0.1 |
| - | langgraph-runtime-inmem<0.26.0,>=0.25.0 |
| - | langgraph-sdk>=0.3.5 |
| - | langgraph<2,>=0.4.10 |
| - | langsmith[otel]>=0.6.3 |
| - | opentelemetry-api>=1.37.0 |
| - | opentelemetry-exporter-otlp-proto-http>=1.37.0 |
| - | opentelemetry-sdk>=1.37.0 |
| - | orjson>=3.9.7 |
| - | protobuf<7.0.0,>=6.32.1 |
| - | pyjwt>=2.9.0 |
| - | sse-starlette<2.2.0,>=2.1.0 |
| - | starlette>=0.38.6 |
| - | structlog<26,>=24.1.0 |
| - | tenacity>=8.0.0 |
| - | truststore>=0.1 |
| - | uuid-utils>=0.12.0 |
| - | uvicorn>=0.26.0 |
| - | watchfiles>=0.13 |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.11 | Python |
نحوه نصب
نصب پکیج whl langgraph-api-0.7.9:
pip install langgraph-api-0.7.9.whl
نصب پکیج tar.gz langgraph-api-0.7.9:
pip install langgraph-api-0.7.9.tar.gz