Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/langchain-ai/langgraph
/ functions
Functions
7,100 in github.com/langchain-ai/langgraph
⨍
Functions
7,100
◇
Types & classes
1,151
↳
Endpoints
35
Method
count
Count threads matching filters. Args: metadata: Thread metadata to filter on. values: State values to filter on.
libs/sdk-py/langgraph_sdk/_sync/threads.py:369
Method
count
Count assistants matching filters. Args: metadata: Metadata to filter by. Exact match for each key/value. graph_id: O
libs/sdk-py/langgraph_sdk/_sync/assistants.py:622
Function
counting_get_connection
(conn)
libs/checkpoint-postgres/tests/test_async_store.py:387
Function
counting_handler
Handler that counts calls.
libs/prebuilt/tests/test_on_tool_call.py:291
Method
create
Create a new thread. Args: metadata: Metadata to add to thread. thread_id: ID of thread. If `None`, I
libs/sdk-py/langgraph_sdk/_async/threads.py:101
Method
create
Create a new assistant. Useful when graph is configurable and you want to create different assistants based on different configurations.
libs/sdk-py/langgraph_sdk/_async/assistants.py:314
Method
create
Create a new thread. Args: metadata: Metadata to add to thread. thread_id: ID of thread. If `None`, I
libs/sdk-py/langgraph_sdk/_sync/threads.py:99
Method
create
Create a new assistant. Useful when graph is configurable and you want to create different assistants based on different configurations.
libs/sdk-py/langgraph_sdk/_sync/assistants.py:318
Method
create_batch
Create a batch of stateless background runs.
libs/sdk-py/langgraph_sdk/_async/runs.py:607
Method
create_batch
Create a batch of stateless background runs.
libs/sdk-py/langgraph_sdk/_sync/runs.py:602
Function
create_chat_simulator
Creates a chat simulator for evaluating a chatbot. Args: assistant: The chatbot assistant function or runnable object. simulated_
examples/chatbot-simulation-evaluation/simulation_utils.py:80
Function
create_simulated_user
Creates a simulated user for chatbot simulation. Args: system_prompt (str): The system prompt to be used by the simulated user.
examples/chatbot-simulation-evaluation/simulation_utils.py:32
Function
custom_async_tool_impl
Custom async tool implementation.
libs/prebuilt/tests/test_tool_node_interceptor_unregistered.py:628
Function
custom_hook
(code: int, data: bytes)
libs/checkpoint/tests/test_jsonplus.py:1123
Function
custom_my_route
A great route.
libs/cli/examples/my_app.py:34
Function
custom_tool_impl
Custom tool implementation.
libs/prebuilt/tests/test_tool_node_interceptor_unregistered.py:589
Function
d
(state: State)
libs/langgraph/tests/test_pregel.py:4689
Function
decider
(data: State)
libs/langgraph/tests/test_pregel_async.py:4323
Function
decider
(data: State)
libs/langgraph/tests/test_pregel.py:2509
Function
decider_cond
(data: State)
libs/langgraph/tests/test_pregel_async.py:4688
Function
decider_cond
(data: State)
libs/langgraph/tests/test_pregel.py:2846
Function
decorator
(fn: Any)
libs/checkpoint-conformance/langgraph/checkpoint/conformance/initializer.py:90
Method
decorator
( handler: _ActionHandler[VCreate | VUpdate | VRead | VDelete | VSearch], )
libs/sdk-py/langgraph_sdk/auth/__init__.py:425
Method
decorator
( handler: AHO, )
libs/sdk-py/langgraph_sdk/auth/__init__.py:715
Method
decorator
( handler: AHO, )
libs/sdk-py/langgraph_sdk/auth/__init__.py:847
Method
decrypt
Decrypt ciphertext. Returns the plaintext.
libs/checkpoint/langgraph/checkpoint/serde/base.py:62
Method
decrypt
(self, ciphername: str, ciphertext: bytes)
libs/checkpoint/tests/test_encrypted.py:55
Method
decrypt
(self, ciphername: str, ciphertext: bytes)
libs/checkpoint/tests/test_encrypted.py:314
Method
deep_node
(state: CountState)
libs/langgraph/tests/test_pregel_stream_events_v3.py:663
Method
default
Dot-style progress: ``.`` per pass, ``F`` per fail.
libs/checkpoint-conformance/langgraph/checkpoint/conformance/report.py:39
Function
default_cache_key
Default cache key function that uses the arguments and keyword arguments to generate a hashable key.
libs/langgraph/langgraph/_internal/_cache.py:26
Function
default_handler
(state: State, error: NodeError)
libs/langgraph/tests/test_retry.py:2325
Function
default_retry_on
(exc: Exception)
libs/langgraph/langgraph/_internal/_retry.py:1
Method
delete
( self, namespace: tuple[str, ...], key: str, )
libs/checkpoint/langgraph/store/base/batch.py:252
Method
delete
Send a `DELETE` request.
libs/sdk-py/langgraph_sdk/_async/http.py:121
Method
delete
Delete an assistant. Args: assistant_id: The assistant ID to delete. delete_threads: If true, delete all threads with
libs/sdk-py/langgraph_sdk/_async/assistants.py:452
Method
delete
Delete a thread. Args: thread_id: The ID of the thread to delete. headers: Optional custom headers to include with th
libs/sdk-py/langgraph_sdk/_sync/threads.py:262
Method
delete
Send a `DELETE` request.
libs/sdk-py/langgraph_sdk/_sync/http.py:121
Method
delete
Delete an assistant. Args: assistant_id: The assistant ID to delete. delete_threads: If true, delete all threads with
libs/sdk-py/langgraph_sdk/_sync/assistants.py:454
Method
delete_deployment
(self, deployment_id: str)
libs/cli/tests/unit_tests/cli/test_cli.py:598
Function
delete_file
(state: State)
libs/langgraph/tests/test_channels.py:718
Function
delete_first
(state: State)
libs/langgraph/tests/test_pregel.py:9696
Method
delete_for_runs
Delete all checkpoints and writes associated with the given run IDs. Args: run_ids: The run IDs whose checkpoints should be delet
libs/checkpoint/langgraph/checkpoint/base/__init__.py:332
Method
delete_item
Delete an item. Args: key: The unique identifier for the item. namespace: Optional list of strings representing the n
libs/sdk-py/langgraph_sdk/_sync/store.py:144
Method
delete_thread
Delete all checkpoints and writes associated with a thread ID. Args: thread_id: The thread ID to delete. Returns:
libs/checkpoint-sqlite/langgraph/checkpoint/sqlite/__init__.py:484
Method
delete_thread
Delete all checkpoints and writes associated with a thread ID. Args: thread_id: The thread ID to delete. Returns:
libs/checkpoint-sqlite/langgraph/checkpoint/sqlite/aio.py:257
Method
delete_thread
Delete all checkpoints and writes associated with a thread ID. Args: thread_id: The thread ID to delete. Returns:
libs/checkpoint-postgres/langgraph/checkpoint/postgres/__init__.py:381
Method
delete_thread
Delete all checkpoints and writes associated with a thread ID. Args: thread_id: The thread ID to delete. Returns:
libs/checkpoint-postgres/langgraph/checkpoint/postgres/aio.py:665
Method
delete_thread
Delete all checkpoints and writes associated with a specific thread ID. Args: thread_id: The thread ID whose checkpoints should b
libs/checkpoint/langgraph/checkpoint/base/__init__.py:321
Function
delete_ui_message
Delete a UI message by ID from the UI state. This function creates and sends a message to remove a UI component from the current state. It al
libs/langgraph/langgraph/graph/ui.py:133
Method
deltas
Stream tool output deltas emitted before the terminal event. Raises: RuntimeError: if called more than once — the underlying queu
libs/sdk-py/langgraph_sdk/_async/stream.py:995
Method
deltas
Iterate over tool output deltas emitted before the terminal event. Raises: RuntimeError: if called more than once — the underlyin
libs/sdk-py/langgraph_sdk/_sync/stream.py:497
Function
deny_all
(ctx, value)
libs/sdk-py/tests/test_auth.py:26
Function
deploy
(ctx: click.Context, **_: object)
libs/cli/langgraph_cli/deploy.py:2169
Function
deploy_delete
( api_key: str | None, host_url: str | None, force: bool, deployment_id: str )
libs/cli/langgraph_cli/deploy.py:2475
Function
deploy_list
( api_key: str | None, host_url: str | None, name_contains: str, agent_id: str | None, env
libs/cli/langgraph_cli/deploy.py:2381
Function
deploy_logs
( api_key: str | None, name: str | None, deployment_id: str | None, log_type: str, revisio
libs/cli/langgraph_cli/deploy.py:2566
Function
deploy_project
(tmp_path: Path, monkeypatch: pytest.MonkeyPatch)
libs/cli/tests/unit_tests/cli/test_deploy_command.py:284
Function
deploy_revisions
()
libs/cli/langgraph_cli/deploy.py:2419
Function
deploy_revisions_list
( api_key: str | None, host_url: str | None, limit: int, deployment_id: str )
libs/cli/langgraph_cli/deploy.py:2440
Function
deployment_api
(monkeypatch, tmp_path)
libs/cli/tests/unit_tests/test_deploy_agents.py:14
Function
deterministic_uuids
(mocker: MockerFixture)
libs/langgraph/tests/conftest.py:48
Function
deterministic_uuids
(mocker: MockerFixture)
libs/prebuilt/tests/conftest.py:89
Function
dev
CLI entrypoint for running the LangGraph API server.
libs/cli/langgraph_cli/cli.py:763
Method
dict
(self)
libs/checkpoint/langgraph/store/base/__init__.py:151
Function
direct_return_handler
Handler that returns ToolMessage directly.
libs/prebuilt/tests/test_on_tool_call.py:564
Function
disable_analytics_env
Disable analytics for unit tests LANGGRAPH_CLI_NO_ANALYTICS.
libs/cli/tests/unit_tests/conftest.py:8
Method
display_name
(self)
libs/langgraph/tests/test_runtime.py:1064
Method
display_name
The display name of the user.
libs/sdk-py/langgraph_sdk/auth/types.py:191
Method
display_name
(self)
libs/sdk-py/langgraph_sdk/auth/types.py:265
Function
do_nothing
(state: AgentState)
libs/langgraph/tests/test_pregel_async.py:8651
Function
dockerfile
( save_path: str, config: pathlib.Path, add_docker_compose: bool, base_image: str | None = Non
libs/cli/langgraph_cli/cli.py:550
Method
done
(self, task: asyncio.Future)
libs/langgraph/langgraph/pregel/_executor.py:171
Function
down
(state: State)
libs/langgraph/tests/test_pregel.py:3072
Method
drain_reason
(self)
libs/langgraph/langgraph/runtime.py:103
Method
drain_reason
(self)
libs/langgraph/langgraph/runtime.py:281
Method
drain_requested
(self)
libs/langgraph/langgraph/runtime.py:99
Method
drain_requested
(self)
libs/langgraph/langgraph/runtime.py:277
Function
dummy
(state)
libs/langgraph/tests/test_pregel.py:4728
Method
dumps_typed
(self, obj: Any)
libs/langgraph/tests/test_pregel_async.py:135
Method
dumps_typed
(self, obj: Any)
libs/checkpoint/langgraph/checkpoint/serde/base.py:24
Method
dumps_typed
Serialize an object to a tuple `(type, bytes)` and encrypt the bytes.
libs/checkpoint/langgraph/checkpoint/serde/encrypted.py:17
Method
dumps_typed
(self, obj: object)
libs/checkpoint/tests/test_encrypted.py:304
Method
dup
(_ctx, data)
libs/sdk-py/tests/test_encryption.py:65
Function
durability
(request: pytest.FixtureRequest)
libs/langgraph/tests/conftest.py:56
Function
dynamic_model
(state, runtime: Runtime)
libs/prebuilt/tests/test_react_agent.py:1558
Function
dynamic_prompt
Generate a dynamic system message based on state.
libs/prebuilt/tests/test_react_agent.py:1697
Function
dynamic_tool_with_runtime
A dynamic tool that needs ToolRuntime injection.
libs/prebuilt/tests/test_tool_node.py:1923
Function
e
(state: State)
libs/langgraph/tests/test_pregel.py:4692
Function
echo
(state: State, runtime: Runtime)
libs/langgraph/tests/test_runtime.py:1198
Function
echo
(state: MessagesState)
libs/langgraph/tests/test_subgraph_persistence.py:96
Function
echo
(state: MessagesState)
libs/langgraph/tests/test_subgraph_persistence_async.py:107
Function
echo
(state: State)
libs/sdk-py/integration/graph/factory_graph.py:59
Method
echo
echo.
libs/prebuilt/tests/test_tool_call_transformer.py:329
Function
edit
(state: JokeState)
libs/langgraph/tests/test_large_cases.py:5761
Function
edit
(state: JokeState)
libs/langgraph/tests/test_large_cases_async.py:3475
Function
edit
(state: JokeInput)
libs/langgraph/bench/fanout_to_subgraph.py:33
Method
embed_documents
Embed a list of documents.
libs/checkpoint/tests/embed_test_utils.py:46
Method
embed_query
Embed a single piece of text. Args: text: Text to convert to an embedding. Returns: Embedding vector as a li
libs/checkpoint/langgraph/store/base/embed.py:182
Method
embed_query
Embed a query string.
libs/checkpoint/tests/embed_test_utils.py:50
← previous
next →
3,001–3,100 of 7,100, ranked by callers