mirror of
https://github.com/langchain-ai/langgraph.git
synced 2026-09-29 21:15:11 +02:00
Manual pass to apply a few heuristics: * Boost conceptual pages * Deboost (is that a word?) index pages that list all content * Prefer Agents pages if search query contains the word "agent" * Add tags for a few selected pages
1.4 KiB
1.4 KiB
search
| search | ||
|---|---|---|
|
LangGraph SDK
!!! info "Prerequisites" - LangGraph Platform - LangGraph Server
The LangGraph Platform provides both a Python and JS SDK for interacting with the LangGraph Server API.
Installation
You can install the packages using the appropriate package manager for your language.
=== "Python"
bash pip install langgraph-sdk
=== "JS"
bash yarn add @langchain/langgraph-sdk
API Reference
You can find the API reference for the SDKs here:
Python Sync vs. Async
The Python SDK provides both synchronous (get_sync_client) and asynchronous (get_client) clients for interacting with the LangGraph Server API.
=== "Async" ```python from langgraph_sdk import get_client
client = get_client(url=..., api_key=...)
await client.assistants.search()
```
=== "Sync"
```python
from langgraph_sdk import get_sync_client
client = get_sync_client(url=..., api_key=...)
client.assistants.search()
```