Name | langgraph-sdk JSON |
Version |
0.2.0
JSON |
| download |
home_page | None |
Summary | SDK for interacting with LangGraph API |
upload_time | 2025-07-22 17:31:06 |
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/2a/3e/3dc45dc7682c9940db9edaf8773d2e157397c5bd6881f6806808afd8731e/langgraph_sdk-0.2.0.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.0",
"project_urls": {
"Repository": "https://www.github.com/langchain-ai/langgraph"
},
"split_keywords": [],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "a503a8ab0e8ea74be6058cb48bb1d85485b5c65d6ea183e3ee1aa8ca1ac73b3e",
"md5": "09702825385eb01f35b2fcd630650cff",
"sha256": "150722264f225c4d47bbe7394676be102fdbf04c4400a0dd1bd41a70c6430cc7"
},
"downloads": -1,
"filename": "langgraph_sdk-0.2.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "09702825385eb01f35b2fcd630650cff",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.9",
"size": 50569,
"upload_time": "2025-07-22T17:31:04",
"upload_time_iso_8601": "2025-07-22T17:31:04.582568Z",
"url": "https://files.pythonhosted.org/packages/a5/03/a8ab0e8ea74be6058cb48bb1d85485b5c65d6ea183e3ee1aa8ca1ac73b3e/langgraph_sdk-0.2.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "2a3e3dc45dc7682c9940db9edaf8773d2e157397c5bd6881f6806808afd8731e",
"md5": "c1c9f33a6f1a90e789fe3b853c261b81",
"sha256": "cd8b5f6595e5571be5cbffd04cf936978ab8f5d1005517c99715947ef871e246"
},
"downloads": -1,
"filename": "langgraph_sdk-0.2.0.tar.gz",
"has_sig": false,
"md5_digest": "c1c9f33a6f1a90e789fe3b853c261b81",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9",
"size": 72510,
"upload_time": "2025-07-22T17:31:06",
"upload_time_iso_8601": "2025-07-22T17:31:06.745359Z",
"url": "https://files.pythonhosted.org/packages/2a/3e/3dc45dc7682c9940db9edaf8773d2e157397c5bd6881f6806808afd8731e/langgraph_sdk-0.2.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-07-22 17:31:06",
"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"
}