| Crates.io | langgraph-api |
| lib.rs | langgraph-api |
| version | 0.1.1 |
| created_at | 2025-12-18 03:09:51.416833+00 |
| updated_at | 2025-12-30 06:30:15.790818+00 |
| description | Rust Client API of LangGraph |
| homepage | https://github.com/nurokhq/langgraph-api-rust |
| repository | https://github.com/nurokhq/langgraph-api-rust |
| max_upload_size | |
| id | 1991627 |
| size | 675,570 |
Rust API Client SDK for LangGraph API
This is an auto-generated Rust client library for the LangGraph API. It provides type-safe bindings for interacting with LangGraph Cloud, which enables building and running stateful, multi-actor applications with LLMs.
reqwest with async/awaitrustls-tls (default) or native-tlsAdd this to your Cargo.toml:
[dependencies]
langgraph-api = { version = "0.1.1", features = ["rustls-tls"] }
Or with native TLS:
[dependencies]
langgraph-api = { version = "0.1.1", features = ["native-tls"] }
The following table shows the version correspondence between the client and LangGraph API:
| Client Version | LangGraph API Version |
|---|---|
| 0.1.0 | 0.1.0 |
| 0.1.1 | 0.1.0 |
Please ensure you use a compatible client version for your LangGraph API version to avoid compatibility issues.
use langgraph_api::apis::*;
use langgraph_api::models::*;
...
default: Enables rustls-tls featurerustls-tls: Use rustls for TLS (default, recommended)native-tls: Use native TLS implementationThis SDK is generated from the OpenAPI specification using OpenAPI Generator.
To regenerate the SDK:
./scripts/generate_api_sdk.sh
This script:
api/langgraph-openapi.jsonsrc/generated/cargo fmtSee LICENSE file for details.
Contributions are welcome! Please ensure that:
cargo fmtcargo testcargo clippy