Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/langchain-ai/langgraphjs
/ functions
Functions
4,051 in github.com/langchain-ai/langgraphjs
⨍
Functions
4,051
◇
Types & classes
1,207
↓ 2 callers
Method
currentResponse
()
libs/sdk-react/src/tests/fixtures/shared.ts:80
↓ 2 callers
Function
decodeArraysToJson
(decoder: TextDecoder, data: ArrayLike<number>[])
libs/sdk/src/utils/sse.ts:173
↓ 2 callers
Function
defaultOptions
()
libs/checkpoint/src/serde/utils/fast-safe-stringify/index.ts:14
↓ 2 callers
Function
delay
(ms: number)
libs/langgraph-core/src/tests/python_port/checkpoint.test.ts:2086
↓ 2 callers
Method
delete
(namespace: string[], key: string)
libs/checkpoint-redis/src/store.ts:639
↓ 2 callers
Method
deleteThread
(threadId: string)
libs/checkpoint-mongodb/src/checkpoint.ts:512
↓ 2 callers
Function
deriveWorkerLabel
(subagent: SubagentDiscoverySnapshot)
examples/ui-react/src/views/FanOutView.tsx:250
↓ 2 callers
Function
deterministicStringify
(obj: any)
libs/checkpoint-redis/src/shallow.ts:22
↓ 2 callers
Method
dispatchResume
* Surface a *resumed* run's failure the same way {@link submit} surfaces * a fresh run's failure — by writing it to the reactive * {@link RootSn
libs/sdk/src/stream/submit-coordinator.ts:593
↓ 2 callers
Method
doRead
( config: RunnableConfig, channel: string | Array<string>, fresh: boolean, mapper?: (args: unk
libs/langgraph-core/src/pregel/read.ts:49
↓ 2 callers
Method
doWrite
( config: RunnableConfig, writes: (ChannelWriteEntry | ChannelWriteTupleEntry | Send)[] )
libs/langgraph-core/src/pregel/write.ts:96
↓ 2 callers
Method
dropOptimisticMessages
* Drop optimistic messages by id without disturbing the rest of the * projection. Used by {@link StreamController.hydrate} to remove * never-per
libs/sdk/src/stream/root-message-projection.ts:579
↓ 2 callers
Method
emitFinalMessage
( meta: Meta, message: BaseMessage, runId: string | undefined, dedupe = false )
libs/langgraph-core/src/pregel/messages-v2.ts:172
↓ 2 callers
Function
emptyChannels
( channels: Cc, checkpoint: ReadonlyCheckpoint )
libs/langgraph-core/src/channels/base.ts:158
↓ 2 callers
Function
enabledOf
()
libs/sdk-angular/src/selectors.ts:404
↓ 2 callers
Function
encodeSse
* Encode an Agent Protocol event as a Server-Sent Event frame. * * SSE delivery uses a JSON protocol event in `data:`. When available, * `event_id`
examples/ui-react-transport/src/app/session.ts:184
↓ 2 callers
Function
enqueueChunk
(sse: { id?: string; event: string; data: unknown; })
libs/langgraph-core/src/pregel/stream.ts:401
↓ 2 callers
Function
enqueueCompletion
(completion: PendingCompletion)
libs/langgraph-core/src/stream/transformers/lifecycle.ts:391
↓ 2 callers
Function
ensureAnalyser
(context: AudioContext)
libs/sdk-svelte/src/use-audio-player.svelte.ts:416
↓ 2 callers
Function
ensureContextForElement
()
libs/sdk-svelte/src/use-audio-player.svelte.ts:443
↓ 2 callers
Function
ensureContextForPcm
()
libs/sdk-svelte/src/use-audio-player.svelte.ts:427
↓ 2 callers
Function
ensureStarted
(ns: Namespace)
libs/langgraph-core/src/stream/transformers/lifecycle.ts:416
↓ 2 callers
Method
error
()
libs/sdk-angular/src/stream-service.ts:104
↓ 2 callers
Method
escapeTagValue
(value: string)
libs/checkpoint-redis/src/store.ts:1049
↓ 2 callers
Method
executeGet
( client: pg.PoolClient, operation: GetOperation )
libs/checkpoint-postgres/src/store/modules/crud-operations.ts:21
↓ 2 callers
Method
executeListNamespaces
( client: pg.PoolClient, operation: ListNamespacesOperation )
libs/checkpoint-postgres/src/store/index.ts:314
↓ 2 callers
Function
extractAndCoerceMessagesWithFallback
( values: Record<string, unknown>, messagesKey: string )
libs/sdk/src/stream/controller.ts:2464
↓ 2 callers
Function
extractInterrupts
( values: unknown, options?: { isLoading: boolean; threadState: ThreadState | undefined; error
libs/sdk/src/ui/interrupts.ts:52
↓ 2 callers
Function
extractTextParts
(parts: unknown)
examples/ui-react-transport/src/components/A2AProjectionPanel.tsx:12
↓ 2 callers
Method
fail
Propagate an error through blob/transcript/stream.
libs/sdk/src/client/stream/media.ts:374
↓ 2 callers
Function
fanInOverwriteGraph
* A graph where two nodes write to the same DeltaChannel in one super-step: a * plain write and an Overwrite.
libs/langgraph-core/src/tests/delta_channel.postgres.int.test.ts:151
↓ 2 callers
Method
fetch
(...args: Parameters<typeof fetch>)
libs/sdk/src/utils/async_caller.ts:241
↓ 2 callers
Function
filterCovers
* Whether the `coverer` filter delivers every event a subscription * opened with `target` could want. * * Rules: * - Channels: target.channels mu
libs/sdk/src/client/stream/index.ts:270
↓ 2 callers
Function
filterEqual
* Structural equality on filters. Two filters are equal iff they * request the same channel set, the same namespace prefix set * (with `undefined` m
libs/sdk/src/client/stream/index.ts:224
↓ 2 callers
Function
filterLifecycleEntries
( log: StreamChannel<LifecycleEntry>, path: Namespace, startAt = 0 )
libs/langgraph-core/src/stream/transformers/lifecycle.ts:71
↓ 2 callers
Function
filterStream
( stream: AsyncGenerator<T, TReturn>, filter: (event: T) => boolean )
libs/sdk/src/ui/utils.ts:27
↓ 2 callers
Function
findInterruptAtNode
( history: StateSnapshot[], node: string )
libs/langgraph-core/src/tests/time_travel_helpers.ts:97
↓ 2 callers
Function
findLast
(array: T[], predicate: (item: T) => boolean)
libs/sdk/src/ui/utils.ts:20
↓ 2 callers
Function
findPackageRoot
(path: string)
libs/checkpoint-validation/src/import_utils.ts:9
↓ 2 callers
Method
finish
Called on `message-finish`. Settles blob/transcript/stream.
libs/sdk/src/client/stream/media.ts:349
↓ 2 callers
Method
finishAndHandleError
(error?: Error)
libs/langgraph-core/src/pregel/loop.ts:1137
↓ 2 callers
Function
flushMicrotasks
(count = 4)
libs/sdk/src/headless-tools.test.ts:12
↓ 2 callers
Function
flushPendingCompletions
()
libs/langgraph-core/src/stream/transformers/lifecycle.ts:380
↓ 2 callers
Method
flushPendingMessages
* Replay any buffered messages once a namespace has been mapped.
libs/sdk/src/ui/subagents.ts:249
↓ 2 callers
Function
foldForkFromIntoConfig
* Fold the ergonomic top-level `forkFrom` checkpoint id into * `config.configurable.checkpoint_id` and strip `forkFrom` from the * outgoing params.
libs/sdk/src/client/stream/index.ts:338
↓ 2 callers
Method
forget
* Drop all metadata for the given ids. Called after never-persisted * optimistic messages are removed from the projection on * {@link StreamCont
libs/sdk/src/stream/message-metadata-tracker.ts:346
↓ 2 callers
Function
formatConfig
(config: RunnableConfig)
libs/langgraph-core/src/pregel/debug.ts:209
↓ 2 callers
Function
formatContent
(msg: BaseMessage)
libs/sdk-vue/src/tests/components/HeadlessToolStream.tsx:44
↓ 2 callers
Function
formatToolName
(name: string)
examples/ui-react/src/components/cards/toolCardUtils.ts:18
↓ 2 callers
Function
formatUnknown
(value: unknown)
libs/sdk-react/src/tests/components/format.ts:34
↓ 2 callers
Function
formatUnknown
(value: unknown)
libs/sdk-vue/src/tests/components/format.ts:34
↓ 2 callers
Method
fromConnString
* Factory method to create a MongoDBStore from a connection string. * Automatically creates and connects a MongoDB client, and calls * {@link st
libs/checkpoint-mongodb/src/store.ts:193
↓ 2 callers
Function
gen
()
libs/sdk/src/ui/manager.test.ts:909
↓ 2 callers
Method
generateEmbedding
(text: string)
libs/checkpoint/src/tests/vector.test.ts:21
↓ 2 callers
Method
getAllKeys
* Get all keys (channels + managed values).
libs/langgraph-core/src/state/schema.ts:379
↓ 2 callers
Method
getAssistantId
()
libs/sdk/src/ui/orchestrator.ts:109
↓ 2 callers
Function
getChannels
()
libs/sdk-svelte/src/selectors.svelte.ts:366
↓ 2 callers
Function
getCheckGotoCommand
(goto: string)
libs/langgraph-core/src/tests/utils.test.ts:44
↓ 2 callers
Function
getCheckpointId
(config: RunnableConfig)
libs/checkpoint/src/base.ts:332
↓ 2 callers
Function
getCustomerLabel
(value: unknown)
examples/ui-react/src/components/cards/toolCardUtils.ts:53
↓ 2 callers
Function
getEdge
(src: string)
libs/langgraph-core/src/tests/python_port/checkpoint.test.ts:1302
↓ 2 callers
Function
getExample
(id: string | null | undefined)
examples/ui-react/src/examples.tsx:148
↓ 2 callers
Function
getFetchHistoryKey
( client: Client, threadId: string | undefined | null, limit: boolean | number )
libs/sdk/src/react/stream.lgp.tsx:55
↓ 2 callers
Method
getMessageManager
* Get or create a MessageTupleManager for a subagent.
libs/sdk/src/ui/subagents.ts:207
↓ 2 callers
Function
getMessageToolCalls
( message: BaseMessage )
libs/sdk/src/stream/message-reconciliation.ts:242
↓ 2 callers
Function
getMessagesMetadataMap
(options: { initialValues: StateType | null | undefined; history: ThreadState<StateType>[] | null | undefi
libs/sdk/src/ui/branching.ts:234
↓ 2 callers
Function
getNodeFunc
(i?: number)
libs/langgraph-core/src/tests/python_port/checkpoint.test.ts:1927
↓ 2 callers
Function
getResponseMetadata
( message: BaseMessage )
libs/langgraph-core/src/pregel/messages-v2.ts:18
↓ 2 callers
Method
getStatistics
* Get statistics about the store. * Returns document counts and other metrics.
libs/checkpoint-redis/src/store.ts:941
↓ 2 callers
Method
getStats
* Get statistics about the store.
libs/checkpoint-postgres/src/store/index.ts:411
↓ 2 callers
Function
getStoreMigrations
(config: StoreMigrationConfig)
libs/checkpoint-postgres/src/store/store-migrations.ts:23
↓ 2 callers
Method
getSubgraphsAsync
( namespace?: string, recurse?: boolean // eslint-disable-next-line @typescript-eslint/no-explicit
libs/langgraph-core/src/pregel/types.ts:420
↓ 2 callers
Function
getTaskRunnableConfig
( task: PregelTaskDescription )
libs/langgraph-core/src/tests/time_travel_helpers.ts:50
↓ 2 callers
Function
getTaskToolCalls
(message: unknown)
libs/sdk/src/stream/discovery/subagents.ts:467
↓ 2 callers
Function
getTasks
(hist: HistoryItem[], start: number)
libs/langgraph-core/src/tests/python_port/checkpoint.test.ts:1397
↓ 2 callers
Function
getTextFromContent
(content: unknown)
examples/assistant-ui-claude/src/lib/message-utils.ts:44
↓ 2 callers
Function
getToolCallSummary
(message: BaseMessage)
examples/ui-react/src/utils.ts:76
↓ 2 callers
Function
getToolOutputs
( message: AIMessage )
libs/langgraph-cua/src/utils.ts:96
↓ 2 callers
Method
getTuple
(config: RunnableConfig)
libs/checkpoint-redis/src/shallow.ts:201
↓ 2 callers
Function
getUsageMetadata
( message: BaseMessage )
libs/langgraph-core/src/pregel/messages-v2.ts:31
↓ 2 callers
Method
handleChainError
(_err: any, runId: string)
libs/langgraph-core/src/pregel/messages.ts:253
↓ 2 callers
Method
handleEvent
(event: Event)
libs/sdk/src/client/stream/index.ts:1229
↓ 2 callers
Method
handleToolEvent
(chunk: unknown, runId: string)
libs/langgraph-core/src/pregel/stream.ts:252
↓ 2 callers
Function
hasTextContent
(content: unknown)
libs/sdk/src/stream/message-coercion.ts:182
↓ 2 callers
Function
headlessToolResumeCommand
(result: { toolCallId: string | undefined; value: unknown; })
libs/sdk/src/headless-tools.ts:215
↓ 2 callers
Function
indexFor
(e: (typeof events)[number])
libs/langgraph-core/src/tests/pregel.stream.test.ts:270
↓ 2 callers
Function
initialValueFactory
()
libs/langgraph-core/src/tests/channels.test.ts:69
↓ 2 callers
Function
injectChannelEffect
( stream: AnyStream, channels: readonly Channel[] | Signal<readonly Channel[]>, options: InjectChannelEf
libs/sdk-angular/src/selectors.ts:395
↓ 2 callers
Function
injectExtension
( stream: AnyStream, name: string, target?: SelectorTarget | Signal<SelectorTarget> )
libs/sdk-angular/src/selectors.ts:300
↓ 2 callers
Function
injectSubmissionQueue
( stream: AnyStream )
libs/sdk-angular/src/selectors-queue.ts:55
↓ 2 callers
Method
interrupt
* The single most relevant interrupt for the current thread state, * or `undefined` if no interrupt is active. Convenience accessor that * deleg
libs/sdk/src/ui/orchestrator.ts:566
↓ 2 callers
Method
interruptInfo
Pull the card + content out of the AIMessage the interrupt carried.
libs/sdk-angular/src/tests/components/InterruptCardStream.ts:46
↓ 2 callers
Function
isAbortLikeError
(error: unknown)
libs/sdk/src/stream/controller.ts:101
↓ 2 callers
Function
isAsyncGeneratorFunction
( val: unknown )
libs/langgraph-core/src/utils.ts:183
↓ 2 callers
Function
isBaseChannel
(obj: unknown)
libs/langgraph-core/src/channels/base.ts:25
↓ 2 callers
Function
isBaseMessageArray
(input: unknown)
libs/langgraph-core/src/prebuilt/tool_node.ts:27
↓ 2 callers
Function
isCompiledGraph
(x: unknown)
libs/langgraph-core/src/graph/graph.ts:1262
↓ 2 callers
Function
isComposerFilePart
(part: unknown)
examples/assistant-ui-claude/src/lib/message-utils.ts:35
↓ 2 callers
Function
isComputerCallToolMessage
( message: BaseMessage )
libs/langgraph-cua/src/utils.ts:118
↓ 2 callers
Function
isEntrypointFinal
( value: unknown )
libs/langgraph-core/src/func/index.ts:388
← previous
next →
1,101–1,200 of 4,051, ranked by callers