Skip to content

๐Ÿงฌ Spector Cortex โ€” Neural Dashboard & Chat UI

The Vision

What if you could watch your AI's brain think and talk to it at the same time? Spector Cortex is a real-time neural dashboard and cognitive chat interface โ€” from SIMD lanes firing to Hebbian edges strengthening to memories decaying along the Ebbinghaus curve. It's the difference between a black box and a living brain.


Two Faces of Cortex

Cortex serves two purposes in the Spector ecosystem:

1. Neural Dashboard (Visualization)

The original Cortex โ€” 12+ live cognitive panels for monitoring and debugging the memory engine:

Panel What It Shows
Neural Graph 200-node cognitive network with Hebbian, temporal, and entity edges
Vector Space 300-point PCA-projected embedding space with query dot and k-NN lines
Scoring Pipeline The 6-phase cognitive scoring funnel animated in real time
Live Metrics Real-time recall/remember/reinforce/forget rates
Cognitive Profile 6-axis radar showing thalamic modulation parameters
SIMD & Hardware 16-lane SIMD register visualization
Memory Heatmap Off-heap memory segment utilization across all 4 tiers
Decay Curve Ebbinghaus forgetting curve vs. LTP reconsolidation
Habituation Anti-filter-bubble mechanism gauges

2. Cognitive Chat Interface (Agent Interaction)

The new Cortex โ€” a fully-featured chat interface powered by Spector Synapse:

View Description
Chat Conversational interface with memory-primed responses, streaming, and context indicators
Memories Browse, search, and manage cognitive memories with tier filtering and importance visualization
Agents Create, configure, and manage autonomous agents with soul editing
Connectors Set up and monitor data connector integrations
Settings Configure providers, API keys, and system preferences

Technology Stack

Layer Technology
Framework Angular 22 (standalone components, signals)
Styling SCSS with Material Design 3 tokens
3D Rendering THREE.js + Canvas API
State Management Angular Signals
HTTP httpResource + HttpClient
Build Angular CLI 22, Vitest

Visual Showcase

๐ŸŽฅ Neural Graph in Action

The 3D neural graph explorer โ€” fly through the cognitive galaxy, explore Hebbian associations, temporal chains, and entity relationships as glowing star constellations.

Quick tour (44 s)

A short walkthrough of the Graph Explorer in the current UI: load the graph, orbit and zoom, select a node, expand its neighborhood, and toggle the Entity and Temporal layers to compare Hebbian and temporal edges.


๐Ÿ“Š Dashboard โ€” 12+ Live Cognitive Panels

Spector Cortex Dashboard

Real-time scoring pipeline, SIMD lanes, decay curves, vector space, Hebbian graph, cognitive profiles, and live metrics โ€” all rendered in a single interactive dashboard.


๐ŸŒŒ Graph Explorer โ€” 3D Neural Galaxy

Spector Graph Explorer

Interactive 3D graph with glowing star nodes, Hebbian/temporal/entity edges, fly-to navigation, click-to-explore, and real-time topology stats.


๐Ÿง  Memory Table โ€” Browse & Manage Memories

Spector Memory Table

Full CRUD with tier filtering, importance bars, valence indicators, synaptic tags, recall counts, tombstone ratios, and bulk actions.


๐Ÿ”ฌ Memory Detail โ€” Deep Cognitive Inspection

Spector Memory Detail

Identity card, cognitive state (importance/valence/arousal gauges), synaptic tags, and full relationship graph showing Hebbian associations, temporal chains, and entity links.

Spector Memory Detail โ€” Cognitive State

Cognitive state gauges and the entity relationship list for a single engram.


๐Ÿงช MEL Studio โ€” 6-Phase Recall Workbench

Spector MEL Studio

Run RECALL / EXPLAIN RECALL statements and inspect the ranked candidates, the 6-phase funnel and the EXPLAIN plan.


๐Ÿฉบ Memory Health & Diagnostics

Spector Memory Health

Physical storage, HNSW index, sleep consolidation, tier distribution and scoring dimensions.


๐ŸŽ›๏ธ Settings โ€” Scoring, Salience & Soul

Spector Settings โ€” Scoring

Spector Settings โ€” Salience & Emotion

Spector Settings โ€” Soul & Identity

ICNU fusion weights, dual-surprise and flashbulb thresholds, salience overrides, and the agent soul/identity baseline.


๐Ÿ” Sharing & Access and Admin Console

Spector Sharing & Access

Spector Admin Console

Namespace grants and audit history, plus the content-free fleet admin overview.


โ˜€๏ธ Light Theme

Every screen ships in light and dark themes; light captures use the -light suffix, for example:

Spector Memory Table โ€” Light

Spector Memory Detail โ€” Light


What's Coming to Cortex

Near-Term (In Progress)

  • Chat streaming UI โ€” real-time token rendering with typing indicators
  • Agent soul editor โ€” visual editor for agent personality and tools
  • Connector dashboard โ€” sync status, data volume, and health monitoring
  • Dark mode โ€” full dark theme with M3 design tokens
  • Mobile responsive โ€” responsive layouts for tablet and phone

Medium-Term (Planned)

  • Conversation timeline โ€” visual timeline of agent-user interactions
  • Memory graph explorer v2 โ€” filter by conversation, time range, or agent
  • Agent template marketplace โ€” browse and install community templates
  • Real-time collaboration โ€” multiple users in the same conversation
  • Accessibility โ€” WCAG 2.1 AA compliance

Long-Term (Vision)

  • Voice interface โ€” speech-to-text chat with agent responses
  • Cognitive replay โ€” replay past cognitive states step by step
  • Comparative agent view โ€” side-by-side agent behavior comparison

Building

cd spector-cortex

# Install dependencies
npm ci

# Development server (http://localhost:4200)
ng serve

# Production build
ng build --configuration production

# Run tests
ng test

License

Spector Cortex is licensed under the Apache License, Version 2.0.

See LICENSE for full terms.