MCPcopy Create free account

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

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

↓ 2 callersMethod_finish
(self, output: Any)
libs/prebuilt/langgraph/prebuilt/_tool_call_stream.py:80
↓ 2 callersMethod_finish
(self, status: SubgraphStatus, error: str | None = None)
libs/sdk-py/langgraph_sdk/_sync/stream.py:736
↓ 2 callersMethod_finish
(self, output)
libs/sdk-py/tests/streaming/test_decoders.py:185
↓ 2 callersMethod_first
( self, *, input_keys: str | Sequence[str], updated_channels: set[str] | None )
libs/langgraph/langgraph/pregel/_loop.py:848
↓ 2 callersMethod_generate
Top Level call
libs/langgraph/tests/fake_chat.py:22
↓ 2 callersFunction_get_all_injected_args
Extract all injected arguments from tool in a single pass. This function analyzes both the tool's input schema and function signature to iden
libs/prebuilt/langgraph/prebuilt/tool_node.py:1967
↓ 2 callersMethod_get_batch_GET_ops_queries
Build queries to fetch (and optionally refresh the TTL of) multiple keys per namespace. Returns a list of PreparedGetQuery objects,
libs/checkpoint-sqlite/langgraph/store/sqlite/base.py:882
↓ 2 callersMethod_get_batch_GET_ops_queries
Build queries to fetch (and optionally refresh the TTL of) multiple keys per namespace. Each returned element is a tuple of:
libs/checkpoint-postgres/langgraph/store/postgres/base.py:249
↓ 2 callersMethod_get_batch_list_namespaces_queries
( self, list_ops: Sequence[tuple[int, ListNamespacesOp]], )
libs/checkpoint-postgres/langgraph/store/postgres/base.py:590
↓ 2 callersMethod_get_config
(self, checkpoint: Checkpoint)
libs/langgraph/langgraph/pregel/remote.py:397
↓ 2 callersMethod_get_drawable_nodes
( self, graph: dict[str, list[dict[str, Any]]] )
libs/langgraph/langgraph/pregel/remote.py:232
↓ 2 callersFunction_get_headers
Combine api_key and custom user-provided headers.
libs/sdk-py/langgraph_sdk/_shared/utilities.py:51
↓ 2 callersFunction_get_json_schema
( typ: type, schemas: dict, channels: dict, name: str, )
libs/langgraph/langgraph/graph/state.py:1930
↓ 2 callersFunction_get_model_input_state
(state: StateSchema)
libs/prebuilt/langgraph/prebuilt/chat_agent_executor.py:636
↓ 2 callersFunction_get_node_name
(node: StateNode[Any, ContextT])
libs/langgraph/langgraph/graph/state.py:123
↓ 2 callersFunction_get_run_metadata_from_response
Extract run metadata from the response headers.
libs/sdk-py/langgraph_sdk/_shared/utilities.py:100
↓ 2 callersFunction_get_source_kind
(config: Config)
libs/cli/langgraph_cli/config.py:315
↓ 2 callersMethod_get_stream_modes
Return a tuple of the final list of stream modes sent to the remote graph and a boolean flag indicating if stream mode 'updates' was p
libs/langgraph/langgraph/pregel/remote.py:672
↓ 2 callersMethod_get_task
Return the shared fetch task, creating it on first call. A cancelled task is intentionally NOT respawned: subsequent awaiters receive
libs/sdk-py/langgraph_sdk/_async/stream.py:305
↓ 2 callersFunction_get_tracing_metadata_defaults
Get tracer-only metadata defaults from configurable values.
libs/langgraph/langgraph/_internal/_config.py:435
↓ 2 callersFunction_get_uv_lock_package_enabled
(package: UvLockPackage)
libs/cli/langgraph_cli/uv_lock.py:240
↓ 2 callersFunction_getattribute
(obj: Any, name: str)
libs/langgraph/langgraph/pregel/_call.py:37
↓ 2 callersFunction_group_ops
(ops: Iterable[Op])
libs/checkpoint-sqlite/langgraph/store/sqlite/base.py:256
↓ 2 callersFunction_group_ops
(ops: Iterable[Op])
libs/checkpoint-postgres/langgraph/store/postgres/base.py:1385
↓ 2 callersMethod_guard_call
(self, call: Callable[..., Any])
libs/langgraph/langgraph/pregel/_retry.py:249
↓ 2 callersMethod_guard_stream
(self, stream: StreamProtocol)
libs/langgraph/langgraph/pregel/_retry.py:237
↓ 2 callersMethod_guard_stream_writer
( self, stream_writer: Callable[[Any], None] )
libs/langgraph/langgraph/pregel/_retry.py:260
↓ 2 callersMethod_handle_for_event
( self, event: ProtocolEvent )
libs/langgraph/langgraph/stream/transformers.py:801
↓ 2 callersMethod_handle_task_start
(self, ns: tuple[str, ...], data: dict[str, Any])
libs/langgraph/langgraph/stream/transformers.py:518
↓ 2 callersFunction_image_supports_uv
(base_image: str)
libs/cli/langgraph_cli/config.py:1228
↓ 2 callersMethod_ingest_stage1_page
Fold one stage-1 page into the running walk-state mappings. Returns the oldest checkpoint_id seen on this page (smallest, since pages
libs/checkpoint-postgres/langgraph/checkpoint/postgres/base.py:387
↓ 2 callersFunction_init_base_manager
( manager: BaseCallbackManager, handlers: Sequence[GraphCallbackHandler] | None, inheritable_handl
libs/langgraph/langgraph/callbacks.py:123
↓ 2 callersMethod_inject_tool_args
Inject graph state, store, and runtime into tool call arguments. This is an internal method that enables tools to access graph context that
libs/prebuilt/langgraph/prebuilt/tool_node.py:1315
↓ 2 callersMethod_insertinmem_store
( self, to_embed: dict[str, list[tuple[tuple[str, ...], str, str]]], embeddings: list[
libs/checkpoint/langgraph/store/memory/__init__.py:446
↓ 2 callersFunction_is_always_excluded
Whether `path` lives inside a built-in excluded directory.
libs/cli/langgraph_cli/_ignore.py:59
↓ 2 callersFunction_is_field_channel
(typ: type[Any])
libs/langgraph/langgraph/graph/state.py:1862
↓ 2 callersMethod_is_first_visit
Return True the first time a subgraph namespace is seen. The task-id suffix is stripped so that the same logical subgraph (e.g. ``"su
libs/langgraph/langgraph/_internal/_replay.py:34
↓ 2 callersFunction_is_not_empty
(value: Any)
libs/langgraph/langgraph/_internal/_config.py:315
↓ 2 callersFunction_is_optional_type
Check if a type is Optional.
libs/langgraph/langgraph/_internal/_fields.py:15
↓ 2 callersFunction_is_safe_json_type
Return True if an lc=2 id refers to a type in SAFE_MSGPACK_TYPES. Safe types bypass the ``allowed_json_modules`` gate so that old "json" format
libs/checkpoint/langgraph/checkpoint/serde/jsonplus.py:60
↓ 2 callersFunction_list_tool_call
(outer_id: str = "call-1")
libs/prebuilt/tests/test_tool_node.py:2249
↓ 2 callersMethod_load_checkpoint_tuple
Convert a database row into a CheckpointTuple object. Args: value: A row from the database containing checkpoint data.
libs/checkpoint-postgres/langgraph/checkpoint/postgres/__init__.py:559
↓ 2 callersMethod_load_checkpoint_tuple
Convert a database row into a CheckpointTuple object. Args: value: A row from the database containing checkpoint data.
libs/checkpoint-postgres/langgraph/checkpoint/postgres/aio.py:503
↓ 2 callersFunction_lookup_module_and_qualname
( obj: Any, name: str | None = None )
libs/langgraph/langgraph/pregel/_call.py:113
↓ 2 callersMethod_make_child
Build a mini-mux with the same factories scoped to `scope`. Used by `SubgraphTransformer` to attach a fresh transformer pipeline to e
libs/langgraph/langgraph/stream/_mux.py:193
↓ 2 callersFunction_make_custom_graph
()
libs/langgraph/tests/test_stream_events_v3.py:107
↓ 2 callersFunction_make_custom_writer_graph
Graph where a node emits custom stream events via StreamWriter.
libs/langgraph/tests/test_stream_events_v3_e2e.py:132
↓ 2 callersFunction_make_handle
Build a synthetic EventStreamHandle for reconnect tests. Returns the handle and the underlying queue so callers can inject events or the end
libs/sdk-py/tests/streaming/test_shared_stream.py:207
↓ 2 callersFunction_make_messages_graph
()
libs/langgraph/tests/test_stream_events_v3.py:92
↓ 2 callersFunction_make_messages_subgraph
Outer graph with a MessagesState subgraph that returns an AIMessage. Uses the whole-message fallback path (node returns AIMessage directly) t
libs/langgraph/tests/test_stream_events_v3_e2e.py:96
↓ 2 callersMethod_make_mux
( self, )
libs/langgraph/tests/test_stream_messages_transformer.py:481
↓ 2 callersMethod_make_stream
Create a ChatModelStream (sync) or AsyncChatModelStream (async). Wires whichever pump is bound. Prefers the async pump so nested iter
libs/langgraph/langgraph/stream/transformers.py:229
↓ 2 callersFunction_make_subgraph
()
libs/langgraph/tests/test_stream_events_v3.py:117
↓ 2 callersFunction_make_two_level_nested
outer → middle → inner. Three Pregel instances, two nesting levels.
libs/langgraph/tests/test_stream_subgraph_transformer.py:695
↓ 2 callersFunction_make_two_level_nested
Build outer → middle → inner. Three Pregel instances, two nesting levels.
libs/langgraph/tests/test_stream_lifecycle_transformer.py:346
↓ 2 callersFunction_make_two_sibling_subgraphs
outer → one → two, where both nodes are compiled subgraphs.
libs/langgraph/tests/test_stream_subgraph_transformer.py:723
↓ 2 callersFunction_map_status_error
(response: httpx.Response, body: object | None)
libs/sdk-py/langgraph_sdk/errors.py:190
↓ 2 callersFunction_merge_metadata
Merge metadata without mutating inputs. Top-level keys merge with newer values winning. `lc_versions` is the only mapping-valued key that mer
libs/langgraph/langgraph/_internal/_config.py:87
↓ 2 callersFunction_message_event_id
(data: dict[str, Any])
libs/sdk-py/langgraph_sdk/stream/decoders.py:59
↓ 2 callersFunction_message_route_key
Return the routing key for a message-channel event in `active`. Keys on `message_id` when available so concurrent messages that share the sam
libs/sdk-py/langgraph_sdk/_async/stream.py:491
↓ 2 callersFunction_message_route_key
Return the routing key for a message-channel event in `active`. Keys on `message_id` when available so concurrent messages that share the sam
libs/sdk-py/langgraph_sdk/_sync/stream.py:131
↓ 2 callersFunction_messages_delta_reducer
**Experimental.** Batch reducer for use with `DeltaChannel`. Processes all writes in one pass — dedup by ID, `RemoveMessage` tombstoning — wi
libs/langgraph/langgraph/graph/message.py:247
↓ 2 callersFunction_messages_event
(namespace: list[str], data: Any)
libs/langgraph/tests/test_stream_before_builtins.py:27
↓ 2 callersFunction_namespace_match_pattern
Build a regex matching the dot-joined prefix on whole namespace segments. Needed because neither LIKE nor GLOB can express "any character except
libs/checkpoint-sqlite/langgraph/store/sqlite/base.py:141
↓ 2 callersFunction_namespace_match_pattern
Build a POSIX regex matching the dot-joined prefix on whole segments. Needed because `LIKE` cannot express "any character except the separator".
libs/checkpoint-postgres/langgraph/store/postgres/base.py:1311
↓ 2 callersFunction_namespace_prefix_condition
Build the SQL scoping a search to a namespace and its descendants. Matches the namespace exactly or requires the `.` separator before any rem
libs/checkpoint-sqlite/langgraph/store/sqlite/base.py:120
↓ 2 callersFunction_namespaces
(prefix: tuple[str, ...])
libs/checkpoint-sqlite/tests/test_store.py:1270
↓ 2 callersFunction_namespaces
(prefix: tuple[str, ...])
libs/checkpoint-postgres/tests/test_store.py:373
↓ 2 callersFunction_needs_replay
True if `spec` is a `DeltaChannel` and no value is stored at this checkpoint, requiring an ancestor walk to reconstruct. `_DeltaSnapshot` blo
libs/langgraph/langgraph/pregel/_checkpoint.py:217
↓ 2 callersFunction_normalize_allowlist
( allowlist: AllowedMsgpackModules | Literal[True] | None, )
libs/checkpoint/langgraph/checkpoint/serde/jsonplus.py:863
↓ 2 callersFunction_normalize_module_keys
( modules: AllowedMsgpackModules, )
libs/checkpoint/langgraph/checkpoint/serde/jsonplus.py:874
↓ 2 callersMethod_normalize_tool_response
Validate and normalize a tool's raw return value.
libs/prebuilt/langgraph/prebuilt/tool_node.py:1432
↓ 2 callersMethod_observe_seq
(self, seq: Any)
libs/sdk-py/langgraph_sdk/stream/sync_controller.py:242
↓ 2 callersMethod_observe_seq
(self, seq: Any)
libs/sdk-py/langgraph_sdk/stream/controller.py:376
↓ 2 callersFunction_operators_equal
Return True if two reducer operators should be considered equal. Lambdas all share the name '<lambda>' so identity comparison is unreliable;
libs/langgraph/langgraph/channels/binop.py:54
↓ 2 callersFunction_output
( stream_mode: StreamMode | Sequence[StreamMode], print_mode: StreamMode | Sequence[StreamMode], s
libs/langgraph/langgraph/pregel/main.py:4184
↓ 2 callersFunction_panic_or_proceed
Cancel remaining tasks if any failed, re-raise exception if panic is True.
libs/langgraph/langgraph/pregel/_runner.py:650
↓ 2 callersMethod_parse_input
( self, input: list[AnyMessage] | dict[str, Any] | BaseModel, )
libs/prebuilt/langgraph/prebuilt/tool_node.py:1224
↓ 2 callersFunction_parse_node_version
Parse a Node.js version string into a major version number.
libs/cli/langgraph_cli/config.py:145
↓ 2 callersFunction_parse_version
(version: str)
libs/cli/langgraph_cli/docker.py:36
↓ 2 callersMethod_pop_lifecycle_event
(self)
libs/langgraph/langgraph/pregel/_loop.py:410
↓ 2 callersMethod_pop_terminal_transitions
Return and remove tracked children closed by this task result.
libs/langgraph/langgraph/stream/transformers.py:548
↓ 2 callersMethod_prepare_batch_PUT_queries
( self, put_ops: Sequence[tuple[int, PutOp]] )
libs/checkpoint-sqlite/langgraph/store/sqlite/base.py:338
↓ 2 callersMethod_prepare_batch_PUT_queries
( self, put_ops: Sequence[tuple[int, PutOp]], )
libs/checkpoint-postgres/langgraph/store/postgres/base.py:311
↓ 2 callersMethod_prepare_batch_search_queries
Build per-SearchOp SQL queries (with optional TTL refresh flag) plus embedding requests. Returns: - queries: list of (SQL, pa
libs/checkpoint-sqlite/langgraph/store/sqlite/base.py:436
↓ 2 callersMethod_prepare_batch_search_queries
Build per-SearchOp SQL queries (with optional TTL refresh) plus embedding requests. Returns: - queries: list of (SQL, param_l
libs/checkpoint-postgres/langgraph/store/postgres/base.py:425
↓ 2 callersMethod_prepare_ops
( self, ops: Iterable[Op] )
libs/checkpoint/langgraph/store/memory/__init__.py:375
↓ 2 callersMethod_prepare_state_snapshot
( self, config: RunnableConfig, saved: CheckpointTuple | None, recurse: BaseCh
libs/langgraph/langgraph/pregel/main.py:1145
↓ 2 callersFunction_print_entries
(entries: list[dict], *, reverse: bool = False)
libs/cli/langgraph_cli/deploy.py:2025
↓ 2 callersMethod_push_delta
(self, delta: str)
libs/sdk-py/langgraph_sdk/_async/stream.py:1012
↓ 2 callersMethod_push_graph_lifecycle_event
( self, kind: Literal["resume", "interrupt"], *, interrupts: tuple[Interrupt,
libs/langgraph/langgraph/pregel/_loop.py:376
↓ 2 callersMethod_reconcile_stream
Ensure the shared SSE covers `candidate_filter`. Rotate if not. Open-new-before-close-old: any events buffered server-side between th
libs/sdk-py/langgraph_sdk/stream/controller.py:319
↓ 2 callersMethod_reconnect_shared_stream
(self)
libs/sdk-py/langgraph_sdk/stream/sync_controller.py:202
↓ 2 callersMethod_reconnect_shared_stream
Attempt to reopen the shared stream after a transport drop. Returns True if a new stream was successfully opened, False if all reconn
libs/sdk-py/langgraph_sdk/stream/controller.py:284
↓ 2 callersMethod_record_identity
Record this namespace's `lc_agent_name` (first task event wins). Runs for every task-start event, including `ns == self.scope` and tr
libs/langgraph/langgraph/stream/transformers.py:475
↓ 2 callersMethod_record_pending_tool_calls
Harvest a task's triggering tool_call_id keyed by its task id. A tool-dispatch task seeds `task_id -> tool_call_id`; the spawned subg
libs/langgraph/langgraph/stream/transformers.py:488
↓ 2 callersMethod_register_active_tool_call
(self, handle: ToolCallHandle)
libs/sdk-py/langgraph_sdk/_async/stream.py:1352
↓ 2 callersMethod_register_active_tool_call
(self, handle: SyncToolCallHandle)
libs/sdk-py/langgraph_sdk/_sync/stream.py:1239
↓ 2 callersMethod_register_descendant
Register a newly-discovered grandchild so future events are fanned out. Also drains any events already buffered in this handle's inboxes whos
libs/sdk-py/langgraph_sdk/_sync/stream.py:677
↓ 2 callersFunction_reject_v3_invariant_kwargs
(kwargs: dict[str, Any])
libs/langgraph/langgraph/pregel/main.py:387
← previousnext →801–900 of 6,698, ranked by callers