Skip to navigation

TypeScript Frameworks

Reference for @band-ai/sdk 1.0.0.

Frameworks

GoogleADKAdapter

Constructor: new GoogleADKAdapter(options?: GoogleADKAdapterOptions). The options type is exported from @band-ai/sdk/adapters.

OptionDefaultPurpose
modelDEFAULT_GEMINI_MODELGemini model name
apiKeyProvider lookupExplicit Gemini key
customSectionEmpty stringAdditional prompt instructions
enableExecutionReportingfalseReport tool activity
enableMemoryToolsfalseExpose memory tools
maxHistoryMessages50History bound
maxTranscriptChars100000Transcript character bound

Released option definitions.

SettingReference
Peer package@google/adk
Model / runtimemodel, DEFAULT_GEMINI_MODEL

See Google ADK for installation, connection and verification.

LangGraphAdapter

Constructor: new LangGraphAdapter(options: LangGraphAdapterOptions). The options type is exported from @band-ai/sdk/adapters.

OptionDefaultPurpose
llmOptionalLangChain chat model; provide this, graph or graphFactory
graphOptionalPrebuilt LangGraph graph
graphFactoryOptionalBuild a graph from the Band tool list
recursionLimit50Graph recursion limit
maxHistoryMessages100History bound
emitExecutionEventstrueReport execution events
includeMemoryToolsfalseExpose memory tools

Released option definitions.

SettingReference
Peer package@langchain/langgraph, @langchain/core
Model / runtimellm, a LangChain chat model, or a prebuilt graph

See LangGraph for installation, connection and verification.

LettaAdapter

Constructor: new LettaAdapter(options?: LettaAdapterOptions). The options type is exported from @band-ai/sdk/adapters.

OptionDefaultPurpose
modelopenai/gpt-4oLetta model identifier
lettaApiKeyUnsetLetta API key
lettaBaseUrlUnsetLetta server URL
lettaAgentIdUnsetExisting Letta agent
memoryBlocks[]Initial memory blocks
serverTools[]Letta server tools
includeBaseToolsfalseInclude Letta base tools

Released option definitions.

SettingReference
Peer package@letta-ai/letta-client
Model / runtimemodel, "openai/gpt-4o"

See Letta for installation, connection and verification.

ParlantAdapter

Constructor: new ParlantAdapter(options: ParlantAdapterOptions). The options type is exported from @band-ai/sdk/adapters.

OptionDefaultPurpose
environmentRequiredParlant environment
baseUrlUnsetParlant server URL
agentIdUnsetExisting agent; cannot combine with systemPrompt or customSection
headers{}Additional request headers
responseTimeoutSeconds120Response timeout
maxHistoryMessages100Prior room messages supplied to a new session

Released option definitions.

SettingReference
Peer packageparlant-client
Model / runtimeSet by the Parlant server; environment is required

See Parlant for installation, connection and verification.