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
↓ 1 callers
Method
copy
(self, update: dict[str, Any])
libs/langgraph/langgraph/pregel/_read.py:201
↓ 1 callers
Method
copy
Return a copy of the channel.
libs/langgraph/langgraph/channels/named_barrier_value.py:39
↓ 1 callers
Function
copy_from_project_root
( relative_path: pathlib.PurePosixPath, destination: str )
libs/cli/langgraph_cli/uv_lock.py:935
↓ 1 callers
Method
create
Create a fresh checkpointer instance via the async generator.
libs/checkpoint-conformance/langgraph/checkpoint/conformance/initializer.py:33
↓ 1 callers
Method
create
( self, thread_id: None, assistant_id: str, *, input: Input | None = N
libs/sdk-py/langgraph_sdk/_async/runs.py:364
↓ 1 callers
Method
create_deployment
( self, *, name: str | None, source: SourceName, source_config: dict[s
libs/cli/langgraph_cli/host_backend.py:195
↓ 1 callers
Function
create_metadata_for_update_state_api
Advance ``counters_since_delta_snapshot`` for update_state on a non-fresh thread. Mirrors the per-superstep counter bump in ``_loop._put_checkpoi
libs/langgraph/langgraph/pregel/_checkpoint.py:159
↓ 1 callers
Function
create_new
Create a new LangGraph project at the specified PATH using the chosen TEMPLATE. Args: path: The path where the new project will be create
libs/cli/langgraph_cli/templates.py:128
↓ 1 callers
Function
create_task_in_config_context
Create an asyncio.Task that inherits `config` as the child runnable context. `asyncio.create_task` snapshots the current contextvars onto the new
libs/langgraph/langgraph/_internal/_runnable.py:143
↓ 1 callers
Function
debugger_compose
(*, port: int | None = None, base_url: str | None = None)
libs/cli/langgraph_cli/docker.py:145
↓ 1 callers
Function
decorator
( func: Callable[P, Awaitable[T]] | Callable[P, T], )
libs/langgraph/langgraph/func/__init__.py:234
↓ 1 callers
Method
decrypt
(self, ciphername: str, ciphertext: bytes)
libs/checkpoint/langgraph/checkpoint/serde/encrypted.py:71
↓ 1 callers
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/_async/threads.py:266
↓ 1 callers
Method
delete
Delete a run. Args: thread_id: The thread ID to delete. run_id: The run ID to delete. headers: Optional c
libs/sdk-py/langgraph_sdk/_async/runs.py:1156
↓ 1 callers
Method
delete
Delete a run. Args: thread_id: The thread ID to delete. run_id: The run ID to delete. headers: Optional c
libs/sdk-py/langgraph_sdk/_sync/runs.py:1137
↓ 1 callers
Method
delete_deployment
(self, deployment_id: str)
libs/cli/langgraph_cli/host_backend.py:248
↓ 1 callers
Function
delta_unwrap
(value: Any)
examples/delta-channel-dump/dump.py:130
↓ 1 callers
Function
dict_to_yaml
Convert a dictionary to a YAML string.
libs/cli/langgraph_cli/docker.py:169
↓ 1 callers
Function
double
Increment the counter.
libs/langgraph/tests/test_pregel_async.py:6762
↓ 1 callers
Function
double
Increment the counter.
libs/langgraph/tests/test_pregel.py:5718
↓ 1 callers
Function
drain
()
libs/sdk-py/tests/streaming/assert_transport_replays.py:60
↓ 1 callers
Function
drain
()
libs/sdk-py/tests/streaming/test_transport_http.py:408
↓ 1 callers
Function
drain_after_start
()
libs/langgraph/tests/test_runtime.py:660
↓ 1 callers
Function
echo_idle_timeout
(*, idle_timeout: int)
libs/langgraph/tests/test_retry.py:1531
↓ 1 callers
Function
echo_timeout
(*, timeout: int)
libs/langgraph/tests/test_retry.py:1546
↓ 1 callers
Method
embed_query
Embed a query string.
libs/checkpoint-sqlite/tests/test_store.py:74
↓ 1 callers
Method
embed_query
Embed a query string.
libs/checkpoint-postgres/tests/embed_test_utils.py:50
↓ 1 callers
Function
empty_events
()
libs/sdk-py/tests/streaming/test_lifecycle_watcher.py:191
↓ 1 callers
Method
encrypt
(self, plaintext: bytes)
libs/checkpoint/langgraph/checkpoint/serde/encrypted.py:66
↓ 1 callers
Function
ensure_message_ids
Coerce message-like write values to typed BaseMessages with stable IDs. Called in put_writes() before DeltaChannel writes are submitted to the
libs/langgraph/langgraph/pregel/_messages.py:426
↓ 1 callers
Method
ensure_not_requested
(self, deployment_id: str)
libs/cli/langgraph_cli/deploy.py:234
↓ 1 callers
Method
enter_lifespan
Enter the lifespan context (once per validation run).
libs/checkpoint-conformance/langgraph/checkpoint/conformance/initializer.py:46
↓ 1 callers
Method
extend_nonempty
(self, items: list[str])
libs/cli/langgraph_cli/uv_lock.py:81
↓ 1 callers
Method
fail
Called when the run ends with an error (sync lane). Override to fail StreamChannels, reject promises, or perform other teardown. Stre
libs/langgraph/langgraph/stream/_types.py:205
↓ 1 callers
Function
falsy_task
()
libs/langgraph/tests/test_pregel_async.py:6739
↓ 1 callers
Function
falsy_task
()
libs/langgraph/tests/test_pregel.py:5490
↓ 1 callers
Function
fanout_to_subgraph_sync
()
libs/langgraph/bench/fanout_to_subgraph.py:61
↓ 1 callers
Function
fetch_canonical_llms_txt
Return the published LangGraph index, or None if it cannot be used. Returning None leaves the caller on the committed docs/llms.txt, so a doc
docs/generate_redirects.py:97
↓ 1 callers
Method
finalize
(self)
libs/langgraph/tests/test_stream_subgraph_transformer.py:505
↓ 1 callers
Function
find_subgraph_pregel
(candidate: Runnable)
libs/langgraph/langgraph/pregel/_utils.py:45
↓ 1 callers
Method
finish
Notify the channel that the Pregel run is finishing. By default, no-op. A channel can use this method to modify its state, preventin
libs/langgraph/langgraph/channels/base.py:112
↓ 1 callers
Method
first_node
(state: DrainState)
libs/langgraph/tests/test_stream_events_v3.py:256
↓ 1 callers
Function
first_task_result
(history: list[StateSnapshot], node: str)
libs/langgraph/tests/test_pregel_async.py:9529
↓ 1 callers
Function
first_task_result
(history: list[StateSnapshot], node: str)
libs/langgraph/tests/test_pregel.py:9025
↓ 1 callers
Function
foo
(state: FunctionalState)
libs/langgraph/tests/test_pydantic.py:329
↓ 1 callers
Function
foo
()
libs/langgraph/tests/example_app/example_graph.py:63
↓ 1 callers
Function
format_conversation
(interview_state)
libs/cli/examples/graphs/storm.py:553
↓ 1 callers
Function
format_doc
(doc, max_length=1000)
libs/cli/examples/graphs/storm.py:154
↓ 1 callers
Function
format_docs
(docs)
libs/cli/examples/graphs/storm.py:161
↓ 1 callers
Method
from_checkpoint
Return a new identical channel, optionally initialized from a checkpoint. If the checkpoint contains complex data structures, they should be
libs/langgraph/langgraph/channels/base.py:61
↓ 1 callers
Method
from_instance
Detect capabilities from a checkpointer instance.
libs/checkpoint-conformance/langgraph/checkpoint/conformance/capabilities.py:74
↓ 1 callers
Method
from_langsmith_endpoint
(cls, endpoint: str)
libs/cli/langgraph_cli/host_backend.py:58
↓ 1 callers
Method
from_path
( cls, path: Runnable[Any, Hashable | list[Hashable]], path_map: dict[Hashable, str] |
libs/langgraph/langgraph/graph/_branch.py:89
↓ 1 callers
Function
gated
A coroutine that waits for a semaphore before running another coroutine.
libs/langgraph/langgraph/pregel/_executor.py:214
↓ 1 callers
Function
generate_redirects
()
docs/generate_redirects.py:149
↓ 1 callers
Function
generate_schema
Generate a JSON schema for the Config class using msgspec.
libs/cli/generate_schema.py:135
↓ 1 callers
Method
get
(self)
libs/langgraph/langgraph/channels/binop.py:146
↓ 1 callers
Method
get
Get the cached values for the given keys.
libs/checkpoint/langgraph/cache/memory/__init__.py:17
↓ 1 callers
Method
get
( self, namespace: tuple[str, ...], key: str, *, refresh_ttl: bool | N
libs/checkpoint/langgraph/store/base/batch.py:194
↓ 1 callers
Function
getGreeting
()
libs/cli/js-monorepo-example/libs/shared/src/index.ts:4
↓ 1 callers
Function
get_anonymized_params
( kwargs: dict[str, Any], *, cli_command: str )
libs/cli/langgraph_cli/analytics.py:29
↓ 1 callers
Function
get_asgi_transport
()
libs/sdk-py/langgraph_sdk/_shared/utilities.py:244
↓ 1 callers
Function
get_async_graph_callback_manager_for_config
Build an async graph lifecycle callback manager from a runnable config. This helper filters `config["callbacks"]` down to handlers that inherit
libs/langgraph/langgraph/callbacks.py:380
↓ 1 callers
Function
get_bolded_text
Get bolded text.
libs/langgraph/langgraph/pregel/debug.py:285
↓ 1 callers
Function
get_build_tools_to_uninstall
(config: Config)
libs/cli/langgraph_cli/config.py:1314
↓ 1 callers
Method
get_checkpoint
Load the right checkpoint for a subgraph during replay. On the first call for a given subgraph namespace, returns the latest checkpoi
libs/langgraph/langgraph/_internal/_replay.py:52
↓ 1 callers
Function
get_colored_text
Get colored text.
libs/langgraph/langgraph/pregel/debug.py:280
↓ 1 callers
Function
get_common_prefix
Get a common prefix for messages.
libs/cli/python-monorepo-example/libs/common/helpers.py:4
↓ 1 callers
Method
get_delta_channel_history
(self, *, config: Any, channels: Any)
libs/langgraph/tests/test_delta_channel_supersteps_bound.py:339
↓ 1 callers
Method
get_delta_channel_history
Fast-path override of `BaseCheckpointSaver.get_delta_channel_history`. Two-stage query, both stages cover ALL requested channels: *
libs/checkpoint-postgres/langgraph/checkpoint/postgres/__init__.py:444
↓ 1 callers
Function
get_delta_channels_from_all_channels
DeltaChannels to snapshot on the first update_state of a fresh thread: the ones it wrote, as the rest have no version and nothing to store.
libs/langgraph/langgraph/pregel/_checkpoint.py:100
↓ 1 callers
Function
get_distance_operator
Get the distance operator and score expression based on config.
libs/checkpoint-postgres/langgraph/store/postgres/base.py:1414
↓ 1 callers
Function
get_dummy_message
()
libs/cli/uv-examples/monorepo/libs/shared/src/shared/utils.py:1
↓ 1 callers
Function
get_dummy_message
Get a dummy message for testing.
libs/cli/python-monorepo-example/libs/shared/src/shared/utils.py:4
↓ 1 callers
Function
get_enhanced_type_hints
Attempt to extract default values and descriptions from provided type, used for config schema.
libs/langgraph/langgraph/_internal/_fields.py:125
↓ 1 callers
Function
get_history
()
libs/langgraph/tests/test_pregel_async.py:6012
↓ 1 callers
Method
get_listener
(self, listener_id: str)
libs/cli/langgraph_cli/host_backend.py:237
↓ 1 callers
Function
get_message_dict
(msg: BaseMessage | dict)
libs/langgraph/tests/test_remote_graph.py:1316
↓ 1 callers
Function
get_model
()
libs/langgraph/tests/example_app/example_graph.py:26
↓ 1 callers
Function
get_name
(action)
libs/langgraph/tests/test_state.py:117
↓ 1 callers
Method
get_next_version
(self, current: str | None, channel: None)
libs/checkpoint-postgres/langgraph/checkpoint/postgres/base.py:594
↓ 1 callers
Method
get_output_schema
( self, config: RunnableConfig | None = None )
libs/langgraph/langgraph/pregel/main.py:1105
↓ 1 callers
Function
get_pkg_manager_name
()
libs/cli/langgraph_cli/config.py:1246
↓ 1 callers
Method
get_revision
(self, deployment_id: str, revision_id: str)
libs/cli/langgraph_cli/host_backend.py:328
↓ 1 callers
Function
get_runnable_for_entrypoint
(func: Callable[..., Any])
libs/langgraph/langgraph/pregel/_call.py:175
↓ 1 callers
Function
get_runnable_for_task
(func: Callable[..., Any])
libs/langgraph/langgraph/pregel/_call.py:200
↓ 1 callers
Function
get_runtime
Get the runtime for the current graph run. Args: context_schema: Optional schema used for type hinting the return type of the runtime.
libs/langgraph/langgraph/runtime.py:296
↓ 1 callers
Method
get_state_history
Get the state history of a thread. This method calls `POST /threads/{thread_id}/history`. Args: config: A `RunnableConfi
libs/langgraph/langgraph/pregel/remote.py:508
↓ 1 callers
Method
get_static_writes
Used to get conditional writes a writer declares for static analysis.
libs/langgraph/langgraph/pregel/_write.py:137
↓ 1 callers
Method
get_subgraphs
Get the schemas of an assistant by ID. Args: assistant_id: The ID of the assistant to get the schema of. namespace: O
libs/sdk-py/langgraph_sdk/_async/assistants.py:276
↓ 1 callers
Function
get_sync_graph_callback_manager_for_config
Build a sync graph lifecycle callback manager from a runnable config. This helper filters `config["callbacks"]` down to handlers that inherit
libs/langgraph/langgraph/callbacks.py:363
↓ 1 callers
Function
get_tree
Build a tree structure from state history for comparison.
libs/langgraph/tests/test_pregel_async.py:8953
↓ 1 callers
Function
get_tree
Build a tree structure from state history for comparison.
libs/langgraph/tests/test_pregel.py:8482
↓ 1 callers
Method
get_tuple
(self, config: RunnableConfig)
libs/langgraph/tests/memory_assert.py:98
↓ 1 callers
Function
greet
()
libs/cli/examples/graphs_reqs_b/utils/greeter.py:1
↓ 1 callers
Method
init
Return the projection dict. Keys become entries in `run.extensions`. If the transformer has `_native = True`, keys are also set as di
libs/langgraph/langgraph/stream/_types.py:128
↓ 1 callers
Method
init
(self)
libs/langgraph/langgraph/stream/transformers.py:107
↓ 1 callers
Function
inner
()
libs/langgraph/tests/test_subgraph_detection.py:102
↓ 1 callers
Function
input_requested_event
( seq: int = 0, namespace: list[str] | None = None )
libs/sdk-py/tests/streaming/_events.py:97
↓ 1 callers
Method
invoke
( self, input: Input, config: RunnableConfig | None = None, **kwargs: Any )
libs/langgraph/langgraph/_internal/_runnable.py:674
← previous
next →
1,701–1,800 of 7,100, ranked by callers