๐งฌ 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¶

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¶

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¶

Full CRUD with tier filtering, importance bars, valence indicators, synaptic tags, recall counts, tombstone ratios, and bulk actions.
๐ฌ Memory Detail โ Deep Cognitive Inspection¶

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

Cognitive state gauges and the entity relationship list for a single engram.
๐งช MEL Studio โ 6-Phase Recall Workbench¶

Run RECALL / EXPLAIN RECALL statements and inspect the ranked candidates, the 6-phase funnel and the EXPLAIN plan.
๐ฉบ Memory Health & Diagnostics¶

Physical storage, HNSW index, sleep consolidation, tier distribution and scoring dimensions.
๐๏ธ Settings โ Scoring, Salience & Soul¶



ICNU fusion weights, dual-surprise and flashbulb thresholds, salience overrides, and the agent soul/identity baseline.
๐ Sharing & Access and 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:


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.