Open-Source Engine: Spector is Spectrayan's open-source cognitive memory engine submitted to the Agentic AI Foundation (AAIF), implementing the open Memory Fundamentals specification. Looking for Spectrayan's managed cloud memory product? Visit ebbmem.ai ↗.

OPEN SOURCE · COGNITIVE MEMORY ENGINE

Spector Cognitive Memory

Cognitive memory engine for stateful AI agents. Fuses SIMD-accelerated off-heap vector search, co-activation association graphs, and temporal decay into a single sub-millisecond retrieval pass with no external database.

Sub-Millisecond Off-Heap Recall

Scan millions of cache-aligned 64-byte headers directly off-heap in Project Panama memory segments, avoiding JVM garbage-collection pauses.

Temporal Decay (Ebbinghaus)

Memory salience decays naturally along power-law forgetting curves while repeated retrieval reinforces active traces over time.

Association Graph Co-Activation

Entities and tags form weighted associative links on co-occurrence, using bounded 2-hop spreading activation to surface related context.

The 4-Tier Memory Model

Spector partitions agent memory into four structural tiers, each tuned for distinct retention and lifecycle guarantees:

Working

Active Task Buffer

Bounded circular buffer holding current task focus (~100 items) with inline 128-bit Bloom tag filtering.

Episodic

Time-Partitioned Log

Persistent time-partitioned sequence of raw interactions. Sealed partitions are periodically compacted and swept.

Semantic

Consolidated Facts

Durable facts and generalized preferences synthesized from episodic events during background consolidation cycles.

Procedural

Operational Policies

Operational instructions and behavioral rules (such as formatting conventions or retry policies) persisted via WAL.

Quick Integration Snippets

// Spector Embedded In-Process Engine Setup (Java 25 + Panama FFM)
SpectorMemory memory = DefaultSpectorMemory.builder()
    .namespace("default")
    .persistence(Path.of("./spector-data"))
    .cognitiveProfile(CognitiveProfile.DEBUGGER)
    .build();

// Ingest memory with cognitive classification & tags
memory.remember(
    "mem-101",
    "Security scan failed with exit code 1: CVE-2026-1192 detected.",
    MemoryType.EPISODIC,
    MemorySource.SYSTEM,
    "security", "audit", "cve"
);

// Fused cognitive recall across memory tiers
List<CognitiveResult> results = memory.recall("CVE vulnerability details");
REAL-TIME OBSERVABILITY

Spector Cortex UI

Spector Cortex is a memory graph and agent administration dashboard that streams memory state updates in real time — turning agent recall from a closed black box into an inspectable engineering workflow.

3D Association Graph

Inspect co-activation links, temporal causality timelines, and semantic clusters in an interactive WebGL coordinate space.

12+ Diagnostic Panels

Monitor retrieval latency, recall hit rates, Ebbinghaus decay curves, and off-heap Panama FFM segment utilization.

Interactive Recall Inspector

Query your agent directly, inspect which memories are active or primed per turn, and configure agent profiles visually.

Spector Cortex UI
Click any node to trigger spreading activation pulse:
User Context Therapy Log #238 ABA Standard Rule Jordan S. Persona Valence Trigger Ebbinghaus Decay
Working Tier

User Context

Volatile prefrontal buffer: Currently tracking active chat session scope.

Illustrative Cortex UI preview