LearnNewsExamplesServices
Frontmatter
id7960
titleSpike: Bidirectional RMA Proof of Concept
stateClosed
labels
enhancementaiarchitecture
assigneestobiu
createdAtNov 30, 2025, 10:58 PM
updatedAtDec 4, 2025, 4:45 AM
githubUrlhttps://github.com/neomjs/neo/issues/7960
authortobiu
commentsCount1
parentIssuenull
subIssues
8001 Implement App Worker MCP Server PoC (Neural Link)
8002 Refactor App Worker MCP Server to use ToolService
8003 Make AI Tooling Dependencies Optional
8004 Create Dedicated Example App for AI Bridge Testing
8007 Implement Dynamic Loading for NeuralLink
8010 Align Neural Link MCP Server with Memory Core Server
8008 Create Neural Link Testbed App
8013 Implement End-to-End Tests for Neural Link
8006 Implement Neo.ai.NeuralLink (App Worker)
8014 Update ai/services.mjs to use Neural Link
subIssuesCompleted10
subIssuesTotal10
blockedBy[]
blocking[]
closedAtDec 4, 2025, 4:45 AM

Spike: Bidirectional RMA Proof of Concept

Closed v11.16.0 enhancementaiarchitecture
tobiu
tobiu commented on Nov 30, 2025, 10:58 PM

Goal: Validate core technical assumptions with a minimal working prototype.

Time-box: 2-3 days

Connection Model: Browser Connects to Agent Server (Agent runs WebSocket server).

Deliverables:

  1. Minimal Neo.ai.server.WebSocket (50 lines).
  2. Agent can call ONE browser method: createNeoInstance.
  3. Browser can call ONE agent method: analyzeComponent.
  4. Document unexpected challenges.

Validation Checklist:

  • Message Ordering: Verify RPC call -> response correlation.
  • Lifecycle: Connection survives browser tab backgrounding.
  • Payloads: Can handle large payloads (>1MB).
  • Latency: Measure round-trip time under load.
  • Error Propagation: Agent exception -> Browser catch block (and vice-versa).
  • Multi-window Routing: Can target specific windowId.

Success Criteria:

  • Demonstrates bidirectional RPC works.
  • Measures baseline latency.
  • Identifies hidden complexity.

Non-Goals:

  • Security (hardcoded capabilities).
  • Production quality (prototype code).

Blockers:

  • Need to understand Neo's existing WebSocket RMA internals.

Reference: .github/AGENT_ARCHITECTURE.md

tobiu added the enhancement label on Nov 30, 2025, 10:58 PM
tobiu added the ai label on Nov 30, 2025, 10:58 PM
tobiu added the architecture label on Nov 30, 2025, 10:58 PM
tobiu cross-referenced by #7961 on Dec 1, 2025, 11:57 AM
tobiu added sub-issue #8001 on Dec 3, 2025, 2:56 AM
tobiu added sub-issue #8002 on Dec 3, 2025, 2:56 AM
tobiu added sub-issue #8003 on Dec 3, 2025, 2:56 AM
tobiu added sub-issue #8004 on Dec 3, 2025, 2:56 AM
tobiu cross-referenced by #8006 on Dec 3, 2025, 10:56 AM
tobiu cross-referenced by #8007 on Dec 3, 2025, 10:56 AM
tobiu cross-referenced by #8008 on Dec 3, 2025, 10:56 AM
tobiu added sub-issue #8007 on Dec 3, 2025, 2:43 PM
tobiu added sub-issue #8010 on Dec 3, 2025, 3:06 PM
tobiu added sub-issue #8008 on Dec 3, 2025, 3:07 PM
tobiu assigned to @tobiu on Dec 3, 2025, 10:38 PM
tobiu added sub-issue #8013 on Dec 3, 2025, 10:40 PM
tobiu added sub-issue #8006 on Dec 3, 2025, 10:50 PM
tobiu added sub-issue #8014 on Dec 3, 2025, 11:12 PM
tobiu
tobiu Dec 4, 2025, 4:45 AM

resolved

tobiu closed this issue on Dec 4, 2025, 4:45 AM