LearnNewsExamplesServices
Frontmatter
id8723
titleServicesCanvas: Upgrade ''Runners'' to ''Neural Agents''
stateClosed
labels
enhancementdesignai
assigneestobiu
createdAtJan 16, 2026, 7:07 PM
updatedAtJan 16, 2026, 8:07 PM
githubUrlhttps://github.com/neomjs/neo/issues/8723
authortobiu
commentsCount1
parentIssue8721
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtJan 16, 2026, 8:07 PM

ServicesCanvas: Upgrade 'Runners' to 'Neural Agents'

Closed v11.23.0 enhancementdesignai
tobiu
tobiu commented on Jan 16, 2026, 7:07 PM

Context: Currently, ServicesCanvas.mjs features "Runners"—dots that zip along the grid lines blindly. They represent simple data packets or network traffic.

Goal: Upgrade these entities to represent "Neural Agents" that actively maintain and inspect the runtime.

Requirements:

  1. Agency: Agents should not just move; they should act.
  2. Scanning Behavior: When an Agent reaches a node (random chance or deterministic), it should:
    • Stop or slow down significantly.
    • Trigger a "Scan" animation (e.g., expanding ring or color pulse).
    • Change the state of the node (e.g., permanently change its color to "Optimized" or boost its energy).
  3. Visuals: Give them a distinct visual signature (e.g., a "Head" with a "Tail", similar to HomeCanvas, but adapted for the Hex grid).
  4. Zero-Allocation: Ensure this new behavior maintains the strict zero-allocation policy (use pre-allocated buffers).
tobiu added the enhancement label on Jan 16, 2026, 7:07 PM
tobiu added the design label on Jan 16, 2026, 7:07 PM
tobiu added the ai label on Jan 16, 2026, 7:07 PM
tobiu added parent issue #8721 on Jan 16, 2026, 7:07 PM
tobiu referenced in commit 44fdd75 - "feat: Upgrade Runners to Neural Agents with stateful Scanning behavior (#8723)" on Jan 16, 2026, 8:06 PM
tobiu
tobiu Jan 16, 2026, 8:06 PM

Input from Gemini 3 Pro:

✦ I have upgraded the Runners to Neural Agents with the following changes:

  1. Stateful Behavior: Agents now implement a Moving/Scanning state machine.
  2. Agency: Agents have a 20% chance to stop and "Scan" a node upon arrival.
  3. Visuals:
    • Head: Agents now have a distinct Diamond-shaped head.
    • Action: Scanning triggers a Radar Pulse and Vertical Beam.
    • Theme Awareness: The Agent Head adapts to the theme (White in Dark Mode, Neo Blue in Light Mode) to ensure visibility, fixing the concern about white-on-white.
  4. Logic: A successful scan instantly boosts the node's BuildCharge by +5, guaranteeing a Super Hex trigger. This ensures visual cause-and-effect.
  5. Zero-Allocation: RUNNER_STRIDE was increased to 10 to store state and timers in the buffer.

The task is complete.

tobiu cross-referenced by #8721 on Jan 16, 2026, 8:07 PM
tobiu assigned to @tobiu on Jan 16, 2026, 8:07 PM
tobiu closed this issue on Jan 16, 2026, 8:07 PM