GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • ADK for TypeScript: API Reference

This view

  • Original page
  • New address

GeezerVison is showing adk.dev — CompiledGraphLike | ADK for TypeScript: API Reference - v2.5.0

  • CompiledGraphLike

Interface CompiledGraphLike

Structural interface for a compiled LangGraph graph.

interface CompiledGraphLike {
    checkpointer?: unknown;
    getGraph?(...args: unknown[]): unknown;
    getState?(
        config: LangGraphRunnableConfig,
    ):
        | LangGraphStateSnapshot
        | Promise<LangGraphStateSnapshot | undefined>
        | undefined;
    invoke(
        input: LangGraphInvokeInput,
        config: LangGraphRunnableConfig,
    ): LangGraphInvokeOutput | Promise<LangGraphInvokeOutput>;
}
  • Defined in core/src/agents/langgraph_agent.ts:102

Properties

Optional Readonlycheckpointer

checkpointer?: unknown

Optional checkpointer configured on the compiled graph for multi-turn state persistence.

  • Defined in core/src/agents/langgraph_agent.ts:106

Methods

OptionalgetGraph

  • getGraph?(...args: unknown[]): unknown

    Optional helper returning the underlying graph representation.

    Parameters

    • ...args: unknown[]

    Returns unknown

    • Defined in core/src/agents/langgraph_agent.ts:111

OptionalgetState

  • getState?(
        config: LangGraphRunnableConfig,
    ):
        | LangGraphStateSnapshot
        | Promise<LangGraphStateSnapshot | undefined>
        | undefined

    Retrieves the current graph state for the given runnable configuration.

    Parameters

    • config: LangGraphRunnableConfig

    Returns LangGraphStateSnapshot | Promise<LangGraphStateSnapshot | undefined> | undefined

    • Defined in core/src/agents/langgraph_agent.ts:116

invoke

  • invoke(
        input: LangGraphInvokeInput,
        config: LangGraphRunnableConfig,
    ): LangGraphInvokeOutput | Promise<LangGraphInvokeOutput>

    Invokes the compiled graph with the given message list and runnable configuration.

    Parameters

    • input: LangGraphInvokeInput
    • config: LangGraphRunnableConfig

    Returns LangGraphInvokeOutput | Promise<LangGraphInvokeOutput>

    • Defined in core/src/agents/langgraph_agent.ts:126
Properties
checkpointer
Methods
getGraphgetStateinvoke
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.