MCPcopy Create free account

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

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

↓ 2 callersMethodget
Send a `GET` request.
libs/sdk-py/langgraph_sdk/_sync/http.py:39
↓ 2 callersFunctionget_cached_annotated_keys
Return cached annotated keys for a Python class.
libs/langgraph/langgraph/_internal/_fields.py:196
↓ 2 callersMethodget_config_jsonschema
( self, *, include: Sequence[str] | None = None )
libs/langgraph/langgraph/pregel/main.py:980
↓ 2 callersFunctionget_field_default
Determine the default value for a field in a state schema. This is based on: If TypedDict: - Required/NotRequired
libs/langgraph/langgraph/_internal/_fields.py:79
↓ 2 callersMethodget_graph
Get graph by graph name. This method calls `GET /assistants/{assistant_id}/graph`. Args: config: This parameter is not u
libs/langgraph/langgraph/pregel/remote.py:256
↓ 2 callersMethodget_graph
Get the graph of an assistant by ID. Args: assistant_id: The ID of the assistant to get the graph of. xray: Include g
libs/sdk-py/langgraph_sdk/_async/assistants.py:93
↓ 2 callersMethodget_input_schema
(self, config: RunnableConfig | None = None)
libs/langgraph/langgraph/pregel/main.py:1014
↓ 2 callersMethodget_item
Retrieve a single item. Args: key: The unique identifier for the item. namespace: Optional list of strings representi
libs/sdk-py/langgraph_sdk/_async/store.py:87
↓ 2 callersMethodget_revision
(self, deployment_id: str, revision_id: str)
libs/cli/langgraph_cli/host_backend.py:180
↓ 2 callersMethodget_schemas
Get the schemas of an assistant by ID. Args: assistant_id: The ID of the assistant to get the schema of. headers: Opt
libs/sdk-py/langgraph_sdk/_async/assistants.py:153
↓ 2 callersMethodget_state
Get the state of a thread. This method calls `POST /threads/{thread_id}/state/checkpoint` if a checkpoint is specified in the config
libs/langgraph/langgraph/pregel/remote.py:436
↓ 2 callersMethodget_tuple
Fetch a checkpoint tuple using the given configuration. Args: config: Configuration specifying which checkpoint to retrieve.
libs/checkpoint/langgraph/checkpoint/base/__init__.py:239
↓ 2 callersFunctionget_update_as_tuples
Get Pydantic state update as a list of (key, value) tuples.
libs/langgraph/langgraph/_internal/_fields.py:166
↓ 2 callersFunctionget_updated_channels_from_tasks
Channel names written by an update_state superstep (excluding PUSH).
libs/langgraph/langgraph/pregel/_checkpoint.py:74
↓ 2 callersMethodinvoke
( self, input: Any, config: RunnableConfig | None = None, **kwargs: Any )
libs/langgraph/langgraph/_internal/_runnable.py:353
↓ 2 callersFunctionis_async_generator
Check if a function is an async generator.
libs/langgraph/langgraph/_internal/_runnable.py:518
↓ 2 callersFunctionlax_normalize_config
(config: dict | None)
libs/langgraph/tests/test_pregel.py:4394
↓ 2 callersMethodlist_namespaces
List namespaces with optional match conditions. Args: prefix: Optional list of strings representing the prefix to filter namespac
libs/sdk-py/langgraph_sdk/_async/store.py:256
↓ 2 callersFunctionmap_snapshot
(i: StateSnapshot)
libs/langgraph/tests/test_pregel_async.py:8503
↓ 2 callersFunctionmap_task_result_writes
Folds task writes into a result dict and aggregates multiple writes to the same channel. If the channel contains a single write, we record the wr
libs/langgraph/langgraph/pregel/debug.py:83
↓ 2 callersMethodmatch_cached_writes
(self)
libs/langgraph/langgraph/pregel/_loop.py:1549
↓ 2 callersFunctionmaybe_add_typed_methods
Wrap serde old serde implementations in a class with loads_typed and dumps_typed for backwards compatibility.
libs/checkpoint/langgraph/checkpoint/serde/base.py:40
↓ 2 callersFunctionmock_stream
()
libs/sdk-py/tests/test_client_stream.py:386
↓ 2 callersFunctionmodel
(state: dict)
libs/langgraph/tests/test_delta_channel_update_state.py:51
↓ 2 callersFunctionmsg_content_output
Convert tool output to `ToolMessage` content format. Handles `str`, `list[dict]` (content blocks), and arbitrary objects by attempting JSON s
libs/prebuilt/langgraph/prebuilt/tool_node.py:309
↓ 2 callersFunctionnormalize_config
(config: dict | None)
libs/langgraph/tests/test_pregel_async.py:5927
↓ 2 callersMethodobserve_applied_through_seq
Advance the reconnect cursor from a command response meta sequence.
libs/sdk-py/langgraph_sdk/_async/stream.py:1384
↓ 2 callersMethodon_interrupt
Run when graph execution pauses due to one or more interrupts. Args: event: Interrupt lifecycle event payload.
libs/langgraph/langgraph/callbacks.py:99
↓ 2 callersMethodon_resume
Run when graph execution resumes from a persisted checkpoint. Args: event: Resume lifecycle event payload.
libs/langgraph/langgraph/callbacks.py:106
↓ 2 callersMethodopen_event_stream
(self, params: dict[str, Any])
libs/sdk-py/langgraph_sdk/stream/transport/sync_http.py:62
↓ 2 callersMethodoutput
Fetch terminal thread state (blocking); waits for lifecycle completion. Raises: RuntimeError: stream not entered, or no run start
libs/sdk-py/langgraph_sdk/_sync/stream.py:1151
↓ 2 callersMethodpassed_all_base
Whether all base capability tests passed.
libs/checkpoint-conformance/langgraph/checkpoint/conformance/report.py:111
↓ 2 callersMethodpatch_execution_info
Return a new runtime with selected execution_info fields replaced.
libs/langgraph/langgraph/runtime.py:266
↓ 2 callersFunctionprepare_single_task
Prepares a single task for the next Pregel step, given a task path, which uniquely identifies a PUSH or PULL task within the graph.
libs/langgraph/langgraph/pregel/_algo.py:524
↓ 2 callersMethodprocess
Handle an event on the sync lane. Called for every event before it is appended to the main event log. Subclasses must override either
libs/langgraph/langgraph/stream/_types.py:148
↓ 2 callersMethodput
Send a `PUT` request.
libs/sdk-py/langgraph_sdk/_sync/http.py:78
↓ 2 callersFunctionpydantic_state
(n: int)
libs/langgraph/bench/pydantic_state.py:13
↓ 2 callersFunctionrc
(cls: type)
libs/sdk-py/tests/test_serde_schema.py:12
↓ 2 callersFunctionreact_agent
(n_tools: int, checkpointer: BaseCheckpointSaver | None)
libs/langgraph/bench/react_agent.py:17
↓ 2 callersFunctionread_channel
( channels: Mapping[str, BaseChannel], chan: str, *, catch: bool = True, )
libs/langgraph/langgraph/pregel/_io.py:23
↓ 2 callersFunctionregister_serde_event_listener
Register a listener for serde allowlist events.
libs/checkpoint/langgraph/checkpoint/serde/event_hooks.py:26
↓ 2 callersMethodrequest_push_token
(self, deployment_id: str)
libs/cli/langgraph_cli/host_backend.py:107
↓ 2 callersFunctionrun_benchmark
Run the full sweep and return all measurement rows.
libs/langgraph/tests/test_delta_channel_benchmark.py:276
↓ 2 callersFunctionrun_coroutine_threadsafe
Submit a coroutine object to a given event loop. Return an asyncio.Future to access the result.
libs/langgraph/langgraph/_internal/_future.py:189
↓ 2 callersFunctionrunner
()
libs/langgraph/tests/test_retry.py:2891
↓ 2 callersFunctionsanitize_untracked_values_in_send
Pop any values belonging to UntrackedValue channels in Send.arg for safe checkpointing. Send is often called with state to be passed to the dest
libs/langgraph/langgraph/pregel/_algo.py:1442
↓ 2 callersMethodsearch
( self, *, metadata: Json = None, graph_id: str | None = None, name: s
libs/sdk-py/langgraph_sdk/_async/assistants.py:495
↓ 2 callersMethodsearch_items
Search for items within a namespace prefix. Args: namespace_prefix: List of strings representing the namespace prefix.
libs/sdk-py/langgraph_sdk/_async/store.py:180
↓ 2 callersMethodsend_command
(self, command: dict[str, Any])
libs/sdk-py/langgraph_sdk/stream/transport/sync_http.py:45
↓ 2 callersMethodset
Set the cached values for the given keys and TTLs.
libs/checkpoint/langgraph/cache/redis/__init__.py:84
↓ 2 callersFunctionshould_interrupt
Check if the graph should be interrupted based on current state.
libs/langgraph/langgraph/pregel/_algo.py:155
↓ 2 callersMethodsignal_paused
Wake every active subscription iterator on interrupt (run pause). Pushes the terminal sentinel (`None`) into every subscription queue.
libs/sdk-py/langgraph_sdk/stream/sync_controller.py:106
↓ 2 callersMethodstart_ttl_sweeper
Periodically delete expired store items based on TTL. Returns: Future that can be waited on or cancelled.
libs/checkpoint-sqlite/langgraph/store/sqlite/base.py:1145
↓ 2 callersMethodstatus_url
(self, url: str)
libs/cli/langgraph_cli/deploy.py:197
↓ 2 callersFunctionstep_walk_with_row
Process one streamed stage-1 row in the merged ancestor walk. The cursor returns (cid, parent_cid, type, blob) rows in `checkpoint_id` DESC o
libs/checkpoint-sqlite/langgraph/checkpoint/sqlite/_delta.py:68
↓ 2 callersMethodtick
Execute a single iteration of the Pregel loop. Returns: True if more iterations are needed.
libs/langgraph/langgraph/pregel/_loop.py:599
↓ 2 callersFunctionunregister
()
libs/checkpoint/langgraph/checkpoint/serde/event_hooks.py:31
↓ 2 callersMethodupdate
Update an assistant. Use this to point to a different graph, update the configuration, or change the metadata of an assistant. Args:
libs/sdk-py/langgraph_sdk/_async/assistants.py:385
↓ 2 callersMethodupdate
Update an assistant. Use this to point to a different graph, update the configuration, or change the metadata of an assistant. Args:
libs/sdk-py/langgraph_sdk/_sync/assistants.py:389
↓ 2 callersMethodupdate_state
Update the state of a thread. This method calls `POST /threads/{thread_id}/state`. Args: config: A `RunnableConfig` that
libs/langgraph/langgraph/pregel/remote.py:602
↓ 2 callersMethodupload_progress
(self, size_mb: float, pct: int)
libs/cli/langgraph_cli/deploy.py:261
↓ 2 callersMethodvalidate
(self)
libs/langgraph/langgraph/pregel/main.py:933
↓ 2 callersFunctionvalidate_interleave_channels
Reject reserved protocol channel names before they hit the fallback. Genuine extension names pass through untouched; only names that ``infer_
libs/sdk-py/langgraph_sdk/stream/decoders.py:34
↓ 2 callersMethodwait
( self, thread_id: str, assistant_id: str, *, input: Input | None = No
libs/sdk-py/langgraph_sdk/_sync/runs.py:620
↓ 2 callersFunctionwebsocket_headers
(headers: Mapping[str, str] | None)
libs/sdk-py/langgraph_sdk/stream/transport/base.py:78
↓ 2 callersFunctionwide_dict
(n: int)
libs/langgraph/bench/wide_dict.py:13
↓ 2 callersFunctionwide_state
(n: int)
libs/langgraph/bench/wide_state.py:12
↓ 1 callersFunctionDuplexStream
(*streams: StreamProtocol)
libs/langgraph/langgraph/pregel/_loop.py:149
↓ 1 callersMethodValueType
The type of the value stored in the channel.
libs/langgraph/langgraph/channels/topic.py:47
↓ 1 callersMethod__aexit__
( self, exc_type: type[BaseException] | None, exc: BaseException | None, tb: T
libs/langgraph/langgraph/pregel/_remote_run_stream.py:279
↓ 1 callersMethod__aiter__
(self)
libs/sdk-py/tests/streaming/_fake_server.py:32
↓ 1 callersMethod__await__
(self)
libs/langgraph/langgraph/pregel/_call.py:254
↓ 1 callersMethod__await__
(self)
libs/sdk-py/langgraph_sdk/_async/stream.py:291
↓ 1 callersMethod__enter__
(self)
libs/checkpoint/langgraph/checkpoint/memory/__init__.py:101
↓ 1 callersMethod__enter__
(self)
libs/sdk-py/langgraph_sdk/_sync/stream.py:1123
↓ 1 callersMethod__exit__
( self, exc_type: type[BaseException] | None, exc: BaseException | None, tb: T
libs/langgraph/langgraph/pregel/_remote_run_stream.py:161
↓ 1 callersMethod__exit__
( self, exc_type: type[BaseException] | None, exc_value: BaseException | None,
libs/checkpoint/langgraph/checkpoint/memory/__init__.py:105
↓ 1 callersMethod__exit__
(self, exc_type: Any, exc: Any, tb: Any)
libs/sdk-py/langgraph_sdk/_sync/stream.py:1147
↓ 1 callersMethod__init__
( self, handlers: Sequence[GraphCallbackHandler] | None = None, inheritable_handlers:
libs/langgraph/langgraph/callbacks.py:224
↓ 1 callersMethod__init__
( self, *, channels: str | list[str], triggers: Sequence[str], mapper:
libs/langgraph/langgraph/pregel/_read.py:150
↓ 1 callersMethod__init__
Configure the handler to stream messages from LLMs and nodes. Args: stream: A callable that takes a StreamChunk and emits it.
libs/langgraph/langgraph/pregel/_messages.py:60
↓ 1 callersMethod__init__
(self, typ: Any, key: str = "")
libs/langgraph/langgraph/channels/last_value.py:27
↓ 1 callersMethod__init__
(self, typ: type[Value], names: set[Value])
libs/langgraph/langgraph/channels/named_barrier_value.py:21
↓ 1 callersMethod__init__
( self, state_schema: type[StateT], context_schema: type[ContextT] | None = None,
libs/langgraph/langgraph/graph/state.py:215
↓ 1 callersMethod__init__
(self, scope: tuple[str, ...] = ())
libs/langgraph/tests/test_stream_subgraph_transformer.py:381
↓ 1 callersMethod__init__
(self, scope: tuple[str, ...] = ())
libs/langgraph/tests/test_stream_events_v3_e2e.py:199
↓ 1 callersMethod__init__
Initialize `ToolNode` with tools and configuration. Args: tools: Sequence of tools to make available for execution. n
libs/prebuilt/langgraph/prebuilt/tool_node.py:743
↓ 1 callersMethod__init__
( self, conn: _internal.Conn, pipe: Pipeline | None = None, serde: SerializerP
libs/checkpoint-postgres/langgraph/checkpoint/postgres/shallow.py:186
↓ 1 callersMethod__init__
( self, *, value: dict[str, Any], key: str, namespace: tuple[str, ...]
libs/checkpoint/langgraph/store/base/__init__.py:66
↓ 1 callersMethod__init__
( self, *, serde: SerializerProtocol | None = None, factory: type[defaultdict]
libs/checkpoint/langgraph/checkpoint/memory/__init__.py:85
↓ 1 callersMethod__init__
(self, auth: Auth)
libs/sdk-py/langgraph_sdk/auth/__init__.py:751
↓ 1 callersMethod__iter__
Subscribe and return a sync cursor. Can be called only once. Raises: TypeError: If the channel is unbound or bound to async mode.
libs/langgraph/langgraph/stream/stream_channel.py:159
↓ 1 callersMethod__new__
(cls, min_value: float, max_value: float)
libs/langgraph/tests/any_str.py:14
↓ 1 callersMethod__setattr__
Raise deprecation warning when setting attributes directly. Direct attribute assignment is deprecated. Use the `override()` method instead.
libs/prebuilt/langgraph/prebuilt/tool_node.py:151
↓ 1 callersFunction_acall_impl
( destination: asyncio.Future[Any] | concurrent.futures.Future[Any], task: weakref.ref[PregelExecutabl
libs/langgraph/langgraph/pregel/_runner.py:844
↓ 1 callersMethod_acomplete_open_handles
(self)
libs/langgraph/langgraph/stream/transformers.py:866
↓ 1 callersMethod_activate_root_messages_inbox
Create the root-scope messages inbox if not already active and return it. Called by `_SubgraphsProjection` at scope `()` to capture messages
libs/sdk-py/langgraph_sdk/_async/stream.py:1331
↓ 1 callersFunction_adecode_error_body
(r: httpx.Response)
libs/sdk-py/langgraph_sdk/errors.py:158
↓ 1 callersFunction_adrive
(graph: Any, config: RunnableConfig, tag: str, n: int)
libs/checkpoint-sqlite/tests/test_delta_channel_migration.py:85
↓ 1 callersMethod_aembed_search_queries
( self, search_ops: dict[int, tuple[SearchOp, list[tuple[Item, list[list[float]]]]]], )
libs/checkpoint/langgraph/store/memory/__init__.py:287
← previousnext →1,001–1,100 of 6,698, ranked by callers