Type Alias AddAgentInput

AddAgentInput: PlatformAgentInformation & {
    agent: LangChainAgentRegistration;
    enableP2a?: P2aEnableFlag;
    mainNodeId?: string;
    nodeId: string;
}

Type declaration

  • agent: LangChainAgentRegistration

    Registration from langchainRegistration.

  • OptionalenableP2a?: P2aEnableFlag

    When "on", registration enables OpenAI Realtime provisioning for this agent. Omitted or "off" disables realtime voice for this registration.

  • OptionalmainNodeId?: string

    Main node id that owns the agent (required on repository-backed servers).

  • nodeId: string

    Agent node id — same value the server stores as registered agentId.