MCPcopy Create free account

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

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

↓ 23 callersMethodget
Return terminal state values; equivalent to `thread.output`.
libs/sdk-py/langgraph_sdk/_sync/stream.py:299
↓ 23 callersMethodpost
Send a `POST` request.
libs/sdk-py/langgraph_sdk/_sync/http.py:54
↓ 23 callersMethodtime
(self)
libs/checkpoint/langgraph/checkpoint/base/id.py:61
↓ 22 callersFunctionlifecycle_event
( seq: int = 0, namespace: list[str] | None = None, **data: Any )
libs/sdk-py/tests/streaming/_events.py:42
↓ 22 callersMethodrun
(self, coro)
libs/cli/langgraph_cli/exec.py:25
↓ 21 callersFunction_drain_lifecycle
Snapshot the lifecycle channel's buffer.
libs/langgraph/tests/test_stream_lifecycle_transformer.py:106
↓ 21 callersFunction_write_uv_lock_workspace
( tmpdir_path: pathlib.Path, *, config_relative_dir: str = "apps/agent", root_sources: str = "
libs/cli/tests/unit_tests/test_config.py:34
↓ 21 callersMethodaput_writes
Store intermediate writes linked to a checkpoint asynchronously. This method saves intermediate writes associated with a checkpoint to the da
libs/checkpoint-sqlite/langgraph/checkpoint/sqlite/aio.py:561
↓ 21 callersMethodinterleave_projections
Yield `(channel_name, item)` tuples across multiple projections. One shared subscription drives all per-channel decoders; items arrive
libs/sdk-py/langgraph_sdk/_sync/stream.py:1285
↓ 21 callersMethodloads_typed
(self, data: tuple[str, bytes])
libs/checkpoint/langgraph/checkpoint/serde/base.py:36
↓ 21 callersMethodopen_event_stream
Open an independent filtered SSE event stream. Posts `params` as a SubscribeParams body to `/threads/{thread_id}/stream/events`. Retu
libs/sdk-py/langgraph_sdk/stream/transport/http.py:96
↓ 21 callersFunctionpatch_configurable
( config: RunnableConfig | None, patch: dict[str, Any] )
libs/langgraph/langgraph/_internal/_config.py:52
↓ 21 callersMethodprocess
(self, event: dict[str, Any])
libs/langgraph/tests/test_stream_before_builtins.py:49
↓ 21 callersMethodrespond
Reply to a server-side interrupt and resume the run. Args: response: the response value forwarded as `params.response` on the
libs/sdk-py/langgraph_sdk/_async/stream.py:211
↓ 21 callersMethodsetup
(self)
libs/checkpoint/tests/test_memory.py:36
↓ 20 callersFunction_base
(seq: int, method: str, namespace: list[str], data: Any)
libs/sdk-py/tests/streaming/_events.py:11
↓ 20 callersFunction_drain
(transformer: Any)
libs/langgraph/tests/test_stream_data_transformers.py:85
↓ 20 callersFunction_unstamped
Strip push stamps from a StreamChannel's internal buffer.
libs/langgraph/tests/test_stream_messages_transformer.py:29
↓ 20 callersMethodainvoke
( self, input: InputT | Command | None, config: RunnableConfig | None = None,
libs/langgraph/langgraph/pregel/main.py:3960
↓ 20 callersMethodcursor
Get a cursor for the SQLite database. This method returns a cursor for the SQLite database. It is used internally by the SqliteSaver
libs/checkpoint-sqlite/langgraph/checkpoint/sqlite/__init__.py:169
↓ 20 callersMethodinfo
(self, message: str, **extra: object)
libs/cli/langgraph_cli/deploy.py:145
↓ 20 callersMethodinvoke
( self, input: InputT | Command | None, config: RunnableConfig | None = None,
libs/langgraph/langgraph/pregel/main.py:3783
↓ 20 callersMethodwait
( self, thread_id: str, assistant_id: str, *, input: Input | None = No
libs/sdk-py/langgraph_sdk/_async/runs.py:625
↓ 19 callersFunction_event
( method: str, data: Any = None, *, namespace: list[str] | None = None, interrupts: tuple[
libs/langgraph/tests/test_pregel_stream_events_v3.py:36
↓ 19 callersMethodclose
Mark the channel as complete.
libs/langgraph/langgraph/stream/stream_channel.py:142
↓ 19 callersMethoddelete
Delete a cron. Args: cron_id: The cron ID to delete. headers: Optional custom headers to include with the request.
libs/sdk-py/langgraph_sdk/_async/cron.py:295
↓ 19 callersMethodfrom_checkpoint
(self, checkpoint: list[Value])
libs/langgraph/langgraph/channels/topic.py:66
↓ 19 callersMethodlist_namespaces
List and filter namespaces in the store. Used to explore the organization of data, find specific collections, or navigate the namespa
libs/checkpoint/langgraph/store/base/__init__.py:946
↓ 19 callersFunctionmessage_text_finish_event
( seq: int = 0, namespace: list[str] | None = None, *, text: str, index: int = 0, mess
libs/sdk-py/tests/streaming/_events.py:146
↓ 19 callersMethodpush
Append an item. Auto-forwards if wired. The local buffer append is a no-op when no subscriber is registered, but auto-forwarding alwa
libs/langgraph/langgraph/stream/stream_channel.py:120
↓ 19 callersMethodwait
Block until the semaphore can be acquired, but don't acquire it.
libs/langgraph/langgraph/_internal/_queue.py:47
↓ 18 callersMethod_request
( self, method: str, path: str, payload: dict[str, Any] | None = None,
libs/cli/langgraph_cli/host_backend.py:45
↓ 18 callersMethodcreate
Create a cron run. Args: assistant_id: The assistant ID or graph name to use for the cron job. If using graph nam
libs/sdk-py/langgraph_sdk/_async/cron.py:179
↓ 18 callersMethodget
Remove and return an item from the queue. If optional args 'block' is true and 'timeout' is None (the default), block if necessary un
libs/langgraph/langgraph/_internal/_queue.py:88
↓ 18 callersMethodinterleave
Iterate multiple projections in arrival order, yielding ``(name, item)``. Items are ordered by a monotonic push stamp assigned when each
libs/langgraph/langgraph/stream/run_stream.py:221
↓ 18 callersMethodread
(self, size=-1)
libs/cli/langgraph_cli/deploy.py:846
↓ 18 callersMethodsetup
(self)
libs/checkpoint-sqlite/tests/test_sqlite.py:18
↓ 17 callersFunction_make_nested_graph
Build a two-level graph with pure state transforms. Structure: outer: router_node (state transform) inner_graph
libs/langgraph/tests/test_stream_events_v3_e2e.py:47
↓ 17 callersFunction_make_sync_transformer
()
libs/langgraph/tests/test_stream_messages_transformer.py:98
↓ 17 callersFunction_proto_event
Build a messages ProtocolEvent carrying a protocol event dict (v2 path).
libs/langgraph/tests/test_stream_messages_transformer.py:39
↓ 17 callersMethodastream
( self, input: InputT | Command | None, config: RunnableConfig | None = None,
libs/langgraph/langgraph/pregel/main.py:3024
↓ 17 callersMethodclose
(self)
libs/sdk-py/tests/streaming/test_controller.py:140
↓ 17 callersMethodcount
Count cron jobs matching filters. Args: assistant_id: Assistant ID to filter by. thread_id: Thread ID to filter by.
libs/sdk-py/langgraph_sdk/_async/cron.py:511
↓ 17 callersMethodlist
List runs. Args: thread_id: The thread ID to list runs for. limit: The maximum number of results to return.
libs/sdk-py/langgraph_sdk/_async/runs.py:854
↓ 17 callersMethodset_exception
(self, error: BaseException)
libs/sdk-py/langgraph_sdk/_sync/stream.py:158
↓ 17 callersMethodset_state
( self, values: dict[str, Any], next: list[Any] | None = None, metadata: dict[
libs/sdk-py/tests/streaming/_sync_fake_server.py:75
↓ 17 callersFunctiontemporary_config_folder
(config_content: dict, levels: int = 0)
libs/cli/tests/unit_tests/cli/test_cli.py:32
↓ 17 callersFunctiontool_finished_event
( seq: int = 0, namespace: list[str] | None = None, *, tool_call_id: str = "call-1", outpu
libs/sdk-py/tests/streaming/_events.py:236
↓ 16 callersMethodclose
(self)
libs/sdk-py/tests/test_client_stream.py:63
↓ 15 callersFunction_create_config_with_runtime
Create a RunnableConfig with mock Runtime for testing ToolNode. Returns: RunnableConfig with __pregel_runtime in configurable dict.
libs/prebuilt/tests/test_tool_node_interceptor_unregistered.py:33
↓ 15 callersMethodabort
Stop the run early. Closes the underlying graph iterator (propagating `GeneratorExit` so in-flight nodes and subgraphs are cancelled)
libs/langgraph/langgraph/stream/run_stream.py:148
↓ 15 callersFunctionadd_messages
Merges two lists of messages, updating existing messages by ID. By default, this ensures the state is "append-only", unless the new message h
libs/langgraph/langgraph/graph/message.py:61
↓ 15 callersFunctioncustom_event
( seq: int = 0, name: str = "ext", namespace: list[str] | None = None, **data: Any )
libs/sdk-py/tests/streaming/_events.py:90
↓ 15 callersFunctiondocker_tag
( config: Config, base_image: str | None = None, api_version: str | None = None, )
libs/cli/langgraph_cli/config.py:1566
↓ 15 callersMethodget_output_jsonschema
( self, config: RunnableConfig | None = None )
libs/langgraph/langgraph/pregel/main.py:1057
↓ 15 callersMethodput
Store or update an item in the store. Args: namespace: Hierarchical path for the item, represented as a tuple of strings.
libs/checkpoint/langgraph/store/base/__init__.py:856
↓ 15 callersFunctiontool_output_delta_event
( seq: int = 0, namespace: list[str] | None = None, *, tool_call_id: str = "call-1", delta
libs/sdk-py/tests/streaming/_events.py:217
↓ 15 callersMethodupdate
Update a cron job by ID. Args: cron_id: The cron ID to update. schedule: The cron schedule to execute this job on.
libs/sdk-py/langgraph_sdk/_async/cron.py:326
↓ 15 callersMethodupdate
Update a cron job by ID. Args: cron_id: The cron ID to update. schedule: The cron schedule to execute this job on.
libs/sdk-py/langgraph_sdk/_sync/cron.py:315
↓ 14 callersMethodaclose
Close the underlying HTTP client.
libs/sdk-py/langgraph_sdk/_async/client.py:175
↓ 14 callersMethodclose
(self)
libs/checkpoint/langgraph/checkpoint/memory/__init__.py:674
↓ 14 callersFunctioncollect_allowlist_from_schemas
( *, schemas: list[type[Any]] | None = None, channels: dict[str, Any] | None = None, )
libs/langgraph/langgraph/_internal/_serde.py:101
↓ 14 callersMethodget_name
(self, suffix: str | None = None, *, name: str | None = None)
libs/langgraph/langgraph/pregel/_read.py:54
↓ 14 callersMethodresult
(self, timeout: float | None = None)
libs/sdk-py/langgraph_sdk/_sync/stream.py:164
↓ 14 callersMethodsubmit
( # type: ignore[valid-type] self, fn: Callable[P, T], *args: P.args, __name_
libs/langgraph/langgraph/pregel/_executor.py:54
↓ 13 callersFunction_build_ignore_spec
Build a PathSpec combining built-in exclusions with ignore files. Always excludes common non-source directories (`_ALWAYS_EXCLUDE`). On top o
libs/cli/langgraph_cli/_ignore.py:38
↓ 13 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/store/postgres/base.py:942
↓ 13 callersFunction_tasks_start
( namespace: list[str], *, task_id: str, name: str, )
libs/langgraph/tests/test_stream_subgraph_transformer.py:48
↓ 13 callersMethodalist
Asynchronous version of `list`. This method is an asynchronous wrapper around `list` that runs the synchronous method in a separate t
libs/checkpoint/langgraph/checkpoint/memory/__init__.py:543
↓ 13 callersFunctioncreate_vector_store
Create a SqliteStore with vector search enabled.
libs/checkpoint-sqlite/tests/test_store.py:116
↓ 13 callersMethoddelete
Delete an item. Args: namespace: Hierarchical path for the item. key: Unique identifier within the namespace.
libs/checkpoint/langgraph/store/base/__init__.py:937
↓ 13 callersMethoddumps_typed
(self, obj: Any)
libs/checkpoint/langgraph/checkpoint/serde/base.py:33
↓ 13 callersMethodget_input_jsonschema
( self, config: RunnableConfig | None = None )
libs/langgraph/langgraph/pregel/main.py:1028
↓ 13 callersMethodopen_event_stream
(self, params: dict[str, Any])
libs/sdk-py/langgraph_sdk/stream/transport/ws.py:74
↓ 13 callersMethodoutput
Drive the run to completion and return the final state.
libs/langgraph/langgraph/stream/run_stream.py:185
↓ 13 callersMethodoverride
Replace the runtime with a new runtime with the given overrides.
libs/langgraph/langgraph/runtime.py:260
↓ 13 callersMethodset_node_defaults
Set default node policies that apply to every node in this graph. Per-node values passed to `add_node` always take precedence over these
libs/langgraph/langgraph/graph/state.py:271
↓ 12 callersFunction_AnyIdToolMessage
Create a tool message with an any id field.
libs/langgraph/tests/messages.py:46
↓ 12 callersMethod_capture
Run fn with stdout captured and return parsed JSON objects.
libs/cli/tests/unit_tests/test_deploy_helpers.py:372
↓ 12 callersFunction_get_emitter
Return the module-level emitter (falls back to text mode).
libs/cli/langgraph_cli/deploy.py:280
↓ 12 callersFunction_raise_for_status_typed
(r: httpx.Response)
libs/sdk-py/langgraph_sdk/errors.py:224
↓ 12 callersFunction_smith_dashboard_base_url
Derive the LangSmith dashboard base URL from the API host URL.
libs/cli/langgraph_cli/deploy.py:661
↓ 12 callersMethodaget
Asynchronously get the cached values for the given keys.
libs/checkpoint-sqlite/langgraph/cache/sqlite/__init__.py:74
↓ 12 callersMethodaget_tuple
(self, config: RunnableConfig)
libs/langgraph/tests/test_pregel_async.py:97
↓ 12 callersFunctioncheck_api_reachable
Fail fast with a helpful message if the API isn't reachable. Call this at the top of `main()` in each script.
libs/sdk-py/integration/scripts/_common.py:111
↓ 12 callersMethodclose
( # type: ignore[override] self, code: int = 1000, reason: str = "", # n
libs/sdk-py/tests/streaming/test_transport_ws.py:486
↓ 12 callersFunctionconfig_to_compose
( config_path: pathlib.Path, config: Config, base_image: str | None = None, api_version: str |
libs/cli/langgraph_cli/config.py:1651
↓ 12 callersMethodfeed
(self, event: Mapping[str, Any])
libs/sdk-py/langgraph_sdk/stream/decoders.py:216
↓ 12 callersFunctionfilter_covers
Whether `coverer` is a superset of `target`. Direct port of `client/stream/index.ts:filterCovers`. Depth coverage accounts for namespace-pref
libs/sdk-py/langgraph_sdk/stream/subscription.py:161
↓ 12 callersFunctionfind_tracked_packages
Return every tracked package found in deps as `<name>:<version>` entries. `config` is the absolute path to `langgraph.json`; dep paths in `co
libs/cli/langgraph_cli/dependency_tracking.py:98
↓ 12 callersFunctionget_checkpoint_id
Get checkpoint ID.
libs/checkpoint/langgraph/checkpoint/base/__init__.py:752
↓ 12 callersFunctionmake_async_client
Build an async ThreadsClient pointing at the integration API. Returns the client and the underlying httpx client so callers can close it. Typ
libs/sdk-py/integration/scripts/_common.py:34
↓ 12 callersFunctionmake_sync_client
Build a sync ThreadsClient pointing at the integration API.
libs/sdk-py/integration/scripts/_common.py:56
↓ 12 callersMethodmodel_dump
( self, **kwargs: Any, )
libs/sdk-py/langgraph_sdk/schema.py:960
↓ 12 callersFunctionpatch_config
Patch a config with new values. Args: config: The config to patch. callbacks: The callbacks to set. recursion_limit: The
libs/langgraph/langgraph/_internal/_config.py:194
↓ 12 callersMethodrun
( self, writer: _Writer, reader: Callable[[RunnableConfig], Any] | None = None, )
libs/langgraph/langgraph/graph/_branch.py:122
↓ 12 callersMethodsubscribe
Open a typed subscription against the shared SSE. Returns an iterator that yields raw `Event` dicts matching the given filter. Multip
libs/sdk-py/langgraph_sdk/_sync/stream.py:1263
↓ 12 callersFunctionwarn_non_wolfi_distro
Show warning if image_distro is not set to 'wolfi'. When ``emit`` is provided, each warning line is sent through it (used by callers that nee
libs/cli/langgraph_cli/util.py:12
↓ 11 callersFunction_AnyIdAIMessage
Create ai message with an any id field.
libs/langgraph/tests/messages.py:25
↓ 11 callersFunction_build_graph
Compile a minimal DeltaChannel-backed `messages` graph. `two_nodes=True` adds a second writer node so `bulk_update_state` can route distinct
libs/langgraph/tests/test_delta_channel_update_state.py:34
← previousnext →101–200 of 6,684, ranked by callers