Name | langgraph-sdk JSON |
Version |
0.2.6
JSON |
| download |
home_page | None |
Summary | SDK for interacting with LangGraph API |
upload_time | 2025-09-04 01:51:11 |
maintainer | None |
docs_url | None |
author | None |
requires_python | >=3.9 |
license | None |
keywords |
|
VCS |
 |
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# LangGraph Python SDK
This repository contains the Python SDK for interacting with the LangGraph Platform REST API.
## Quick Start
To get started with the Python SDK, [install the package](https://pypi.org/project/langgraph-sdk/)
```bash
pip install -U langgraph-sdk
```
You will need a running LangGraph API server. If you're running a server locally using `langgraph-cli`, SDK will automatically point at `http://localhost:8123`, otherwise
you would need to specify the server URL when creating a client.
```python
from langgraph_sdk import get_client
# If you're using a remote server, initialize the client with `get_client(url=REMOTE_URL)`
client = get_client()
# List all assistants
assistants = await client.assistants.search()
# We auto-create an assistant for each graph you register in config.
agent = assistants[0]
# Start a new thread
thread = await client.threads.create()
# Start a streaming run
input = {"messages": [{"role": "human", "content": "what's the weather in la"}]}
async for chunk in client.runs.stream(thread['thread_id'], agent['assistant_id'], input=input):
print(chunk)
```
Raw data
{
"_id": null,
"home_page": null,
"name": "langgraph-sdk",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.9",
"maintainer_email": null,
"keywords": null,
"author": null,
"author_email": null,
"download_url": "https://files.pythonhosted.org/packages/55/35/a1caf4fdb725adec30f1e9562f218524a92d8b675deb97be653687f086ee/langgraph_sdk-0.2.6.tar.gz",
"platform": null,
"description": "# LangGraph Python SDK\n\nThis repository contains the Python SDK for interacting with the LangGraph Platform REST API.\n\n## Quick Start\n\nTo get started with the Python SDK, [install the package](https://pypi.org/project/langgraph-sdk/)\n\n```bash\npip install -U langgraph-sdk\n```\n\nYou will need a running LangGraph API server. If you're running a server locally using `langgraph-cli`, SDK will automatically point at `http://localhost:8123`, otherwise\nyou would need to specify the server URL when creating a client.\n\n```python\nfrom langgraph_sdk import get_client\n\n# If you're using a remote server, initialize the client with `get_client(url=REMOTE_URL)`\nclient = get_client()\n\n# List all assistants\nassistants = await client.assistants.search()\n\n# We auto-create an assistant for each graph you register in config.\nagent = assistants[0]\n\n# Start a new thread\nthread = await client.threads.create()\n\n# Start a streaming run\ninput = {\"messages\": [{\"role\": \"human\", \"content\": \"what's the weather in la\"}]}\nasync for chunk in client.runs.stream(thread['thread_id'], agent['assistant_id'], input=input):\n print(chunk)\n```\n",
"bugtrack_url": null,
"license": null,
"summary": "SDK for interacting with LangGraph API",
"version": "0.2.6",
"project_urls": {
"Repository": "https://www.github.com/langchain-ai/langgraph"
},
"split_keywords": [],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "c6d2c5fac919601b27a0af5df0bde46e7f1361d5e04505e404b75bed45d21fc8",
"md5": "1d17d973936bcc9c8f7012a8738e20ce",
"sha256": "477216b573b8177bbd849f4c754782a81279fbbd88bfadfeda44422d14b18b08"
},
"downloads": -1,
"filename": "langgraph_sdk-0.2.6-py3-none-any.whl",
"has_sig": false,
"md5_digest": "1d17d973936bcc9c8f7012a8738e20ce",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.9",
"size": 54565,
"upload_time": "2025-09-04T01:51:10",
"upload_time_iso_8601": "2025-09-04T01:51:10.044854Z",
"url": "https://files.pythonhosted.org/packages/c6/d2/c5fac919601b27a0af5df0bde46e7f1361d5e04505e404b75bed45d21fc8/langgraph_sdk-0.2.6-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "5535a1caf4fdb725adec30f1e9562f218524a92d8b675deb97be653687f086ee",
"md5": "e21a8d8606ba685424e0955580ba363f",
"sha256": "7db27cd86d1231fa614823ff416fcd2541b5565ad78ae950f31ae96d7af7c519"
},
"downloads": -1,
"filename": "langgraph_sdk-0.2.6.tar.gz",
"has_sig": false,
"md5_digest": "e21a8d8606ba685424e0955580ba363f",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9",
"size": 80346,
"upload_time": "2025-09-04T01:51:11",
"upload_time_iso_8601": "2025-09-04T01:51:11.262661Z",
"url": "https://files.pythonhosted.org/packages/55/35/a1caf4fdb725adec30f1e9562f218524a92d8b675deb97be653687f086ee/langgraph_sdk-0.2.6.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-09-04 01:51:11",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "langchain-ai",
"github_project": "langgraph",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "langgraph-sdk"
}