StackMap
Subscribe
Explore / spector
spectrayan

spector

Java cognitive memory engine for agents: working, episodic, semantic and procedural tiers with decay, consolidation and association graphs, SIMD hybrid recall, served over MCP, REST/gRPC and SDKs.

28 16 Java Apache-2.0updated yesterday
View on GitHubDispute this mapping →
Curator's take

Consider it if you want memory that forgets and consolidates like a cognitive model rather than an ever-growing vector store, with an `npx` MCP server that embeds the kernel. Tiny project needing JDK 25 preview features — not something to bet production on yet; mature options like Hindsight or MemOS have far more evaluation behind them.

Mapped by ShipWithAI editors · links verified

Continue your stack

What teams reach for next — and why each earns a place beside spector. Ranked by curator confidence.

alternativealternativealternativeMemMachineMemOShindsightspector
pairs wellalternativebuilt withpick a node for the why · open it from the panel
Weekly digest
README.md1 min read

Spector

The Zero-Overhead, Agent-Ready AI Memory Engine.

License Java PyPI npm Docker Build Docs Contributors OpenSSF Best Practices

"A database returns what was written. A memory engine reconstructs what is reachable from a cue — under decay, association, and tier physics."
— Memory Fundamentals MF-001


Legacy AI stacks bolt memory onto stateless vector databases — storage without cognition. Spector is a cognitive memory engine for AI agents: it remembers, forgets, consolidates, and forms associations across working, episodic, semantic, and procedural tiers, then retrieves with fused semantic and hybrid scoring at sub-millisecond latency. Traces are linked by co-activation, temporal, and entity edges, so recall can surface what is related, not only what matches a vector. Connect any agent through the built-in MCP server, call it over REST/gRPC, drive it from the Python or TypeScript SDKs, or embed it directly in the JVM. Every user, agent, or tenant is physically isolated in its own on-disk namespace — true data separation, not a shared-store filter. Under the hood, Java Project Panama and the Vector API deliver SIMD scoring with measured near-zero garbage-collection pressure, and no external database.


⚡ 30-Second Quickstart

Connect an agent, install an SDK, or launch a local node in seconds:

1. Zero-Install MCP Server (for AI Agents)

Run instantly via NPX — connects to a running local Synapse daemon on :7070 if healthy, or runs an embedded memory kernel (requires OpenJDK 25+):

# Agent runner: connects to local daemon or launches in-process MCP kernel
npx -y @spectrayan/spector mcp

# Or build and launch from source:
mvn clean package -pl synapse/spector-cli -am -DskipTests
java --enable-preview --add-modules=jdk.incubator.vector -jar synapse/spector-cli/target/spector.jar mcp

2. Client SDKs (Zero Java Required)

Interact with Spector over HTTP / SSE from your language of choice:

Python:

pip instal