-
-
Notifications
You must be signed in to change notification settings - Fork 195
Open
Labels
aiarchitectureArchitecture related issuesArchitecture related issuesepicA big time intense ticket with related sub-tasksA big time intense ticket with related sub-tasks
Description
Define and implement the core infrastructure for bidirectional communication between Node.js Agents and Neo.mjs Browser Apps via WebSocket.
Scope:
Neo.ai.server.WebSocket: A Node.js server that accepts connections from Browser Apps and Agents.agent-api.json: Schema definition for the API surface exposed by Agents to the Browser.- Browser-side Lifecycle: Manage connection/disconnection logic in
Neo.main.addon.Remote. - Multi-Window Routing: Ensure messages can be routed to specific browser windows (App Instances).
- Connection Protocol: Define handshake, heartbeat, and reconnection logic.
- Message Format: Standardize RPC envelope (correlation IDs, timeouts, errors).
- Performance: <50ms RPC latency target.
Key Constraint:
This infrastructure must support Pattern 2 (Agent Calls Browser), allowing the backend to invoke Neo.worker.App methods as RPCs.
Reference: .github/AGENT_ARCHITECTURE.md
Metadata
Metadata
Assignees
Labels
aiarchitectureArchitecture related issuesArchitecture related issuesepicA big time intense ticket with related sub-tasksA big time intense ticket with related sub-tasks