MCPcopy Create free account

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

Functions6,698 in github.com/langchain-ai/langgraph

↓ 6 callersFunctionformat_log_entry
Format a single log entry for display.
libs/cli/langgraph_cli/deploy.py:477
↓ 6 callersMethodget
Get a thread by ID. Args: thread_id: The ID of the thread to get. include: Additional fields to include in the respon
libs/sdk-py/langgraph_sdk/_async/threads.py:48
↓ 6 callersFunctionget_async_callback_manager_for_config
Get an async callback manager for a config. Args: config: The config. Returns: AsyncCallbackManager: The async callback mana
libs/langgraph/langgraph/_internal/_config.py:275
↓ 6 callersFunctionget_callback_manager_for_config
Get a callback manager for a config. Args: config: The config. Returns: CallbackManager: The callback manager.
libs/langgraph/langgraph/_internal/_config.py:236
↓ 6 callersMethodget_subgraphs
Get the subgraphs of the graph. Args: namespace: The namespace to filter the subgraphs by. recurse: Whether to recurs
libs/langgraph/langgraph/pregel/main.py:1076
↓ 6 callersMethodheartbeat
(self, status: str, elapsed_seconds: float)
libs/cli/langgraph_cli/deploy.py:248
↓ 6 callersMethodinit
(self)
libs/langgraph/langgraph/stream/transformers.py:213
↓ 6 callersFunctionis_async_callable
Check if a function is async.
libs/langgraph/langgraph/_internal/_runnable.py:507
↓ 6 callersFunctionlevel_fg
Return click color for a log level.
libs/cli/langgraph_cli/deploy.py:489
↓ 6 callersFunctionmake_response
( status: int, *, json_body: dict | None = None, text_body: str | None = None, headers: di
libs/sdk-py/tests/test_errors.py:23
↓ 6 callersMethodmerge
Merge two runtimes together. If a value is not provided in the other runtime, the value from the current runtime is used.
libs/langgraph/langgraph/runtime.py:240
↓ 6 callersFunctionnormalize_image_tag
Validate and return a Docker image tag. Tags may only contain [A-Za-z0-9_.-]. Defaults to "latest" when empty.
libs/cli/langgraph_cli/deploy.py:355
↓ 6 callersMethodopen_event_stream
(self, params: dict[str, Any])
libs/sdk-py/langgraph_sdk/stream/transport/sync_ws.py:69
↓ 6 callersFunctionprepare_args_and_stdin
( *, capabilities: DockerCapabilities, config_path: pathlib.Path, config: Config, docker_c
libs/cli/langgraph_cli/cli.py:930
↓ 6 callersMethodreconcile_stream
Public alias for `_reconcile_stream`.
libs/sdk-py/langgraph_sdk/stream/controller.py:349
↓ 6 callersMethodschedule
Schedule a coroutine tied to this transformer's lifecycle. The mux holds the task reference, awaits all scheduled tasks during `aclos
libs/langgraph/langgraph/stream/_types.py:233
↓ 5 callersFunctionRunner
()
libs/cli/langgraph_cli/exec.py:12
↓ 5 callersMethod__anext__
(self)
libs/sdk-py/langgraph_sdk/stream/multi_cursor_buffer.py:57
↓ 5 callersMethod__init__
(self, reason: str = "shutdown")
libs/langgraph/langgraph/errors.py:62
↓ 5 callersFunction_add_directory
Recursively add a directory to the tarball under the given prefix. If arcname_prefix is None, files are added at the archive root. Paths matc
libs/cli/langgraph_cli/archive.py:28
↓ 5 callersFunction_adecode_json
(r: httpx.Response)
libs/sdk-py/langgraph_sdk/_async/http.py:306
↓ 5 callersFunction_create_vector_store
Create a store with vector search enabled.
libs/checkpoint-postgres/tests/test_store.py:504
↓ 5 callersMethod_cursor
Create a database cursor as a context manager. Args: pipeline: whether to use pipeline for the DB operations inside the context m
libs/checkpoint-postgres/langgraph/checkpoint/postgres/shallow.py:487
↓ 5 callersMethod_cursor
Create a database cursor as a context manager. Args: pipeline: whether to use pipeline for the DB operations inside the context m
libs/checkpoint-postgres/langgraph/checkpoint/postgres/shallow.py:824
↓ 5 callersFunction_custom_event
(namespace: list[str], data: Any)
libs/langgraph/tests/test_stream_data_transformers.py:36
↓ 5 callersFunction_decode_json
(r: httpx.Response)
libs/sdk-py/langgraph_sdk/_sync/http.py:301
↓ 5 callersFunction_delta_graph
(checkpointer: Any)
libs/checkpoint-sqlite/tests/test_get_delta_channel_history.py:59
↓ 5 callersMethod_emit
(self, meta: Meta, message: BaseMessage, *, dedupe: bool = False)
libs/langgraph/langgraph/pregel/_messages.py:97
↓ 5 callersFunction_encode_json
(json: Any)
libs/sdk-py/langgraph_sdk/_sync/http.py:289
↓ 5 callersFunction_ensure_execution_info
Ensure runtime has execution_info, creating one from config if needed. In the distributed runtime (LangGraph Platform), tasks are prepared by the
libs/langgraph/langgraph/pregel/_retry.py:520
↓ 5 callersMethod_fail
(self, err: BaseException)
libs/sdk-py/langgraph_sdk/_async/stream.py:1025
↓ 5 callersFunction_make_capture_graph
Helper: build a simple graph that captures runtime info.
libs/langgraph/tests/test_runtime.py:967
↓ 5 callersMethod_make_client
(self, handler)
libs/cli/tests/unit_tests/test_deploy_helpers.py:261
↓ 5 callersMethod_make_project
Set up a minimal project directory with a config file.
libs/cli/tests/unit_tests/test_archive.py:189
↓ 5 callersFunction_msgpack_enc
(data: Any)
libs/checkpoint/langgraph/checkpoint/serde/jsonplus.py:859
↓ 5 callersFunction_normalize_package_name
(name: str)
libs/cli/langgraph_cli/uv_lock.py:88
↓ 5 callersFunction_normalize_stream_transformer_factories
Normalize stream transformer specs to scoped factories. A stream transformer spec is a callable that accepts `scope: tuple[str, ...]` and ret
libs/langgraph/langgraph/pregel/main.py:417
↓ 5 callersFunction_put_with_run_id
Put a checkpoint with a run_id in metadata, return stored config.
libs/checkpoint-conformance/langgraph/checkpoint/conformance/spec/test_delete_for_runs.py:18
↓ 5 callersMethod_sanitize_config
Sanitize the config to remove non-serializable fields.
libs/langgraph/langgraph/pregel/remote.py:407
↓ 5 callersFunction_saver
(name: str)
libs/checkpoint-postgres/tests/test_sync.py:125
↓ 5 callersFunction_settled_boundaries
Return `[(config, items), ...]` for every checkpoint in `history` whose `next == ('__start__',)` — the stable boundaries between invokes.
libs/langgraph/tests/test_delta_channel_migration.py:121
↓ 5 callersFunction_setup_thread
Create n checkpoints on tid. Returns stored configs.
libs/checkpoint-conformance/langgraph/checkpoint/conformance/spec/test_prune.py:18
↓ 5 callersFunction_translate_command_input
Translate a local `Command` into the v3 wire `input`, else passthrough. The v3 server decides start-vs-resume from thread state (an interrupted
libs/langgraph/langgraph/pregel/_remote_run_stream.py:21
↓ 5 callersFunction_updates_event
(namespace: list[str], data: Any)
libs/langgraph/tests/test_stream_data_transformers.py:68
↓ 5 callersFunction_validate_handler
Validates that an auth handler function meets the required signature. Auth handlers must: 1. Be async functions 2. Accept a ctx parameter
libs/sdk-py/langgraph_sdk/auth/__init__.py:838
↓ 5 callersFunction_validate_prebuilt_image
Ensure a prebuilt image exists locally for linux/amd64.
libs/cli/langgraph_cli/deploy.py:369
↓ 5 callersMethodabatch
Async batch operation - not supported in SqliteStore. Use AsyncSqliteStore for async operations.
libs/checkpoint-sqlite/langgraph/store/sqlite/base.py:1475
↓ 5 callersMethodabulk_update_state
Asynchronously apply updates to the graph state in bulk. Requires a checkpointer to be set. Args: config: The config to apply the
libs/langgraph/langgraph/pregel/main.py:2056
↓ 5 callersMethodaembed_documents
Asynchronously embed a list of texts into vectors. Args: texts: list of texts to convert to embeddings. Returns:
libs/checkpoint/langgraph/store/base/embed.py:197
↓ 5 callersMethodaget_delta_channel_history
Fast-path override of `BaseCheckpointSaver.aget_delta_channel_history`. See `PostgresSaver.get_delta_channel_history` for design notes; this
libs/checkpoint-postgres/langgraph/checkpoint/postgres/aio.py:405
↓ 5 callersMethodaget_subgraphs
Get the subgraphs of the graph. Args: namespace: The namespace to filter the subgraphs by. recurse: Whether to recurs
libs/langgraph/langgraph/pregel/main.py:1115
↓ 5 callersFunctionauto_respond_async
Spawn a background task that responds to the first interrupt and exits. Opens a private `thread.values` subscription and drains it; the SDK's
libs/sdk-py/integration/scripts/_common.py:71
↓ 5 callersFunctionauto_respond_sync
Sync analogue of `auto_respond_async`.
libs/sdk-py/integration/scripts/_common.py:95
↓ 5 callersMethodbatch
Execute multiple operations synchronously in a single batch. Args: ops: An iterable of operations to execute. Returns:
libs/checkpoint/langgraph/store/base/__init__.py:733
↓ 5 callersMethodbatch
(self, ops: Iterable[Op])
libs/checkpoint/tests/test_store.py:144
↓ 5 callersMethodbind_tools
(self, functions: list)
libs/langgraph/tests/fake_chat.py:19
↓ 5 callersFunctionbuild_delta_chain
Build a parent chain with `_DeltaSnapshot` at known positions. Args: saver: Checkpointer instance. thread_id: Defaults to a rando
libs/checkpoint-conformance/langgraph/checkpoint/conformance/spec/_delta_fixtures.py:20
↓ 5 callersFunctionchannels_from_checkpoint
Hydrate channels from a checkpoint. For most channels, `spec.from_checkpoint(checkpoint["channel_values"][k])` is sufficient. `DeltaChannel`
libs/langgraph/langgraph/pregel/_checkpoint.py:229
↓ 5 callersMethodconfigure
( cls, callbacks: object | None = None, *, run_id: UUID | None = None, )
libs/langgraph/langgraph/callbacks.py:256
↓ 5 callersFunctionconvert_to_protocol_event
Convert a v2 StreamPart to a ProtocolEvent. Args: part: A stream part with keys `type`, `ns`, `data`, and optionally `interru
libs/langgraph/langgraph/stream/_convert.py:10
↓ 5 callersFunctioncopy_checkpoint
(checkpoint: Checkpoint)
libs/langgraph/langgraph/pregel/_checkpoint.py:322
↓ 5 callersFunctioncreate_model
Create a pydantic model with the given field definitions. Attention: Please do not use outside of langchain packages. This API is
libs/langgraph/langgraph/_internal/_pydantic.py:181
↓ 5 callersMethoddecode
(self, text: bytes)
libs/sdk-py/langgraph_sdk/sse.py:29
↓ 5 callersMethoddispatch
(self, data)
libs/sdk-py/tests/streaming/test_decoders.py:87
↓ 5 callersMethoddump
(self, fileobj: Any)
libs/checkpoint/langgraph/checkpoint/memory/__init__.py:678
↓ 5 callersMethodemit_output_delta
Stream a partial output chunk on the `tools` stream channel. Reads the per-tool-call writer that `StreamToolCallHandler` installs on
libs/prebuilt/langgraph/prebuilt/tool_node.py:1732
↓ 5 callersFunctionformat_timestamp
Convert a timestamp (epoch ms or string) to a readable string.
libs/cli/langgraph_cli/deploy.py:469
↓ 5 callersMethodget
Get an assistant by ID. Args: assistant_id: The ID of the assistant to get. headers: Optional custom headers to inclu
libs/sdk-py/langgraph_sdk/_async/assistants.py:46
↓ 5 callersMethodget
Get an assistant by ID. Args: assistant_id: The ID of the assistant to get OR the name of the graph (to use the default assistant
libs/sdk-py/langgraph_sdk/_sync/assistants.py:45
↓ 5 callersFunctionget_client
Create and configure a LangGraphClient. The client provides programmatic access to LangSmith Deployment. It supports both remote servers and
libs/sdk-py/langgraph_sdk/_async/client.py:29
↓ 5 callersMethodget_state
Get the state of a thread. Args: thread_id: The ID of the thread to get the state of. checkpoint: The checkpoint to g
libs/sdk-py/langgraph_sdk/_async/threads.py:485
↓ 5 callersFunctionget_sync_client
Get a synchronous LangGraphClient instance. Args: url: The URL of the LangGraph API. api_key: API key for authentication. Can be:
libs/sdk-py/langgraph_sdk/_sync/client.py:20
↓ 5 callersMethodget_tuple
Get a checkpoint tuple from the database. This method retrieves a checkpoint tuple from the Postgres database based on the provided c
libs/checkpoint-postgres/langgraph/checkpoint/postgres/__init__.py:192
↓ 5 callersFunctionhas_disallowed_build_command_content
Check if a command string contains disallowed characters or patterns.
libs/cli/langgraph_cli/config.py:72
↓ 5 callersMethodinterrupts
Drive the run to completion, then return interrupt payloads. Raises: BaseException: If the run ended with an error.
libs/langgraph/langgraph/stream/run_stream.py:206
↓ 5 callersFunctionlifecycle_errored_event
Lifecycle event with `event="failed"` and an error message.
libs/sdk-py/tests/streaming/_events.py:63
↓ 5 callersMethodloads_typed
(self, data: tuple[str, bytes])
libs/langgraph/tests/memory_assert.py:23
↓ 5 callersMethodlog
(self, message: str)
libs/cli/langgraph_cli/deploy.py:191
↓ 5 callersFunctionmake_state_graph
()
libs/langgraph/tests/test_checkpoint_migration.py:1423
↓ 5 callersFunctionnode
(state: State, writer: StreamWriter)
libs/langgraph/tests/test_pregel.py:3466
↓ 5 callersFunctionpatch_checkpoint_map
( config: RunnableConfig | None, metadata: CheckpointMetadata | None )
libs/langgraph/langgraph/_internal/_config.py:63
↓ 5 callersMethodput_writes
Put writes for a task, to be read by the next tick.
libs/langgraph/langgraph/pregel/_loop.py:415
↓ 5 callersMethodreconcile_stream
(self, candidate_filter: SubscribeParams)
libs/sdk-py/langgraph_sdk/stream/sync_controller.py:119
↓ 5 callersFunctionrun_with_retry
Run a task with retries.
libs/langgraph/langgraph/pregel/_retry.py:573
↓ 5 callersMethodsetup
Set up the checkpoint database asynchronously. This method creates the necessary tables in the SQLite database if they don't already
libs/checkpoint-sqlite/langgraph/checkpoint/sqlite/aio.py:305
↓ 5 callersMethodsetup
Set up the checkpoint database asynchronously. This method creates the necessary tables in the Postgres database if they don't alread
libs/checkpoint-postgres/langgraph/checkpoint/postgres/__init__.py:85
↓ 5 callersMethodsetup
Set up the checkpoint database asynchronously. This method creates the necessary tables in the Postgres database if they don't alread
libs/checkpoint-postgres/langgraph/checkpoint/postgres/aio.py:90
↓ 5 callersFunctiontask_path_str
Generate a string representation of the task path.
libs/langgraph/langgraph/pregel/_algo.py:1412
↓ 5 callersFunctiontool_error_event
( seq: int = 0, namespace: list[str] | None = None, *, tool_call_id: str = "call-1", messa
libs/sdk-py/tests/streaming/_events.py:255
↓ 5 callersMethodtransformer_by_key
Return the transformer that contributed `key` to the projection.
libs/langgraph/langgraph/stream/_mux.py:150
↓ 5 callersMethodupdate_deployment
( self, deployment_id: str, image_uri: str, secrets: list[dict[str, str]] | No
libs/cli/langgraph_cli/host_backend.py:120
↓ 5 callersMethodwith_msgpack_allowlist
Return a new serializer with a merged msgpack allowlist.
libs/checkpoint/langgraph/checkpoint/serde/jsonplus.py:128
↓ 4 callersFunction_AnyIdAIMessageChunk
Create ai message with an any id field.
libs/langgraph/tests/messages.py:32
↓ 4 callersMethod__aiter__
Subscribe and return an async cursor. Can be called only once. Raises: TypeError: If the channel is unbound or bound to sync mode
libs/langgraph/langgraph/stream/stream_channel.py:202
↓ 4 callersMethod__init__
(self, scope: tuple[str, ...] = (), *, label: str = "tap")
libs/langgraph/tests/test_stream_before_builtins.py:40
↓ 4 callersMethod__init__
( self, message: str, response_or_request: httpx.Response | httpx.Request, *,
libs/sdk-py/langgraph_sdk/errors.py:26
↓ 4 callersFunction_aexpire_now
Backdate a row's expires_at into the past without deleting it (unswept).
libs/checkpoint-postgres/tests/test_async_store.py:744
↓ 4 callersFunction_always_error_transport
Return a fake transport whose open_event_stream always raises.
libs/sdk-py/tests/streaming/test_controller.py:186
↓ 4 callersMethod_bind_pump
Wire the sync pull callback. Called by GraphRunStream._wire_request_more.
libs/langgraph/langgraph/stream/transformers.py:216
↓ 4 callersFunction_build_chain
Store `seed_value` at step 1, then two steps that store nothing. Every step carries a write so the walk has something to collect. Returns `(t
libs/checkpoint-postgres/tests/test_delta_plain_value_seed.py:27
← previousnext →401–500 of 6,698, ranked by callers