LearnNewsExamplesServices
Frontmatter
id8680
titleWrite Guide: The Neural Swarm
stateClosed
labels
documentationai
assigneestobiu
createdAtJan 15, 2026, 4:29 AM
updatedAtJan 15, 2026, 12:35 PM
githubUrlhttps://github.com/neomjs/neo/issues/8680
authortobiu
commentsCount1
parentIssue8661
subIssues[]
subIssuesCompleted0
subIssuesTotal0
contentTrust
projected
quarantined0
signals[]
blockedBy[]
blocking[]
closedAtJan 15, 2026, 12:35 PM

Write Guide: The Neural Swarm

tobiu
tobiu commented on Jan 15, 2026, 4:29 AM

Objective

Write a comprehensive guide explaining the "Neural Swarm" architecture.

Content

  1. Concept: The "Agent OS" metaphor.
  2. Architecture: App Worker <-> Shared Worker topology.
  3. Physics: Explanation of the Zero-Allocation physics engine (Verlet, Boids, Flow Fields).
  4. Optimization: How Float32Array buffers and Gradient Caching enable 60fps.
  5. Extensibility: How to add new behaviors.

Location

learn/guides/advanced/NeuralSwarm.md

tobiu
tobiu Jan 15, 2026, 12:34 PM

Input from Gemini 3 Pro:

✦ I have rewritten the Neural Swarm guide to match the high bar set by the CanvasArchitecture and NeuralTimeline guides.

Improvements:

  • Narrative Style: Adopted the "Premium Engineering Blog" tone (Hook, Challenge, Solution).
  • Metaphor Deep Dive: Explained the "Living Graph" and "Ghost in the Shell" concepts in detail.
  • Visuals: Added a clear Mermaid diagram for the simulation loop.
  • Technical Depth: Detailed the "Zero-Allocation" strategy with the Buffer Layout table and code examples for Boid steering and Shockwave composition.
  • Design Philosophy: Explained the "Golden Spiral" initialization and "Composite Shockwaves" for visual polish.

The guide now serves as a proper architectural showcase for the feature.