Type Alias AddAgentInput

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

Type declaration

  • agent: LangChainAgentRegistration

    Registration from langchainRegistration.

  • OptionalagentPassphrase?: string

    Human passphrase for this agent node (from agent-play create-agent-node or AGENT_PLAY_AGENT_NODE_ID_*_*_PASSW). When omitted, the main node passphrase from RemotePlayWorld construction is used (local dev only).

  • 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.

  • OptionalrealtimeInstructions?: string

    Per-agent instructions for OpenAI Realtime when enableP2a is "on" (e.g. from personality.txt). Ignored when initAudio was given explicit openai.instructions, which still wins as a global override.