Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/langchain-ai/langgraphjs
/ functions
Functions
4,051 in github.com/langchain-ai/langgraphjs
⨍
Functions
4,051
◇
Types & classes
1,207
↓ 32 callers
Method
next
()
libs/langgraph-core/src/stream/mux.ts:458
↓ 32 callers
Function
node
( value: ThreadState | number | undefined, paths: (ThreadState | number | undefined)[] = [] )
libs/sdk/src/ui/branching.test.ts:326
↓ 32 callers
Function
onEvent
(event: Event)
libs/sdk/src/stream/projections/media.ts:96
↓ 31 callers
Method
bindTools
(tools: BindToolsInput[])
libs/langgraph-core/src/tests/utils.models.ts:285
↓ 31 callers
Method
call
( callable: T, ...args: Parameters<T> )
libs/sdk/src/utils/async_caller.ts:149
↓ 31 callers
Method
close
()
libs/sdk/src/client/stream/test/mock-protocol-server.ts:40
↓ 31 callers
Method
finalize
* Called once when the underlying Pregel run completes without throwing. * Optional — only needed for non-channel teardown (e.g. resolving promises
libs/langgraph-core/src/stream/types.ts:194
↓ 31 callers
Method
list
()
libs/langgraph-core/src/tests/python_port/checkpoint.test.ts:150
↓ 31 callers
Function
makeHarness
( initial: { threadId?: string | null } = {}, optimistic: OptimisticOverrides = {} )
libs/sdk/src/stream/submit-coordinator.test.ts:100
↓ 31 callers
Function
makeNeverEndingSubscription
()
libs/sdk/src/stream/controller.test.ts:13
↓ 30 callers
Method
addEdge
(_from: string, _to: string)
libs/sdk-angular/src/tests/fixtures/langgraph-mocks.ts:54
↓ 30 callers
Function
beforeAll
()
libs/checkpoint-validation/src/tests/redis_initializer.ts:16
↓ 30 callers
Function
escapeRediSearchTagValue
(value: string)
libs/checkpoint-redis/src/utils.ts:13
↓ 30 callers
Function
messagesOf
(values: unknown)
libs/langgraph-core/src/tests/delta_channel.postgres.int.test.ts:69
↓ 30 callers
Method
values
()
libs/langgraph-core/src/pregel/remote-run-stream.ts:70
↓ 29 callers
Method
applyValues
* Reconcile a full `values` snapshot into the projection. * * Delegates the merge to {@link reconcileMessagesFromValues}: * values stays auth
libs/sdk/src/stream/root-message-projection.ts:399
↓ 29 callers
Function
createOptions
( overrides?: Partial<AnyStreamCustomOptions<TestState>> )
libs/sdk/src/ui/orchestrator-custom.test.ts:22
↓ 29 callers
Method
setup
* Initialize the store by running migrations to create necessary tables and indexes.
libs/checkpoint-postgres/src/store/index.ts:200
↓ 29 callers
Method
start
* Start serving the protocol routes on the given port. * * @param port - TCP port for the local Hono server. * @returns Server metadata used
examples/ui-react-transport/src/app/server.ts:93
↓ 28 callers
Function
afterAll
()
libs/checkpoint-validation/src/tests/redis_initializer.ts:43
↓ 28 callers
Function
contents
(msgs: BaseMessage[])
libs/langgraph-core/src/tests/delta_channel.postgres.int.test.ts:68
↓ 28 callers
Function
makeEvent
( method: string, ns: Namespace = [], data: unknown = {}, opts?: { node?: string; seq?: number } )
libs/langgraph-core/src/stream/transformers/lifecycle.test.ts:16
↓ 28 callers
Function
namespaceKey
(namespace: readonly string[])
libs/sdk/src/stream/namespace.ts:6
↓ 28 callers
Function
view
(data: Uint8Array | DataView, offset: number = 0)
libs/langgraph-core/src/hash.ts:31
↓ 27 callers
Method
exit
(_error?: Error)
libs/langgraph-core/src/tests/python_port/interrupt.test.ts:32
↓ 27 callers
Method
fromCheckpoint
* Return a new identical channel, optionally initialized from a checkpoint. * Can be thought of as a "restoration" from a checkpoint which is a "sn
libs/checkpoint/src/serde/types.ts:67
↓ 27 callers
Function
getSchemaDefaultGetter
( schema: SerializableSchema | unknown )
libs/langgraph-core/src/state/adapter.ts:45
↓ 27 callers
Function
getTextAtPath
(obj: any, path: string)
libs/checkpoint/src/store/base.ts:334
↓ 27 callers
Method
iterate
* Returns an async iterator starting at position {@link startAt}. Each call * returns an independent cursor so multiple consumers can iterate the s
libs/langgraph-core/src/stream/stream-channel.ts:127
↓ 27 callers
Method
putWrites
( config: RunnableConfig, writes: PendingWrite[], taskId: string )
libs/checkpoint-redis/src/index.ts:689
↓ 27 callers
Method
search
( namespacePrefix: string[], options?: { filter?: Record<string, any>; limit?: number;
libs/checkpoint/src/store/batch.ts:74
↓ 27 callers
Method
set
( pairs: { key: CacheFullKey; value: PendingWrite<string>[]; ttl?: number; }[] )
libs/langgraph-core/src/pregel/loop.ts:248
↓ 26 callers
Function
XXH3
(input: Uint8Array | string, seed: bigint = n(0))
libs/langgraph-core/src/hash.ts:480
↓ 26 callers
Method
acquire
* Acquire a ref-counted projection. * * If no entry exists for `spec.key`, one is created (allocating a * {@link StreamStore} seeded with `sp
libs/sdk/src/stream/channel-registry.ts:196
↓ 26 callers
Function
blockStartEvent
( index: number, block: { type: string; text?: string }, namespace: string[] = [] )
libs/sdk/src/stream/root-message-projection.test.ts:73
↓ 26 callers
Method
getStateHistory
* Gets the history of graph states. * Requires a checkpointer to be configured. * Useful for: * - Debugging execution history * - Implemen
libs/langgraph-core/src/pregel/index.ts:1120
↓ 26 callers
Method
setNodeDefaults
* Set graph-wide default node policies that apply to every node in this * graph. * * Per-node values passed to {@link addNode} always take pr
libs/langgraph-core/src/graph/state.ts:719
↓ 26 callers
Function
startEvent
( data: { id?: string; role?: string; tool_call_id?: string; metadata?: unknown; }, name
libs/sdk/src/stream/root-message-projection.test.ts:53
↓ 26 callers
Function
waitForExpectation
(assertion: () => void)
libs/sdk/src/stream/controller.test.ts:207
↓ 25 callers
Method
addNode
( _name: K, _fn: (state: TState) => Promise<TReturn>, )
libs/sdk-angular/src/tests/fixtures/langgraph-mocks.ts:39
↓ 25 callers
Function
convertToProtocolEvent
({ namespace: ns, mode, payload, seq, }: ConvertToProtocolEventOptions)
libs/langgraph-core/src/stream/convert.ts:84
↓ 25 callers
Function
makeEvent
( method: string, ns: string[] = [], seq = 0 )
libs/langgraph-core/src/stream/mux.test.ts:28
↓ 25 callers
Function
nextValue
(iterable: AsyncIterable<T>)
libs/sdk/src/client/stream/test/utils.ts:377
↓ 25 callers
Method
register
( registry: R, meta: SchemaMeta<TOutput, TInput> )
libs/langgraph-core/src/graph/zod/zod-registry.ts:73
↓ 24 callers
Method
call
()
libs/langgraph-core/src/tests/python_port/checkpoint.test.ts:1859
↓ 24 callers
Function
collectEvents
( run: AsyncIterable<ProtocolEvent> )
libs/langgraph-core/src/tests/pregel.stream.test.ts:22
↓ 24 callers
Function
createMockStream
(events: T[])
libs/sdk/src/ui/manager.test.ts:18
↓ 24 callers
Function
deltaChatGraph
(saver: PostgresSaver, snapshotFrequency = 1000)
libs/langgraph-core/src/tests/delta_channel.postgres.int.test.ts:74
↓ 24 callers
Method
getSubagent
* Get a specific subagent by tool call ID.
libs/sdk/src/ui/manager.ts:257
↓ 24 callers
Method
handle
* Process a single protocol event. * * Filters down to root-namespace lifecycle events, then mutates the * store's `isLoading` slot. All othe
libs/sdk/src/stream/lifecycle-loading-tracker.ts:112
↓ 24 callers
Function
listener
()
libs/langgraph-core/src/pregel/utils/index.ts:170
↓ 24 callers
Method
release
()
libs/sdk/src/stream/types.ts:540
↓ 24 callers
Function
useMessages
( stream: AnyStream, target?: SelectorTarget )
libs/sdk-react/src/selectors.ts:168
↓ 23 callers
Function
_shouldBindTools
( llm: LanguageModelLike, tools: (ClientTool | ServerTool)[] )
libs/langgraph-core/src/prebuilt/react_agent_executor.ts:200
↓ 23 callers
Function
ensureLangGraphConfig
( ...configs: (LangGraphRunnableConfig | undefined)[] )
libs/langgraph-core/src/pregel/utils/config.ts:185
↓ 23 callers
Function
getToolCallsWithResults
( messages: Message<ToolCall>[] )
libs/sdk/src/utils/tools.ts:39
↓ 23 callers
Function
human
(content: string)
libs/langgraph-core/src/tests/delta_channel.postgres.int.test.ts:66
↓ 23 callers
Function
validateGraph
({ nodes, channels, inputChannels, outputChannels, streamChannels, interruptAfterNodes, interrup
libs/langgraph-core/src/pregel/validate.ts:13
↓ 22 callers
Method
dumpsTyped
(data: any)
libs/checkpoint/src/serde/base.ts:3
↓ 22 callers
Method
fail
* Called once when the run fails; `err` is the rejection or error value. * Optional — only needed for non-channel teardown (e.g. rejecting promises
libs/langgraph-core/src/stream/types.ts:202
↓ 22 callers
Method
getState
* Fetch the latest checkpointed state for the bound thread via * `GET /threads/:threadId/state` (or an adapter-specific override). * When omitte
libs/sdk/src/client/stream/transport.ts:118
↓ 22 callers
Function
isCommand
(x: unknown)
libs/langgraph-core/src/constants.ts:650
↓ 22 callers
Function
lifecycleEvent
( data: { event?: string; error?: string }, overrides: { namespace?: string[]; seq?: number } = {} )
libs/sdk/src/stream/lifecycle-loading-tracker.test.ts:16
↓ 22 callers
Function
makeEvent
(overrides: { method: ProtocolMethod; namespace?: string[]; data?: unknown; seq?: number; })
libs/langgraph-core/src/stream/subscription.test.ts:13
↓ 22 callers
Method
shift
()
libs/sdk/src/client/stream/transport/queue.ts:57
↓ 22 callers
Method
start
(controller)
libs/sdk/src/utils/stream.ts:413
↓ 21 callers
Function
apiUrl
()
examples/streaming/src/api/_shared.ts:28
↓ 21 callers
Function
byMethod
(events: ProtocolEvent[], method: string)
libs/langgraph-core/src/tests/pregel.stream.test.ts:32
↓ 21 callers
Method
close
()
libs/sdk/src/client/stream/multi-cursor-buffer.ts:20
↓ 21 callers
Function
createMockClient
()
libs/checkpoint-mongodb/src/tests/checkpoints.test.ts:5
↓ 21 callers
Method
end
()
libs/checkpoint-postgres/src/index.ts:662
↓ 21 callers
Method
fromUrl
( url: string, ttlConfig?: TTLConfig )
libs/checkpoint-redis/src/index.ts:99
↓ 21 callers
Function
inputRequestedEvent
( interruptId = "interrupt-1", payload: unknown = { actionRequests: [ { name: "send_rele
libs/sdk/src/stream/controller.test.ts:86
↓ 21 callers
Method
isAvailable
()
libs/langgraph-core/src/channels/topic.ts:89
↓ 21 callers
Function
messagesStateReducer
( left: Messages, right: Messages )
libs/langgraph-core/src/graph/messages_reducer.ts:60
↓ 21 callers
Function
nsKey
(ns: Namespace)
libs/langgraph-core/src/stream/mux.ts:527
↓ 21 callers
Function
patchConfigurable
( config: RunnableConfig | undefined, // eslint-disable-next-line @typescript-eslint/no-explicit-any pat
libs/langgraph-core/src/pregel/utils/index.ts:114
↓ 21 callers
Method
push
(item: T)
libs/sdk/src/client/stream/multi-cursor-buffer.ts:14
↓ 21 callers
Method
respond
* Resume a pending protocol interrupt by sending a response payload * back to the interrupted namespace. * * When `options.interruptId` is om
libs/sdk-vue/src/use-stream.ts:335
↓ 20 callers
Function
_deserializeCommandSendObjectGraph
( x: unknown, seen: Map<object, unknown> = new Map() )
libs/langgraph-core/src/constants.ts:684
↓ 20 callers
Method
addSequence
( nodes: | [ key: K, action: NodeAction< NodeInput, Node
libs/langgraph-core/src/graph/state.ts:1322
↓ 20 callers
Method
isInstance
(value: unknown)
libs/langgraph-core/src/graph/annotation.ts:77
↓ 20 callers
Function
isRecord
(value: unknown)
examples/ui-react/src/utils.ts:7
↓ 20 callers
Method
list
( config: RunnableConfig | null, options?: CheckpointListOptions & { filter?: CheckpointMetadata } )
libs/checkpoint-redis/src/index.ts:311
↓ 20 callers
Method
put
( config: RunnableConfig, checkpoint: Checkpoint, metadata: CheckpointMeta
libs/langgraph-core/src/tests/pregel.test.ts:312
↓ 20 callers
Method
remote
* Create a channel whose pushes are forwarded to remote clients under * the given protocol channel name.
libs/langgraph-core/src/stream/stream-channel.ts:91
↓ 20 callers
Function
requireServer
(url: string = apiUrl())
examples/streaming/src/api/_shared.ts:33
↓ 20 callers
Function
sequence
(...items: unknown[])
libs/sdk/src/ui/branching.test.ts:341
↓ 19 callers
Function
_escapeMermaidKeywords
(key: string)
libs/langgraph-core/src/graph/graph.ts:1271
↓ 19 callers
Function
createSequential
(numberNodes: number)
internal/bench/src/sequential.ts:12
↓ 19 callers
Function
flush
()
libs/sdk/src/client/stream/shared-stream.test.ts:18
↓ 19 callers
Method
isInstance
( value: DeltaValue<Value, Input> | unknown )
libs/langgraph-core/src/state/values/delta.ts:196
↓ 19 callers
Function
makeSpec
( key: string, initial: string, trace: ProjectionTrace, options: { disposeImpl?: () => Promise<void> |
libs/sdk/src/stream/channel-registry.test.ts:31
↓ 19 callers
Function
matchesSubscription
( event: Event, definition: SubscribeParams )
libs/sdk/src/client/stream/subscription.ts:100
↓ 19 callers
Method
on
(event: T, callback: OnCallback<T, TUser>)
libs/sdk/src/auth/index.ts:32
↓ 19 callers
Method
pause
()
libs/sdk-vue/src/use-video-player.ts:30
↓ 19 callers
Method
shift
* Remove and return the next pending entry (FIFO).
libs/sdk/src/ui/queue.ts:71
↓ 19 callers
Method
values
* Dual-interface accessor for graph state snapshots. * * As an {@link AsyncIterable}, yields each intermediate state snapshot * as it arrives
libs/langgraph-core/src/stream/run-stream.ts:214
↓ 18 callers
Method
checkpoint
* Return a string representation of the channel's current state. * * @throws {EmptyChannelError} if the channel is empty (never updated yet), or
libs/checkpoint/src/serde/types.ts:93
↓ 18 callers
Method
compile
()
libs/sdk-angular/src/tests/fixtures/langgraph-mocks.ts:58
← previous
next →
101–200 of 4,051, ranked by callers