MCPcopy Create free account

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

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

↓ 12 callersFunctionconfig_to_compose
( config_path: pathlib.Path, config: Config, base_image: str | None = None, api_version: str |
libs/cli/langgraph_cli/config.py:1735
↓ 12 callersMethodfail
Fail all transformers, projections, and the main log. StreamChannels discovered in transformer projections are auto-failed — transfor
libs/langgraph/langgraph/stream/_mux.py:326
↓ 12 callersMethodfeed
(self, event: Mapping[str, Any])
libs/sdk-py/langgraph_sdk/stream/decoders.py:216
↓ 12 callersFunctionfilter_covers
Whether `coverer` is a superset of `target`. Direct port of `client/stream/index.ts:filterCovers`. Depth coverage accounts for namespace-pref
libs/sdk-py/langgraph_sdk/stream/subscription.py:161
↓ 12 callersFunctionfind_tracked_packages
Return every tracked package found in deps as `<name>:<version>` entries. `config` is the absolute path to `langgraph.json`; dep paths in `co
libs/cli/langgraph_cli/dependency_tracking.py:98
↓ 12 callersFunctionget_checkpoint_id
Get checkpoint ID.
libs/checkpoint/langgraph/checkpoint/base/__init__.py:753
↓ 12 callersFunctionmake_async_client
Build an async ThreadsClient pointing at the integration API. Returns the client and the underlying httpx client so callers can close it. Typ
libs/sdk-py/integration/scripts/_common.py:34
↓ 12 callersFunctionmake_sync_client
Build a sync ThreadsClient pointing at the integration API.
libs/sdk-py/integration/scripts/_common.py:56
↓ 12 callersMethodmodel_dump
( self, **kwargs: Any, )
libs/sdk-py/langgraph_sdk/schema.py:962
↓ 12 callersFunctionpatch_config
Patch a config with new values. Args: config: The config to patch. callbacks: The callbacks to set. recursion_limit: The
libs/langgraph/langgraph/_internal/_config.py:194
↓ 12 callersMethodrun
( self, writer: _Writer, reader: Callable[[RunnableConfig], Any] | None = None, )
libs/langgraph/langgraph/graph/_branch.py:122
↓ 12 callersMethodsubscribe
Open a typed subscription against the shared SSE. Returns an iterator that yields raw `Event` dicts matching the given filter. Multip
libs/sdk-py/langgraph_sdk/_sync/stream.py:1267
↓ 12 callersFunctionuuid6
r"""UUID version 6 is a field-compatible version of UUIDv1, reordered for improved DB locality. It is expected that UUIDv6 will primarily be u
libs/checkpoint/langgraph/checkpoint/base/id.py:79
↓ 12 callersFunctionwarn_non_wolfi_distro
Show warning if image_distro is not set to 'wolfi'. When ``emit`` is provided, each warning line is sent through it (used by callers that nee
libs/cli/langgraph_cli/util.py:12
↓ 11 callersFunction_AnyIdAIMessage
Create ai message with an any id field.
libs/langgraph/tests/messages.py:25
↓ 11 callersFunction_build_graph
Compile a minimal DeltaChannel-backed `messages` graph. `two_nodes=True` adds a second writer node so `bulk_update_state` can route distinct
libs/langgraph/tests/test_delta_channel_update_state.py:35
↓ 11 callersFunction_config
()
libs/langgraph/tests/test_interrupt_state.py:46
↓ 11 callersFunction_cron_response
Return a mock Cron object response.
libs/sdk-py/tests/test_crons_client.py:314
↓ 11 callersFunction_interrupt_by_value
(snapshot: Any, value: str)
libs/langgraph/tests/test_interrupt_state.py:85
↓ 11 callersFunction_make_sync_adapter
(*, run_start_returns=None, run_start_raises=None)
libs/langgraph/tests/test_remote_graph_v3.py:22
↓ 11 callersMethod_reconcile_stream
(self, candidate_filter: SubscribeParams)
libs/sdk-py/langgraph_sdk/_sync/stream.py:1222
↓ 11 callersFunction_resolve_pushed_image_digest
Return ``{registry}/{repo}@sha256:<hex>`` for a freshly-pushed image. Reads ``RepoDigests`` via ``docker image inspect`` — the local daemon r
libs/cli/langgraph_cli/deploy.py:1105
↓ 11 callersMethod_write
(self, obj: dict)
libs/cli/langgraph_cli/deploy.py:453
↓ 11 callersMethodaget
Asynchronously get the cached values for the given keys.
libs/checkpoint/langgraph/cache/base/__init__.py:29
↓ 11 callersMethodapush
Dispatch an event on the async lane. Awaits each transformer's `aprocess` in registration order before appending to the main log. A s
libs/langgraph/langgraph/stream/_mux.py:351
↓ 11 callersMethodbulk_update_state
Apply updates to the graph state in bulk. Requires a checkpointer to be set. Args: config: The config to apply the updates to.
libs/langgraph/langgraph/pregel/main.py:1615
↓ 11 callersFunctioncompose
Create a docker compose file as a string.
libs/cli/langgraph_cli/docker.py:304
↓ 11 callersFunctioncompute_union_filter
Aggregate a set of subscription filters into one covering filter. Direct port of `client/stream/index.ts:#computeUnionFilter`. - Channels ar
libs/sdk-py/langgraph_sdk/stream/subscription.py:107
↓ 11 callersFunctioncreate_checkpoint
Create a checkpoint for the given channels.
libs/checkpoint/langgraph/checkpoint/base/__init__.py:830
↓ 11 callersMethodensure_fanout_running
(self)
libs/sdk-py/langgraph_sdk/stream/sync_controller.py:147
↓ 11 callersMethodfeed
(self, event: Mapping[str, Any])
libs/sdk-py/langgraph_sdk/stream/decoders.py:276
↓ 11 callersFunctionget_stream_writer
Access LangGraph [`StreamWriter`][langgraph.types.StreamWriter] from inside a graph node or entrypoint task at runtime. Can be called from inside
libs/langgraph/langgraph/config.py:126
↓ 11 callersFunctionnormalize_name
Sanitize a deployment/directory name into a valid deployment name. LangSmith Deployment names only allow lowercase alphanumeric characters an
libs/cli/langgraph_cli/deploy.py:529
↓ 11 callersMethodput
Send a `PUT` request.
libs/sdk-py/langgraph_sdk/_async/http.py:79
↓ 11 callersMethodregister_subscription
(self, params: SubscribeParams)
libs/sdk-py/langgraph_sdk/stream/sync_controller.py:95
↓ 11 callersFunctionreplace
(state, writes)
libs/langgraph/tests/test_channels.py:792
↓ 11 callersMethodreplay_writes
Apply ancestor writes oldest-to-newest via a single reducer call. If any write is an Overwrite, the last one in the sequence acts as
libs/langgraph/langgraph/channels/delta.py:139
↓ 11 callersMethodrequest_drain
(self, reason: str = "shutdown")
libs/langgraph/langgraph/runtime.py:95
↓ 11 callersMethodsearch
Get a list of cron jobs. Args: assistant_id: The assistant ID or graph name to search for. thread_id: the thread ID t
libs/sdk-py/langgraph_sdk/_async/cron.py:421
↓ 11 callersMethodset_conditional_entry_point
Sets a conditional entry point in the graph. Args: path: The callable that determines the next node or nodes. If
libs/langgraph/langgraph/graph/state.py:1092
↓ 11 callersMethodstop_ttl_sweeper
Stop the TTL sweeper thread if it's running. Args: timeout: Maximum time to wait for the thread to stop, in seconds.
libs/checkpoint-postgres/langgraph/store/postgres/base.py:908
↓ 11 callersMethodstream
( self, input: dict[str, Any] | Any, config: RunnableConfig | None = None, *,
libs/langgraph/langgraph/pregel/remote.py:724
↓ 11 callersMethodsync
Write dict to disk
libs/checkpoint/langgraph/checkpoint/memory/__init__.py:651
↓ 11 callersMethodwith_config
Create a copy of the Pregel object with an updated config.
libs/langgraph/langgraph/pregel/main.py:991
↓ 10 callersFunction_build_error_graph
()
libs/langgraph/tests/test_pregel_stream_events_v3.py:96
↓ 10 callersFunction_build_interrupt_graph
()
libs/langgraph/tests/test_graph_callbacks.py:95
↓ 10 callersFunction_build_root_mux
(*, scope: tuple[str, ...] = ())
libs/langgraph/tests/test_stream_subgraph_transformer.py:146
↓ 10 callersFunction_build_two_channel_graph
Graph with two delta channels A and B. The node only writes to channel A; B is never written by the node. `n_loops` controls how many superst
libs/langgraph/tests/test_delta_channel_supersteps_bound.py:35
↓ 10 callersFunction_interrupt_values
(interrupts: Any)
libs/langgraph/tests/test_interrupt_state.py:93
↓ 10 callersFunction_leaf
Return a compiled graph that reports itself as `tag`.
libs/langgraph/tests/test_subgraph_detection.py:26
↓ 10 callersFunction_lifecycle
Produce a valid protocol event lifecycle: start, delta, finish.
libs/langgraph/tests/test_stream_messages_transformer.py:124
↓ 10 callersFunction_setup_list_data
Populate saver with test data for list tests. Returns lookup info.
libs/checkpoint-conformance/langgraph/checkpoint/conformance/spec/test_list.py:19
↓ 10 callersFunction_tool_event
( event: str, tool_call_id: str, *, tool_name: str = "", input: dict[str, Any] | None = No
libs/prebuilt/tests/test_tool_call_transformer.py:38
↓ 10 callersMethodaclose
Finalize on the async lane. Awaits every task started via `StreamTransformer.schedule()` across all transformers, then calls `afinali
libs/langgraph/langgraph/stream/_mux.py:380
↓ 10 callersMethodaput
Asynchronously store or update an item in the store. Args: namespace: Hierarchical path for the item, represented as a tuple of s
libs/checkpoint/langgraph/store/base/__init__.py:1109
↓ 10 callersMethodcheckpoint
(self)
libs/langgraph/langgraph/channels/topic.py:63
↓ 10 callersFunctioncoerce_timeout_policy
Normalize a timeout value to positive-second policy fields.
libs/langgraph/langgraph/_internal/_timeout.py:14
↓ 10 callersFunctioncreate_vector_store
Create an AsyncSqliteStore with vector search capabilities.
libs/checkpoint-sqlite/tests/test_async_store.py:50
↓ 10 callersMethodecho
echo.
libs/langgraph/tests/test_tool_stream_handler.py:79
↓ 10 callersMethodfail
(self, err: BaseException)
libs/langgraph/tests/test_pregel_stream_events_v3.py:1136
↓ 10 callersMethodfeed
(self, event: Mapping[str, Any])
libs/sdk-py/langgraph_sdk/stream/decoders.py:162
↓ 10 callersMethodflush
(self)
libs/sdk-py/langgraph_sdk/sse.py:68
↓ 10 callersMethodget_tree
( self, *, xray: int | bool = False, headers: Mapping[str, str] | None = None,
libs/sdk-py/langgraph_sdk/_async/stream.py:139
↓ 10 callersMethodlist
List checkpoints from the in-memory storage. This method retrieves a list of checkpoint tuples from the in-memory storage based on th
libs/checkpoint/langgraph/checkpoint/memory/__init__.py:312
↓ 10 callersMethodloads_typed
(self, data: tuple[str, bytes])
libs/checkpoint/tests/test_encrypted.py:329
↓ 10 callersFunctionmap_debug_tasks
Produce "task" events for stream_mode=debug.
libs/langgraph/langgraph/pregel/debug.py:44
↓ 10 callersMethodreset
(self)
libs/langgraph/tests/test_pregel.py:911
↓ 10 callersMethodsweep_ttl
Delete expired store items based on TTL. Returns: int: The number of deleted items.
libs/checkpoint-sqlite/langgraph/store/sqlite/base.py:1129
↓ 10 callersMethodupdate
(self, values: Sequence[Update])
libs/checkpoint/langgraph/checkpoint/serde/types.py:51
↓ 10 callersMethodverbs
(self)
libs/cli/tests/unit_tests/cli/test_deploy_command.py:192
↓ 9 callersMethod__init__
(self, scope: tuple[str, ...] = ())
libs/langgraph/langgraph/stream/transformers.py:984
↓ 9 callersMethod__init__
(self)
libs/langgraph/tests/test_pregel_stream_events_v3.py:1531
↓ 9 callersFunction_apply_strict_msgpack
(checkpointer)
libs/langgraph/tests/conftest_checkpointer.py:34
↓ 9 callersFunction_assert_fork_is_clean
(state: StateSnapshot, abandoned: str)
libs/langgraph/tests/test_delta_channel_fork.py:102
↓ 9 callersFunction_build_graph
( checkpointer: InMemorySaver, *, freq: int = 1000, )
libs/langgraph/tests/test_delta_channel_exit_mode.py:43
↓ 9 callersFunction_create_host_backend_client
( host_url: str | None, api_key: str | None, env_vars: dict[str, str] | None = None, )
libs/cli/langgraph_cli/deploy.py:1792
↓ 9 callersFunction_cron_payload
Return a mock cron response payload.
libs/sdk-py/tests/test_crons_client.py:19
↓ 9 callersFunction_drain_subgraphs
(mux: StreamMux)
libs/langgraph/tests/test_stream_subgraph_transformer.py:167
↓ 9 callersFunction_drive
(graph: Any, config: dict, tag: str, n: int)
libs/langgraph/tests/test_delta_channel_migration.py:111
↓ 9 callersFunction_make_async_adapter
(*, run_start_returns=None, run_start_raises=None)
libs/langgraph/tests/test_remote_graph_v3.py:269
↓ 9 callersFunction_mux
()
libs/prebuilt/tests/test_tool_call_transformer.py:75
↓ 9 callersFunction_parse_env_from_config
Resolve env vars from langgraph.json 'env' field or a .env fallback.
libs/cli/langgraph_cli/deploy.py:712
↓ 9 callersFunction_should_retry_on
Check if the given exception should be retried based on the retry policy.
libs/langgraph/langgraph/pregel/_retry.py:841
↓ 9 callersFunction_sse_to_v2_dict
Convert an SSE event+data pair into a v2 stream part dict. Returns None for ``end`` events (signals end of stream).
libs/sdk-py/langgraph_sdk/_shared/utilities.py:115
↓ 9 callersFunction_tar_filter
Strip symlinks, hardlinks, and traversal paths from archive.
libs/cli/langgraph_cli/archive.py:19
↓ 9 callersMethoddone
Remove the task from the tasks dict when it's done.
libs/langgraph/langgraph/pregel/_executor.py:77
↓ 9 callersMethoddumps_typed
(self, obj: object)
libs/checkpoint/tests/test_encrypted.py:326
↓ 9 callersFunctionempty_checkpoint
()
libs/langgraph/langgraph/pregel/_checkpoint.py:41
↓ 9 callersMethoderror
()
libs/sdk-py/langgraph_sdk/stream/transport/sync_http.py:118
↓ 9 callersMethodget
(self)
libs/checkpoint/langgraph/checkpoint/serde/types.py:53
↓ 9 callersFunctionget_config
()
libs/langgraph/langgraph/config.py:17
↓ 9 callersMethodon_chain_end
( self, response: Any, *, run_id: UUID, parent_run_id: UUID | None = N
libs/langgraph/langgraph/pregel/_messages.py:223
↓ 9 callersMethodsend_command
POST a command. Returns the response JSON, or `None` for 202/204. Raises: httpx.HTTPStatusError: server returned >= 400.
libs/sdk-py/langgraph_sdk/stream/transport/http.py:64
↓ 9 callersMethodstream_events
Stream events from this remote graph. For `version="v3"`, returns a `_RemoteGraphRunStream` whose surface matches the local `GraphRun
libs/langgraph/langgraph/pregel/remote.py:1033
↓ 9 callersFunctionsubp_exec
( cmd: str, *args: str, input: str | None = None, wait: float | None = None, verbose: bool
libs/cli/langgraph_cli/exec.py:37
↓ 9 callersFunctiontask
( __func_or_none__: None = None, *, name: str | None = None, retry_policy: RetryPolicy | Seque
libs/langgraph/langgraph/func/__init__.py:110
↓ 8 callersFunction_AnyIdHumanMessage
Create a human message with an any id field.
libs/prebuilt/tests/messages.py:17
↓ 8 callersFunction_AnyIdToolMessage
Create a tool message with an any id field.
libs/prebuilt/tests/messages.py:24
↓ 8 callersFunction_assert_v2_shape
Assert a v2 stream part has the required keys and types.
libs/sdk-py/tests/test_client_stream.py:79
↓ 8 callersFunction_build_parallel
Build a graph where nodes `a` and `b` start in parallel and both ask questions. `a` asks `a_questions` questions in a row. `a_returns` controls w
libs/langgraph/tests/test_interrupt_state.py:50
← previousnext →201–300 of 7,100, ranked by callers