Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/langchain-ai/langgraph
/ functions
Functions
6,698 in github.com/langchain-ai/langgraph
⨍
Functions
6,698
◇
Types & classes
1,100
↳
Endpoints
27
↓ 1 callers
Function
_aiter
()
libs/sdk-py/tests/streaming/test_controller.py:174
↓ 1 callers
Function
_aiter
()
libs/sdk-py/tests/streaming/test_shared_stream.py:230
↓ 1 callers
Method
_aiter
(self)
libs/langgraph/langgraph/pregel/_remote_run_stream.py:71
↓ 1 callers
Function
_already_seen
(typ: Any, seen: set[Any], seen_ids: set[int])
libs/langgraph/langgraph/_internal/_serde.py:202
↓ 1 callers
Method
_any_base_passed
(self)
libs/checkpoint-conformance/langgraph/checkpoint/conformance/report.py:134
↓ 1 callers
Function
_api_version_upper_bound
(version: _ParsedApiVersion)
libs/cli/langgraph_cli/config.py:198
↓ 1 callers
Function
_apick_non_root
(saver: Any, config: RunnableConfig)
libs/checkpoint-sqlite/tests/test_get_delta_channel_history.py:96
↓ 1 callers
Function
_appears_in_extras
(content: str, pkg: str)
libs/cli/langgraph_cli/dependency_tracking.py:38
↓ 1 callers
Function
_apply
(target: Callable)
libs/cli/langgraph_cli/deploy.py:1441
↓ 1 callers
Method
_apply_lifecycle_event
Update `interrupted` / `interrupts` / `_run_done` from a lifecycle or input event.
libs/sdk-py/langgraph_sdk/_async/stream.py:1935
↓ 1 callers
Function
_apply_operator
Apply a comparison operator, matching PostgreSQL's JSONB behavior.
libs/checkpoint/langgraph/store/memory/__init__.py:577
↓ 1 callers
Method
_apply_tasks_result
(self, namespace: list[str], data: dict[str, Any])
libs/sdk-py/langgraph_sdk/stream/decoders.py:319
↓ 1 callers
Method
_apregel_stream_v3
Internal v3 async streaming implementation. Public entry: astream_events(version='v3'). Extra keyword arguments are forwarded to the underlyi
libs/langgraph/langgraph/pregel/main.py:3561
↓ 1 callers
Function
_arm
Force projection channels to accept pushes (skip lazy-subscribe gate). `StreamChannel.push` only appends to the local buffer when a subscribe
libs/langgraph/tests/test_stream_lifecycle_transformer.py:88
↓ 1 callers
Function
_arm_recursive
Arm `mux` and every mini-mux currently held by SubgraphTransformer handles. Mini-muxes are created during `mux.push(...)` when a new direct c
libs/langgraph/tests/test_stream_subgraph_transformer.py:131
↓ 1 callers
Function
_arow_exists
( store: AsyncPostgresStore, ns: tuple[str, ...], key: str )
libs/checkpoint-postgres/tests/test_async_store.py:756
↓ 1 callers
Method
_arun_one
Execute single tool call asynchronously with awrap_tool_call wrapper if configured. Args: call: Tool call dict. input
libs/prebuilt/langgraph/prebuilt/tool_node.py:1161
↓ 1 callers
Function
_arun_with_timeout
( task: PregelExecutableTask, config: RunnableConfig, timeout: _ResolvedTimeout, attempt_ctx:
libs/langgraph/langgraph/pregel/_retry.py:422
↓ 1 callers
Function
_astored_expires_at
(store: AsyncPostgresStore, ns: tuple[str, ...], key: str)
libs/checkpoint-postgres/tests/test_async_store.py:767
↓ 1 callers
Function
_async_crons
(raw)
libs/sdk-py/tests/integration/test_crons.py:23
↓ 1 callers
Method
_async_cursor
(self)
libs/langgraph/langgraph/stream/stream_channel.py:225
↓ 1 callers
Function
_async_runs
(raw)
libs/sdk-py/tests/integration/test_factory_graph.py:26
↓ 1 callers
Function
_base_saver
Fixture for regular connection mode testing.
libs/checkpoint-postgres/tests/test_sync.py:79
↓ 1 callers
Function
_base_saver
Fixture for regular connection mode testing.
libs/checkpoint-postgres/tests/test_async.py:89
↓ 1 callers
Method
_batch_get_ops
( self, get_ops: Sequence[tuple[int, GetOp]], results: list[Result], cur: sqli
libs/checkpoint-sqlite/langgraph/store/sqlite/base.py:1277
↓ 1 callers
Method
_batch_get_ops
Process batch GET operations. Args: get_ops: Sequence of GET operations. results: List to store results in.
libs/checkpoint-sqlite/langgraph/store/sqlite/aio.py:403
↓ 1 callers
Method
_batch_get_ops
( self, get_ops: Sequence[tuple[int, GetOp]], results: list[Result], cur: Curs
libs/checkpoint-postgres/langgraph/store/postgres/base.py:1015
↓ 1 callers
Method
_batch_get_ops
( self, get_ops: Sequence[tuple[int, GetOp]], results: list[Result], cur: Asyn
libs/checkpoint-postgres/langgraph/store/postgres/aio.py:447
↓ 1 callers
Method
_batch_list_namespaces_ops
( self, list_ops: Sequence[tuple[int, ListNamespacesOp]], results: list[Result],
libs/checkpoint-sqlite/langgraph/store/sqlite/base.py:1464
↓ 1 callers
Method
_batch_list_namespaces_ops
Process batch LIST NAMESPACES operations. Args: list_ops: Sequence of LIST NAMESPACES operations. results: List to st
libs/checkpoint-sqlite/langgraph/store/sqlite/aio.py:614
↓ 1 callers
Method
_batch_list_namespaces_ops
( self, list_ops: Sequence[tuple[int, ListNamespacesOp]], results: list[Result],
libs/checkpoint-postgres/langgraph/store/postgres/base.py:1100
↓ 1 callers
Method
_batch_list_namespaces_ops
( self, list_ops: Sequence[tuple[int, ListNamespacesOp]], results: list[Result],
libs/checkpoint-postgres/langgraph/store/postgres/aio.py:530
↓ 1 callers
Method
_batch_put_ops
( self, put_ops: Sequence[tuple[int, PutOp]], cur: sqlite3.Cursor, )
libs/checkpoint-sqlite/langgraph/store/sqlite/base.py:1333
↓ 1 callers
Method
_batch_put_ops
Process batch PUT operations. Args: put_ops: Sequence of PUT operations. cur: Database cursor.
libs/checkpoint-sqlite/langgraph/store/sqlite/aio.py:466
↓ 1 callers
Method
_batch_put_ops
( self, put_ops: Sequence[tuple[int, PutOp]], cur: Cursor[DictRow], )
libs/checkpoint-postgres/langgraph/store/postgres/base.py:1034
↓ 1 callers
Method
_batch_put_ops
( self, put_ops: Sequence[tuple[int, PutOp]], cur: AsyncCursor[DictRow], )
libs/checkpoint-postgres/langgraph/store/postgres/aio.py:466
↓ 1 callers
Method
_batch_search_ops
( self, search_ops: Sequence[tuple[int, SearchOp]], results: list[Result], cur
libs/checkpoint-sqlite/langgraph/store/sqlite/base.py:1366
↓ 1 callers
Method
_batch_search_ops
Process batch SEARCH operations. Args: search_ops: Sequence of SEARCH operations. results: List to store results in.
libs/checkpoint-sqlite/langgraph/store/sqlite/aio.py:506
↓ 1 callers
Method
_batch_search_ops
( self, search_ops: Sequence[tuple[int, SearchOp]], results: list[Result], cur
libs/checkpoint-postgres/langgraph/store/postgres/base.py:1070
↓ 1 callers
Method
_batch_search_ops
( self, search_ops: Sequence[tuple[int, SearchOp]], results: list[Result], cur
libs/checkpoint-postgres/langgraph/store/postgres/aio.py:501
↓ 1 callers
Method
_bind
Bind the deltas log to sync or async iteration. Called by `ToolCallTransformer` when constructing this handle so the log matches the
libs/prebuilt/langgraph/prebuilt/_tool_call_stream.py:69
↓ 1 callers
Method
_bind_and_wire
Bind and optionally wire StreamChannel instances in a projection. All StreamChannels are bound and tracked. Channels with a name are
libs/langgraph/langgraph/stream/_mux.py:464
↓ 1 callers
Method
_build_app
(self)
libs/sdk-py/tests/streaming/_fake_server.py:151
↓ 1 callers
Function
_build_conn_started_check
()
libs/checkpoint-sqlite/langgraph/checkpoint/sqlite/aio.py:726
↓ 1 callers
Function
_build_dockerignore_negation_hints
Summarize which ignored directories must still be traversed. Most negations only require walking a small, concrete chain of parent directorie
libs/cli/langgraph_cli/_ignore.py:65
↓ 1 callers
Function
_calculate_relative_workdir
Calculate the relative path from build context to langgraph.json directory.
libs/cli/langgraph_cli/config.py:1603
↓ 1 callers
Function
_caller_async
(tool_name: str, tool_args: dict[str, Any], tc_id: str = "tc1")
libs/langgraph/tests/test_tool_stream_handler.py:43
↓ 1 callers
Method
_can_return_existing_state_immediately
Return `True` if we can try the REST state before waiting on the lifecycle. True only when the caller passed an explicit `thread_id` (not a m
libs/sdk-py/langgraph_sdk/_async/stream.py:1910
↓ 1 callers
Method
_can_return_existing_state_immediately
Return `True` if we can try the REST state before waiting on the lifecycle.
libs/sdk-py/langgraph_sdk/_sync/stream.py:1560
↓ 1 callers
Function
_cancel_after_first_event
Wait for the run id, briefly let events flow, then cancel.
libs/sdk-py/integration/scripts/test_cancel.py:33
↓ 1 callers
Function
_cancel_after_first_event
( runs_client: Any, thread_id: str, run_id_future: asyncio.Future[str], )
libs/sdk-py/tests/integration/test_cancel.py:25
↓ 1 callers
Function
_chain_future
Chain two futures so that when one completes, so does the other. The result (or exception) of source will be copied to destination. If destin
libs/langgraph/langgraph/_internal/_future.py:82
↓ 1 callers
Function
_check_allowed
Check if type is allowed. Returns True if allowed, False if blocked.
libs/checkpoint/langgraph/checkpoint/serde/jsonplus.py:559
↓ 1 callers
Method
_check_allowed_json_modules
(self, value: dict[str, Any])
libs/checkpoint/langgraph/checkpoint/serde/jsonplus.py:223
↓ 1 callers
Function
_check_allowed_method
Check if a method invocation is allowed.
libs/checkpoint/langgraph/checkpoint/serde/jsonplus.py:611
↓ 1 callers
Function
_check_numpy
()
libs/checkpoint/langgraph/store/memory/__init__.py:480
↓ 1 callers
Function
_checkpointer_memory_migrate_sends
()
libs/langgraph/tests/conftest_checkpointer.py:53
↓ 1 callers
Function
_checkpointer_postgres
()
libs/langgraph/tests/conftest_checkpointer.py:81
↓ 1 callers
Function
_checkpointer_postgres
()
libs/prebuilt/tests/conftest_checkpointer.py:28
↓ 1 callers
Function
_checkpointer_postgres_aio
()
libs/langgraph/tests/conftest_checkpointer.py:152
↓ 1 callers
Function
_checkpointer_postgres_aio
()
libs/prebuilt/tests/conftest_checkpointer.py:95
↓ 1 callers
Function
_checkpointer_postgres_aio_pipe
()
libs/langgraph/tests/conftest_checkpointer.py:176
↓ 1 callers
Function
_checkpointer_postgres_aio_pipe
()
libs/prebuilt/tests/conftest_checkpointer.py:118
↓ 1 callers
Function
_checkpointer_postgres_aio_pool
()
libs/langgraph/tests/conftest_checkpointer.py:203
↓ 1 callers
Function
_checkpointer_postgres_aio_pool
()
libs/prebuilt/tests/conftest_checkpointer.py:144
↓ 1 callers
Function
_checkpointer_postgres_pipe
()
libs/langgraph/tests/conftest_checkpointer.py:101
↓ 1 callers
Function
_checkpointer_postgres_pipe
()
libs/prebuilt/tests/conftest_checkpointer.py:47
↓ 1 callers
Function
_checkpointer_postgres_pool
()
libs/langgraph/tests/conftest_checkpointer.py:124
↓ 1 callers
Function
_checkpointer_postgres_pool
()
libs/prebuilt/tests/conftest_checkpointer.py:69
↓ 1 callers
Function
_checkpointer_sqlite
()
libs/langgraph/tests/conftest_checkpointer.py:60
↓ 1 callers
Function
_checkpointer_sqlite
()
libs/prebuilt/tests/conftest_checkpointer.py:22
↓ 1 callers
Function
_checkpointer_sqlite_aes
()
libs/langgraph/tests/conftest_checkpointer.py:67
↓ 1 callers
Function
_checkpointer_sqlite_aio
()
libs/langgraph/tests/conftest_checkpointer.py:145
↓ 1 callers
Function
_checkpointer_sqlite_aio
()
libs/prebuilt/tests/conftest_checkpointer.py:89
↓ 1 callers
Function
_checkpointers
()
libs/langgraph/tests/test_delta_channel_benchmark.py:219
↓ 1 callers
Function
_choose_template
Presents a list of templates to the user and prompts them to select one. Returns: str: The URL of the selected template.
libs/cli/langgraph_cli/templates.py:43
↓ 1 callers
Function
_close_after
Close a handle, optionally after a brief delay. Used to detach closing the old stream from the synchronous rotation step so the new stream can
libs/sdk-py/langgraph_sdk/_async/stream.py:269
↓ 1 callers
Function
_coerce_checkpoint_values
Coerce `values` dicts inside checkpoint or debug payloads in-place. Skips the initial checkpoint (where next contains ``__start__``) because
libs/langgraph/langgraph/pregel/main.py:4246
↓ 1 callers
Function
_coerce_timeout_seconds
( value: float | timedelta | None, *, field: str )
libs/langgraph/langgraph/types.py:438
↓ 1 callers
Function
_collect_from_type
( typ: Any, allowlist: set[tuple[str, ...]], seen: set[Any], seen_ids: set[int], )
libs/langgraph/langgraph/_internal/_serde.py:126
↓ 1 callers
Function
_compare_values
Compare values in a JSONB-like way, handling nested objects.
libs/checkpoint/langgraph/store/memory/__init__.py:551
↓ 1 callers
Method
_complete_open_handles
(self)
libs/langgraph/langgraph/stream/transformers.py:848
↓ 1 callers
Method
_compute_current_union
( self, extra: SubscribeParams | None = None )
libs/sdk-py/langgraph_sdk/_async/stream.py:1748
↓ 1 callers
Method
_compute_current_union
( self, extra: SubscribeParams | None = None )
libs/sdk-py/langgraph_sdk/stream/sync_controller.py:221
↓ 1 callers
Method
_compute_current_union
( self, extra: SubscribeParams | None = None )
libs/sdk-py/langgraph_sdk/stream/controller.py:353
↓ 1 callers
Function
_consume_aiter
Consume an async iterator.
libs/langgraph/langgraph/_internal/_runnable.py:928
↓ 1 callers
Function
_container_root_for_uv_lock_package
( project_root: pathlib.Path, package_root: pathlib.Path )
libs/cli/langgraph_cli/uv_lock.py:438
↓ 1 callers
Function
_container_workspace_root
()
libs/cli/langgraph_cli/uv_lock.py:434
↓ 1 callers
Function
_control_static
( ends: tuple[str, ...] | dict[str, str], )
libs/langgraph/langgraph/graph/state.py:1764
↓ 1 callers
Function
_cookie_header
Build a `Cookie` header for the WebSocket handshake. Why pass `path`: `dict(client.cookies)` flattens the entire jar without domain/path filt
libs/sdk-py/langgraph_sdk/stream/transport/ws.py:209
↓ 1 callers
Function
_cookie_header
Build a `Cookie` header for the WebSocket handshake. Why pass `path`: `dict(client.cookies)` flattens the entire jar without domain/path filt
libs/sdk-py/langgraph_sdk/stream/transport/sync_ws.py:139
↓ 1 callers
Function
_copy_future_state
Internal helper to copy state from another Future. The other Future may be a concurrent.futures.Future.
libs/langgraph/langgraph/_internal/_future.py:61
↓ 1 callers
Function
_copy_mapping_value
(value: Any)
libs/langgraph/langgraph/_internal/_config.py:83
↓ 1 callers
Method
_copy_run
(self, run: Run)
libs/langgraph/tests/fake_tracer.py:46
↓ 1 callers
Function
_cosine_similarity
Compute cosine similarity between a vector X and a matrix Y. Lazy import numpy for efficiency.
libs/checkpoint-sqlite/tests/test_store.py:773
↓ 1 callers
Function
_cosine_similarity
Compute cosine similarity between a vector X and a matrix Y. Lazy import numpy for efficiency.
libs/checkpoint-postgres/tests/test_store.py:874
↓ 1 callers
Function
_cosine_similarity
Compute cosine similarity between a vector X and a matrix Y. Lazy import numpy for efficiency.
libs/checkpoint/langgraph/store/memory/__init__.py:493
↓ 1 callers
Function
_create_deployment
Create a deployment and return its ID and next step number.
libs/cli/langgraph_cli/deploy.py:633
↓ 1 callers
Function
_create_mock_runtime
(store: BaseStore | None = None)
libs/prebuilt/tests/test_on_tool_call.py:22
↓ 1 callers
Function
_create_mock_runtime
Create a mock Runtime object for testing ToolNode outside of graph context. This helper is needed because ToolNode._func expects a Runtime parame
libs/prebuilt/tests/test_tool_node_interceptor_unregistered.py:19
← previous
next →
1,101–1,200 of 6,698, ranked by callers