Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/langchain-ai/langgraph
/ types & classes
Types & classes
381 in github.com/langchain-ai/langgraph
⨍
Functions
1,515
◇
Types & classes
381
↳
Endpoints
1
↓ 106 callers
Class
StateGraph
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 callers
Class
AnyStr
libs/langgraph/tests/any_str.py:27
↓ 41 callers
Class
LastValue
Stores the last value received, can receive at most one value per step.
libs/langgraph/langgraph/channels/last_value.py:9
↓ 40 callers
Class
Pregel
libs/langgraph/langgraph/pregel/__init__.py:178
↓ 32 callers
Class
PregelTask
libs/langgraph/langgraph/types.py:104
↓ 31 callers
Class
StateSnapshot
Snapshot of the state of the graph at the beginning of a step.
libs/langgraph/langgraph/types.py:127
↓ 17 callers
Class
Graph
libs/langgraph/langgraph/graph/graph.py:141
↓ 15 callers
Class
CheckpointTuple
A tuple containing a checkpoint and its associated data.
libs/checkpoint/langgraph/checkpoint/base/__init__.py:157
↓ 13 callers
Class
ToolNode
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 callers
Class
InMemoryStore
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 callers
Class
InvalidUpdateError
Raised when attempting to update a channel with an invalid set of updates.
libs/langgraph/langgraph/errors.py:28
↓ 12 callers
Class
PutOp
Operation to store, update, or delete an item.
libs/checkpoint/langgraph/store/base/__init__.py:98
↓ 12 callers
Class
Topic
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 callers
Class
FakeToolCallingModel
libs/langgraph/tests/test_prebuilt.py:54
↓ 10 callers
Class
ChannelWriteEntry
libs/langgraph/langgraph/pregel/write.py:28
↓ 10 callers
Class
MessageToOrchestrator
libs/scheduler-kafka/langgraph/scheduler/kafka/types.py:20
↓ 10 callers
Class
UUID
r"""UUID draft version objects
libs/checkpoint/langgraph/checkpoint/base/id.py:14
↓ 9 callers
Class
JsonPlusSerializer
libs/checkpoint/langgraph/checkpoint/serde/jsonplus.py:34
↓ 9 callers
Class
Send
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 callers
Class
ChannelWrite
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 callers
Class
EmptyChannelError
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 callers
Class
EphemeralValue
Stores the value received in the step immediately preceding, clears after.
libs/langgraph/langgraph/channels/ephemeral_value.py:9
↓ 8 callers
Class
GetOp
Operation to retrieve an item by namespace and key.
libs/checkpoint/langgraph/store/base/__init__.py:76
↓ 7 callers
Class
AgentAction
libs/langgraph/tests/test_pregel.py:97
↓ 7 callers
Class
AgentFinish
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 callers
Class
AnyDict
libs/langgraph/tests/any_str.py:43
↓ 7 callers
Class
Context
libs/langgraph/langgraph/managed/context.py:22
↓ 7 callers
Class
MemorySaver
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 callers
Class
RetryPolicy
Configuration for retrying nodes.
libs/langgraph/langgraph/types.py:73
↓ 7 callers
Class
SearchOp
Operation to search for items within a namespace prefix.
libs/checkpoint/langgraph/store/base/__init__.py:85
↓ 6 callers
Class
AnyDict
libs/scheduler-kafka/tests/any.py:21
↓ 6 callers
Class
BinaryOperatorAggregate
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 callers
Class
ListNamespacesOp
Operation to list namespaces with optional match conditions.
libs/checkpoint/langgraph/store/base/__init__.py:137
↓ 5 callers
Class
DefaultProducer
libs/scheduler-kafka/langgraph/scheduler/kafka/default_sync.py:21
↓ 5 callers
Class
Item
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 callers
Class
MockAsyncCursor
libs/checkpoint-postgres/tests/test_async_store.py:14
↓ 5 callers
Class
MockCursor
libs/checkpoint-postgres/tests/test_store.py:14
↓ 4 callers
Class
BackgroundExecutor
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 callers
Class
ErrorMessage
libs/scheduler-kafka/langgraph/scheduler/kafka/types.py:37
↓ 4 callers
Class
FakeTracer
Fake tracer that records LangChain execution. It replaces run ids with deterministic UUIDs for snapshotting.
libs/langgraph/tests/fake_tracer.py:10
↓ 4 callers
Class
FloatBetween
libs/langgraph/tests/any_str.py:7
↓ 4 callers
Class
MessageGraph
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 callers
Class
PregelNode
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 callers
Class
PregelRunner
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 callers
Class
PregelTaskWrites
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 callers
Class
RunnableCallable
A much simpler version of RunnableLambda that requires sync and async functions.
libs/langgraph/langgraph/utils/runnable.py:83
↓ 4 callers
Class
RunnableSeq
A simpler version of RunnableSequence.
libs/langgraph/langgraph/utils/runnable.py:299
↓ 4 callers
Class
UnsortedSequence
libs/langgraph/tests/any_str.py:71
↓ 4 callers
Class
Version
libs/cli/langgraph_cli/docker.py:44
↓ 3 callers
Class
AsyncPostgresSaver
libs/checkpoint-postgres/langgraph/checkpoint/postgres/aio.py:39
↓ 3 callers
Class
AwhileMaker
libs/langgraph/tests/test_pregel_async.py:423
↓ 3 callers
Class
Checkpoint
State snapshot at a given point in time.
libs/checkpoint/langgraph/checkpoint/base/__init__.py:73
↓ 3 callers
Class
DefaultConsumer
libs/scheduler-kafka/langgraph/scheduler/kafka/default_sync.py:8
↓ 3 callers
Class
DockerCapabilities
libs/cli/langgraph_cli/docker.py:53
↓ 3 callers
Class
InjectedState
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 callers
Class
InjectedStore
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 callers
Class
Interrupt
libs/langgraph/langgraph/types.py:99
↓ 3 callers
Class
NodeInterrupt
Raised by a node to interrupt execution.
libs/langgraph/langgraph/errors.py:42
↓ 3 callers
Class
PostgresSaver
libs/checkpoint-postgres/langgraph/checkpoint/postgres/__init__.py:37
↓ 3 callers
Class
Progress
libs/cli/langgraph_cli/progress.py:7
↓ 3 callers
Class
StreamProtocol
libs/langgraph/langgraph/pregel/loop.py:116
↓ 2 callers
Class
AnyStr
libs/scheduler-kafka/tests/any.py:5
↓ 2 callers
Class
AnyVersion
libs/langgraph/tests/any_str.py:60
↓ 2 callers
Class
AsyncBackgroundExecutor
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 callers
Class
AsyncPregelLoop
libs/langgraph/langgraph/pregel/loop.py:773
↓ 2 callers
Class
CheckpointNotLatest
Raised when the checkpoint is not the latest version (for distributed mode).
libs/langgraph/langgraph/errors.py:68
↓ 2 callers
Class
ConfiguredManagedValue
libs/langgraph/langgraph/managed/base.py:67
↓ 2 callers
Class
DefaultAsyncConsumer
libs/scheduler-kafka/langgraph/scheduler/kafka/default_async.py:4
↓ 2 callers
Class
DefaultAsyncProducer
libs/scheduler-kafka/langgraph/scheduler/kafka/default_async.py:8
↓ 2 callers
Class
ExecutorTask
libs/scheduler-kafka/langgraph/scheduler/kafka/types.py:26
↓ 2 callers
Class
FakeChatModel
libs/langgraph/tests/fake_chat.py:10
↓ 2 callers
Class
FakeFuntionChatModel
libs/langgraph/tests/test_pregel.py:4913
↓ 2 callers
Class
GraphDelegate
Raised when a graph is delegated (for distributed mode).
libs/langgraph/langgraph/errors.py:49
↓ 2 callers
Class
GraphRecursionError
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 callers
Class
MatchCondition
Represents a single match condition.
libs/checkpoint/langgraph/store/base/__init__.py:130
↓ 2 callers
Class
MemorySaverAssertCheckpointMetadata
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 callers
Class
MemorySaverAssertImmutable
libs/langgraph/tests/memory_assert.py:26
↓ 2 callers
Class
MessageToExecutor
libs/scheduler-kafka/langgraph/scheduler/kafka/types.py:31
↓ 2 callers
Class
Node
libs/langgraph/tests/test_pregel_async.py:1881
↓ 2 callers
Class
Sendable
libs/scheduler-kafka/langgraph/scheduler/kafka/types.py:14
↓ 2 callers
Class
StreamMessagesHandler
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 callers
Class
StreamPart
Represents a part of a stream response.
libs/sdk-py/langgraph_sdk/schema.py:310
↓ 2 callers
Class
SyncPregelLoop
libs/langgraph/langgraph/pregel/loop.py:648
↓ 2 callers
Class
TaskNotFound
Raised when the executor is unable to find a task (for distributed mode).
libs/langgraph/langgraph/errors.py:62
↓ 1 callers
Class
AddableUpdatesDict
libs/langgraph/langgraph/pregel/io.py:92
↓ 1 callers
Class
AddableValuesDict
libs/langgraph/langgraph/pregel/io.py:66
↓ 1 callers
Class
Analyst
libs/langgraph/tests/test_pregel.py:11182
↓ 1 callers
Class
AssistantsClient
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 callers
Class
AsyncFuncCallable
libs/langgraph/tests/test_utils.py:45
↓ 1 callers
Class
AsyncGenCallable
libs/langgraph/tests/test_utils.py:80
↓ 1 callers
Class
AsyncKafkaExecutor
libs/scheduler-kafka/langgraph/scheduler/kafka/executor.py:44
↓ 1 callers
Class
AsyncKafkaOrchestrator
libs/scheduler-kafka/langgraph/scheduler/kafka/orchestrator.py:43
↓ 1 callers
Class
AsyncPostgresStore
libs/checkpoint-postgres/langgraph/store/postgres/aio.py:32
↓ 1 callers
Class
AsyncQueue
Async unbounded FIFO queue with a wait() method. Subclassed from asyncio.Queue, adding a wait() method.
libs/langgraph/langgraph/utils/queue.py:15
↓ 1 callers
Class
AsyncSqliteSaver
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 callers
Class
AwhileMaker
libs/langgraph/tests/test_pregel.py:1450
↓ 1 callers
Class
Branch
libs/langgraph/langgraph/graph/graph.py:52
↓ 1 callers
Class
ChooseAnalyzer
libs/langgraph/tests/test_pregel.py:8300
↓ 1 callers
Class
CompiledGraph
libs/langgraph/langgraph/graph/graph.py:457
↓ 1 callers
Class
CompiledStateGraph
libs/langgraph/langgraph/graph/state.py:495
next →
1–100 of 381, ranked by callers