MCPcopy Create free account

hub / github.com/langchain-ai/langgraph / types & classes

Types & classes381 in github.com/langchain-ai/langgraph

↓ 106 callersClassStateGraph
A graph whose nodes communicate by reading and writing to a shared state. The signature of each node is State -> Partial<State>. Each state k
libs/langgraph/langgraph/graph/state.py:76
↓ 50 callersClassAnyStr
libs/langgraph/tests/any_str.py:27
↓ 41 callersClassLastValue
Stores the last value received, can receive at most one value per step.
libs/langgraph/langgraph/channels/last_value.py:9
↓ 40 callersClassPregel
libs/langgraph/langgraph/pregel/__init__.py:178
↓ 32 callersClassPregelTask
libs/langgraph/langgraph/types.py:104
↓ 31 callersClassStateSnapshot
Snapshot of the state of the graph at the beginning of a step.
libs/langgraph/langgraph/types.py:127
↓ 17 callersClassGraph
libs/langgraph/langgraph/graph/graph.py:141
↓ 15 callersClassCheckpointTuple
A tuple containing a checkpoint and its associated data.
libs/checkpoint/langgraph/checkpoint/base/__init__.py:157
↓ 13 callersClassToolNode
A node that runs the tools called in the last AIMessage. It can be used either in StateGraph with a "messages" key or in MessageGraph. If mul
libs/langgraph/langgraph/prebuilt/tool_node.py:70
↓ 12 callersClassInMemoryStore
A KV store backed by an in-memory python dictionary. Useful for testing/experimentation and lightweight PoC's. For actual persistence, use a
libs/checkpoint/langgraph/store/memory/__init__.py:18
↓ 12 callersClassInvalidUpdateError
Raised when attempting to update a channel with an invalid set of updates.
libs/langgraph/langgraph/errors.py:28
↓ 12 callersClassPutOp
Operation to store, update, or delete an item.
libs/checkpoint/langgraph/store/base/__init__.py:98
↓ 12 callersClassTopic
A configurable PubSub Topic. Args: typ: The type of the value stored in the channel. accumulate: Whether to accumulate values acr
libs/langgraph/langgraph/channels/topic.py:17
↓ 11 callersClassFakeToolCallingModel
libs/langgraph/tests/test_prebuilt.py:54
↓ 10 callersClassChannelWriteEntry
libs/langgraph/langgraph/pregel/write.py:28
↓ 10 callersClassMessageToOrchestrator
libs/scheduler-kafka/langgraph/scheduler/kafka/types.py:20
↓ 10 callersClassUUID
r"""UUID draft version objects
libs/checkpoint/langgraph/checkpoint/base/id.py:14
↓ 9 callersClassJsonPlusSerializer
libs/checkpoint/langgraph/checkpoint/serde/jsonplus.py:34
↓ 9 callersClassSend
A message or packet to send to a specific node in the graph. The `Send` class is used within a `StateGraph`'s conditional edges to dynamicall
libs/langgraph/langgraph/types.py:146
↓ 8 callersClassChannelWrite
Implements th logic for sending writes to CONFIG_KEY_SEND. Can be used as a runnable or as a static method to call imperatively.
libs/langgraph/langgraph/pregel/write.py:39
↓ 8 callersClassEmptyChannelError
Raised when attempting to get the value of a channel that hasn't been updated for the first time yet.
libs/checkpoint/langgraph/checkpoint/base/__init__.py:431
↓ 8 callersClassEphemeralValue
Stores the value received in the step immediately preceding, clears after.
libs/langgraph/langgraph/channels/ephemeral_value.py:9
↓ 8 callersClassGetOp
Operation to retrieve an item by namespace and key.
libs/checkpoint/langgraph/store/base/__init__.py:76
↓ 7 callersClassAgentAction
libs/langgraph/tests/test_pregel.py:97
↓ 7 callersClassAgentFinish
Final return value of an ActionAgent. Agents return an AgentFinish when they have reached a stopping condition.
libs/langgraph/tests/test_pregel.py:115
↓ 7 callersClassAnyDict
libs/langgraph/tests/any_str.py:43
↓ 7 callersClassContext
libs/langgraph/langgraph/managed/context.py:22
↓ 7 callersClassMemorySaver
An in-memory checkpoint saver. This checkpoint saver stores checkpoints in memory using a defaultdict. Note: Only use `MemorySaver`
libs/checkpoint/langgraph/checkpoint/memory/__init__.py:24
↓ 7 callersClassRetryPolicy
Configuration for retrying nodes.
libs/langgraph/langgraph/types.py:73
↓ 7 callersClassSearchOp
Operation to search for items within a namespace prefix.
libs/checkpoint/langgraph/store/base/__init__.py:85
↓ 6 callersClassAnyDict
libs/scheduler-kafka/tests/any.py:21
↓ 6 callersClassBinaryOperatorAggregate
Stores the result of applying a binary operator to the current value and each new value. ```python import operator total = Channels.Bina
libs/langgraph/langgraph/channels/binop.py:27
↓ 6 callersClassListNamespacesOp
Operation to list namespaces with optional match conditions.
libs/checkpoint/langgraph/store/base/__init__.py:137
↓ 5 callersClassDefaultProducer
libs/scheduler-kafka/langgraph/scheduler/kafka/default_sync.py:21
↓ 5 callersClassItem
Represents a stored item with metadata. Args: value (dict[str, Any]): The stored data as a dictionary. Keys are filterable. (str)
libs/checkpoint/langgraph/store/base/__init__.py:12
↓ 5 callersClassMockAsyncCursor
libs/checkpoint-postgres/tests/test_async_store.py:14
↓ 5 callersClassMockCursor
libs/checkpoint-postgres/tests/test_store.py:14
↓ 4 callersClassBackgroundExecutor
A context manager that runs sync tasks in the background. Uses a thread pool executor to delegate tasks to separate threads. On exit, - ca
libs/langgraph/langgraph/pregel/executor.py:41
↓ 4 callersClassErrorMessage
libs/scheduler-kafka/langgraph/scheduler/kafka/types.py:37
↓ 4 callersClassFakeTracer
Fake tracer that records LangChain execution. It replaces run ids with deterministic UUIDs for snapshotting.
libs/langgraph/tests/fake_tracer.py:10
↓ 4 callersClassFloatBetween
libs/langgraph/tests/any_str.py:7
↓ 4 callersClassMessageGraph
A StateGraph where every node receives a list of messages as input and returns one or more messages as output. MessageGraph is a subclass of Stat
libs/langgraph/langgraph/graph/message.py:106
↓ 4 callersClassPregelNode
A node in a Pregel graph. This won't be invoked as a runnable by the graph itself, but instead acts as a container for the components necessary to
libs/langgraph/langgraph/pregel/read.py:113
↓ 4 callersClassPregelRunner
Responsible for executing a set of Pregel tasks concurrently, committing their writes, yielding control to caller when there is output to emit, an
libs/langgraph/langgraph/pregel/runner.py:24
↓ 4 callersClassPregelTaskWrites
Simplest implementation of WritesProtocol, for usage with writes that don't originate from a runnable task, eg. graph input, update_state, etc.
libs/langgraph/langgraph/pregel/algo.py:80
↓ 4 callersClassRunnableCallable
A much simpler version of RunnableLambda that requires sync and async functions.
libs/langgraph/langgraph/utils/runnable.py:83
↓ 4 callersClassRunnableSeq
A simpler version of RunnableSequence.
libs/langgraph/langgraph/utils/runnable.py:299
↓ 4 callersClassUnsortedSequence
libs/langgraph/tests/any_str.py:71
↓ 4 callersClassVersion
libs/cli/langgraph_cli/docker.py:44
↓ 3 callersClassAsyncPostgresSaver
libs/checkpoint-postgres/langgraph/checkpoint/postgres/aio.py:39
↓ 3 callersClassAwhileMaker
libs/langgraph/tests/test_pregel_async.py:423
↓ 3 callersClassCheckpoint
State snapshot at a given point in time.
libs/checkpoint/langgraph/checkpoint/base/__init__.py:73
↓ 3 callersClassDefaultConsumer
libs/scheduler-kafka/langgraph/scheduler/kafka/default_sync.py:8
↓ 3 callersClassDockerCapabilities
libs/cli/langgraph_cli/docker.py:53
↓ 3 callersClassInjectedState
Annotation for a Tool arg that is meant to be populated with the graph state. Any Tool argument annotated with InjectedState will be hidden from
libs/langgraph/langgraph/prebuilt/tool_node.py:391
↓ 3 callersClassInjectedStore
Annotation for a Tool arg that is meant to be populated with LangGraph store. Any Tool argument annotated with InjectedStore will be hidden from
libs/langgraph/langgraph/prebuilt/tool_node.py:454
↓ 3 callersClassInterrupt
libs/langgraph/langgraph/types.py:99
↓ 3 callersClassNodeInterrupt
Raised by a node to interrupt execution.
libs/langgraph/langgraph/errors.py:42
↓ 3 callersClassPostgresSaver
libs/checkpoint-postgres/langgraph/checkpoint/postgres/__init__.py:37
↓ 3 callersClassProgress
libs/cli/langgraph_cli/progress.py:7
↓ 3 callersClassStreamProtocol
libs/langgraph/langgraph/pregel/loop.py:116
↓ 2 callersClassAnyStr
libs/scheduler-kafka/tests/any.py:5
↓ 2 callersClassAnyVersion
libs/langgraph/tests/any_str.py:60
↓ 2 callersClassAsyncBackgroundExecutor
A context manager that runs async tasks in the background. Uses the current event loop to delegate tasks to asyncio tasks. On exit, - canc
libs/langgraph/langgraph/pregel/executor.py:110
↓ 2 callersClassAsyncPregelLoop
libs/langgraph/langgraph/pregel/loop.py:773
↓ 2 callersClassCheckpointNotLatest
Raised when the checkpoint is not the latest version (for distributed mode).
libs/langgraph/langgraph/errors.py:68
↓ 2 callersClassConfiguredManagedValue
libs/langgraph/langgraph/managed/base.py:67
↓ 2 callersClassDefaultAsyncConsumer
libs/scheduler-kafka/langgraph/scheduler/kafka/default_async.py:4
↓ 2 callersClassDefaultAsyncProducer
libs/scheduler-kafka/langgraph/scheduler/kafka/default_async.py:8
↓ 2 callersClassExecutorTask
libs/scheduler-kafka/langgraph/scheduler/kafka/types.py:26
↓ 2 callersClassFakeChatModel
libs/langgraph/tests/fake_chat.py:10
↓ 2 callersClassFakeFuntionChatModel
libs/langgraph/tests/test_pregel.py:4913
↓ 2 callersClassGraphDelegate
Raised when a graph is delegated (for distributed mode).
libs/langgraph/langgraph/errors.py:49
↓ 2 callersClassGraphRecursionError
Raised when the graph has exhausted the maximum number of steps. This prevents infinite loops. To increase the maximum number of steps, run y
libs/langgraph/langgraph/errors.py:9
↓ 2 callersClassMatchCondition
Represents a single match condition.
libs/checkpoint/langgraph/store/base/__init__.py:130
↓ 2 callersClassMemorySaverAssertCheckpointMetadata
This custom checkpointer is for verifying that a run's configurable fields are merged with the previous checkpoint config for each step in the
libs/langgraph/tests/memory_assert.py:67
↓ 2 callersClassMemorySaverAssertImmutable
libs/langgraph/tests/memory_assert.py:26
↓ 2 callersClassMessageToExecutor
libs/scheduler-kafka/langgraph/scheduler/kafka/types.py:31
↓ 2 callersClassNode
libs/langgraph/tests/test_pregel_async.py:1881
↓ 2 callersClassSendable
libs/scheduler-kafka/langgraph/scheduler/kafka/types.py:14
↓ 2 callersClassStreamMessagesHandler
A callback handler that implements stream_mode=messages. Collects messages from (1) chat model stream events and (2) node outputs.
libs/langgraph/langgraph/pregel/messages.py:26
↓ 2 callersClassStreamPart
Represents a part of a stream response.
libs/sdk-py/langgraph_sdk/schema.py:310
↓ 2 callersClassSyncPregelLoop
libs/langgraph/langgraph/pregel/loop.py:648
↓ 2 callersClassTaskNotFound
Raised when the executor is unable to find a task (for distributed mode).
libs/langgraph/langgraph/errors.py:62
↓ 1 callersClassAddableUpdatesDict
libs/langgraph/langgraph/pregel/io.py:92
↓ 1 callersClassAddableValuesDict
libs/langgraph/langgraph/pregel/io.py:66
↓ 1 callersClassAnalyst
libs/langgraph/tests/test_pregel.py:11182
↓ 1 callersClassAssistantsClient
Client for managing assistants in LangGraph. This class provides methods to interact with assistants, which are versioned configurations of y
libs/sdk-py/langgraph_sdk/client.py:319
↓ 1 callersClassAsyncFuncCallable
libs/langgraph/tests/test_utils.py:45
↓ 1 callersClassAsyncGenCallable
libs/langgraph/tests/test_utils.py:80
↓ 1 callersClassAsyncKafkaExecutor
libs/scheduler-kafka/langgraph/scheduler/kafka/executor.py:44
↓ 1 callersClassAsyncKafkaOrchestrator
libs/scheduler-kafka/langgraph/scheduler/kafka/orchestrator.py:43
↓ 1 callersClassAsyncPostgresStore
libs/checkpoint-postgres/langgraph/store/postgres/aio.py:32
↓ 1 callersClassAsyncQueue
Async unbounded FIFO queue with a wait() method. Subclassed from asyncio.Queue, adding a wait() method.
libs/langgraph/langgraph/utils/queue.py:15
↓ 1 callersClassAsyncSqliteSaver
An asynchronous checkpoint saver that stores checkpoints in a SQLite database. This class provides an asynchronous interface for saving and retri
libs/checkpoint-sqlite/langgraph/checkpoint/sqlite/aio.py:36
↓ 1 callersClassAwhileMaker
libs/langgraph/tests/test_pregel.py:1450
↓ 1 callersClassBranch
libs/langgraph/langgraph/graph/graph.py:52
↓ 1 callersClassChooseAnalyzer
libs/langgraph/tests/test_pregel.py:8300
↓ 1 callersClassCompiledGraph
libs/langgraph/langgraph/graph/graph.py:457
↓ 1 callersClassCompiledStateGraph
libs/langgraph/langgraph/graph/state.py:495
next →1–100 of 381, ranked by callers