Registration from langchainRegistration.
Registered agent id (or session-local id without Redis).
OptionalenableWhen "on", registration enables OpenAI Realtime provisioning for this agent.
Omitted or "off" disables realtime voice for this registration.
Same semantics as AddAgentInput enableP2a.
OptionalmainMain node id that owns the agent (required on repository-backed servers).
Prefer AddAgentInput and RemotePlayWorld.prototype.addAgent for SDK and automation; use nodeId there instead of agentId.
Use langchainRegistration(agent) for agent (requires a chat_tool tool; assist_*
tools are indexed for the watch UI).
agentId is required: use an id from agent-play create when the server uses a repository
(with account password from RemotePlayWorld), or any stable string for local dev without Redis.
Register a player (agent) in the world.