MCPcopy Create free account

hub / github.com/langchain-ai/langgraph / functions

Functions7,100 in github.com/langchain-ai/langgraph

Methodcount
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
Methodcount
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
Functioncounting_get_connection
(conn)
libs/checkpoint-postgres/tests/test_async_store.py:387
Functioncounting_handler
Handler that counts calls.
libs/prebuilt/tests/test_on_tool_call.py:291
Methodcreate
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
Methodcreate
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
Methodcreate
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
Methodcreate
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
Methodcreate_batch
Create a batch of stateless background runs.
libs/sdk-py/langgraph_sdk/_async/runs.py:607
Methodcreate_batch
Create a batch of stateless background runs.
libs/sdk-py/langgraph_sdk/_sync/runs.py:602
Functioncreate_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
Functioncreate_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
Functioncustom_async_tool_impl
Custom async tool implementation.
libs/prebuilt/tests/test_tool_node_interceptor_unregistered.py:628
Functioncustom_hook
(code: int, data: bytes)
libs/checkpoint/tests/test_jsonplus.py:1123
Functioncustom_my_route
A great route.
libs/cli/examples/my_app.py:34
Functioncustom_tool_impl
Custom tool implementation.
libs/prebuilt/tests/test_tool_node_interceptor_unregistered.py:589
Functiond
(state: State)
libs/langgraph/tests/test_pregel.py:4689
Functiondecider
(data: State)
libs/langgraph/tests/test_pregel_async.py:4323
Functiondecider
(data: State)
libs/langgraph/tests/test_pregel.py:2509
Functiondecider_cond
(data: State)
libs/langgraph/tests/test_pregel_async.py:4688
Functiondecider_cond
(data: State)
libs/langgraph/tests/test_pregel.py:2846
Functiondecorator
(fn: Any)
libs/checkpoint-conformance/langgraph/checkpoint/conformance/initializer.py:90
Methoddecorator
( handler: _ActionHandler[VCreate | VUpdate | VRead | VDelete | VSearch], )
libs/sdk-py/langgraph_sdk/auth/__init__.py:425
Methoddecorator
( handler: AHO, )
libs/sdk-py/langgraph_sdk/auth/__init__.py:715
Methoddecorator
( handler: AHO, )
libs/sdk-py/langgraph_sdk/auth/__init__.py:847
Methoddecrypt
Decrypt ciphertext. Returns the plaintext.
libs/checkpoint/langgraph/checkpoint/serde/base.py:62
Methoddecrypt
(self, ciphername: str, ciphertext: bytes)
libs/checkpoint/tests/test_encrypted.py:55
Methoddecrypt
(self, ciphername: str, ciphertext: bytes)
libs/checkpoint/tests/test_encrypted.py:314
Methoddeep_node
(state: CountState)
libs/langgraph/tests/test_pregel_stream_events_v3.py:663
Methoddefault
Dot-style progress: ``.`` per pass, ``F`` per fail.
libs/checkpoint-conformance/langgraph/checkpoint/conformance/report.py:39
Functiondefault_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
Functiondefault_handler
(state: State, error: NodeError)
libs/langgraph/tests/test_retry.py:2325
Functiondefault_retry_on
(exc: Exception)
libs/langgraph/langgraph/_internal/_retry.py:1
Methoddelete
( self, namespace: tuple[str, ...], key: str, )
libs/checkpoint/langgraph/store/base/batch.py:252
Methoddelete
Send a `DELETE` request.
libs/sdk-py/langgraph_sdk/_async/http.py:121
Methoddelete
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
Methoddelete
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
Methoddelete
Send a `DELETE` request.
libs/sdk-py/langgraph_sdk/_sync/http.py:121
Methoddelete
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
Methoddelete_deployment
(self, deployment_id: str)
libs/cli/tests/unit_tests/cli/test_cli.py:598
Functiondelete_file
(state: State)
libs/langgraph/tests/test_channels.py:718
Functiondelete_first
(state: State)
libs/langgraph/tests/test_pregel.py:9696
Methoddelete_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
Methoddelete_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
Methoddelete_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
Methoddelete_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
Methoddelete_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
Methoddelete_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
Methoddelete_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
Functiondelete_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
Methoddeltas
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
Methoddeltas
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
Functiondeny_all
(ctx, value)
libs/sdk-py/tests/test_auth.py:26
Functiondeploy
(ctx: click.Context, **_: object)
libs/cli/langgraph_cli/deploy.py:2169
Functiondeploy_delete
( api_key: str | None, host_url: str | None, force: bool, deployment_id: str )
libs/cli/langgraph_cli/deploy.py:2475
Functiondeploy_list
( api_key: str | None, host_url: str | None, name_contains: str, agent_id: str | None, env
libs/cli/langgraph_cli/deploy.py:2381
Functiondeploy_logs
( api_key: str | None, name: str | None, deployment_id: str | None, log_type: str, revisio
libs/cli/langgraph_cli/deploy.py:2566
Functiondeploy_project
(tmp_path: Path, monkeypatch: pytest.MonkeyPatch)
libs/cli/tests/unit_tests/cli/test_deploy_command.py:284
Functiondeploy_revisions
()
libs/cli/langgraph_cli/deploy.py:2419
Functiondeploy_revisions_list
( api_key: str | None, host_url: str | None, limit: int, deployment_id: str )
libs/cli/langgraph_cli/deploy.py:2440
Functiondeployment_api
(monkeypatch, tmp_path)
libs/cli/tests/unit_tests/test_deploy_agents.py:14
Functiondeterministic_uuids
(mocker: MockerFixture)
libs/langgraph/tests/conftest.py:48
Functiondeterministic_uuids
(mocker: MockerFixture)
libs/prebuilt/tests/conftest.py:89
Functiondev
CLI entrypoint for running the LangGraph API server.
libs/cli/langgraph_cli/cli.py:763
Methoddict
(self)
libs/checkpoint/langgraph/store/base/__init__.py:151
Functiondirect_return_handler
Handler that returns ToolMessage directly.
libs/prebuilt/tests/test_on_tool_call.py:564
Functiondisable_analytics_env
Disable analytics for unit tests LANGGRAPH_CLI_NO_ANALYTICS.
libs/cli/tests/unit_tests/conftest.py:8
Methoddisplay_name
(self)
libs/langgraph/tests/test_runtime.py:1064
Methoddisplay_name
The display name of the user.
libs/sdk-py/langgraph_sdk/auth/types.py:191
Methoddisplay_name
(self)
libs/sdk-py/langgraph_sdk/auth/types.py:265
Functiondo_nothing
(state: AgentState)
libs/langgraph/tests/test_pregel_async.py:8651
Functiondockerfile
( save_path: str, config: pathlib.Path, add_docker_compose: bool, base_image: str | None = Non
libs/cli/langgraph_cli/cli.py:550
Methoddone
(self, task: asyncio.Future)
libs/langgraph/langgraph/pregel/_executor.py:171
Functiondown
(state: State)
libs/langgraph/tests/test_pregel.py:3072
Methoddrain_reason
(self)
libs/langgraph/langgraph/runtime.py:103
Methoddrain_reason
(self)
libs/langgraph/langgraph/runtime.py:281
Methoddrain_requested
(self)
libs/langgraph/langgraph/runtime.py:99
Methoddrain_requested
(self)
libs/langgraph/langgraph/runtime.py:277
Functiondummy
(state)
libs/langgraph/tests/test_pregel.py:4728
Methoddumps_typed
(self, obj: Any)
libs/langgraph/tests/test_pregel_async.py:135
Methoddumps_typed
(self, obj: Any)
libs/checkpoint/langgraph/checkpoint/serde/base.py:24
Methoddumps_typed
Serialize an object to a tuple `(type, bytes)` and encrypt the bytes.
libs/checkpoint/langgraph/checkpoint/serde/encrypted.py:17
Methoddumps_typed
(self, obj: object)
libs/checkpoint/tests/test_encrypted.py:304
Methoddup
(_ctx, data)
libs/sdk-py/tests/test_encryption.py:65
Functiondurability
(request: pytest.FixtureRequest)
libs/langgraph/tests/conftest.py:56
Functiondynamic_model
(state, runtime: Runtime)
libs/prebuilt/tests/test_react_agent.py:1558
Functiondynamic_prompt
Generate a dynamic system message based on state.
libs/prebuilt/tests/test_react_agent.py:1697
Functiondynamic_tool_with_runtime
A dynamic tool that needs ToolRuntime injection.
libs/prebuilt/tests/test_tool_node.py:1923
Functione
(state: State)
libs/langgraph/tests/test_pregel.py:4692
Functionecho
(state: State, runtime: Runtime)
libs/langgraph/tests/test_runtime.py:1198
Functionecho
(state: MessagesState)
libs/langgraph/tests/test_subgraph_persistence.py:96
Functionecho
(state: MessagesState)
libs/langgraph/tests/test_subgraph_persistence_async.py:107
Functionecho
(state: State)
libs/sdk-py/integration/graph/factory_graph.py:59
Methodecho
echo.
libs/prebuilt/tests/test_tool_call_transformer.py:329
Functionedit
(state: JokeState)
libs/langgraph/tests/test_large_cases.py:5761
Functionedit
(state: JokeState)
libs/langgraph/tests/test_large_cases_async.py:3475
Functionedit
(state: JokeInput)
libs/langgraph/bench/fanout_to_subgraph.py:33
Methodembed_documents
Embed a list of documents.
libs/checkpoint/tests/embed_test_utils.py:46
Methodembed_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
Methodembed_query
Embed a query string.
libs/checkpoint/tests/embed_test_utils.py:50
← previousnext →3,001–3,100 of 7,100, ranked by callers