Skip to content

⚑ Welcome to Spector

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

Welcome to the Spector documentation β€” your central hub for the high-performance, agent-native AI search engine. Whether you're connecting AI agents via MCP, building RAG pipelines, powering recommendation systems, or need sub-millisecond search with zero infrastructure, you're in the right place.


πŸ”₯ Why Spector?

Metric Value
πŸ€– MCP Tools 6 agent-ready tools (semantic, hybrid, RAG, ingest, delete, status)
⚑ Vector Search Latency 0.05 ms avg @ 10K docs (128-dim)
πŸ” Keyword Search Latency 0.98 ms avg @ 100K docs
🧬 Hybrid Search Latency 0.17 ms avg @ 10K docs
πŸš€ Vector Throughput 18,800 queries/sec @ 10K
🧡 Concurrent Hybrid 14,000+ ops/sec @ 16 threads (384-dim)
πŸ—œοΈ IVF-PQ + TurboQuant 8–32Γ— memory reduction
βœ… Test Suite 331+ tests, all passing
πŸ“¦ Dependencies Zero (JDK only)

πŸ—ΊοΈ Quick Navigation

πŸš€ Getting Started

Page Description
Getting Started Build, run, and search in 5 minutes
What is Spector Product overview, use cases, and comparisons
JDK API Status Vector API, Panama FFM, and preview feature compatibility
FAQ Common questions answered

πŸ€– Agent Integration (MCP)

Page Description
MCP Integration Architecture How the MCP server works under the hood
MCP Server Guide Setup for Claude Desktop, Cursor, and custom agents

πŸ—οΈ Architecture & Concepts

Page Description
Architecture Overview Module diagram, data flow, threading model
Core Concepts HNSW, IVF-PQ, BM25, RRF, SIMD deep-dives
Ingestion Pipeline Document β†’ chunk β†’ embed β†’ index pipeline
RAG Pipeline End-to-end retrieval-augmented generation
Distributed Mode Clustering, sharding, and replication
GPU Acceleration CUDA setup and kernel details

πŸ“– Reference

Page Description
REST API Reference All endpoints with curl examples
Java SDK Guide Programmatic usage (client + embedded)
Spring AI Integration Spring AI VectorStore adapter
CLI Reference spectorctl commands
Configuration Guide All parameters with tuning advice

βš™οΈ Operations & Community

Page Description
Performance Tuning Benchmarks and optimization strategies
Contributing Development setup and PR process

πŸ’‘ Highlights at a Glance

graph LR
    A["πŸ€– AI Agent"] --> B["πŸ“‘ MCP Server"]
    B --> C["⚑ SpectorEngine"]
    C --> D["🧠 Hybrid Search"]
    D --> E["🎯 RRF Fusion"]
    E --> F["πŸ€– LLM Re-ranking"]
    F --> G["✨ Results"]

    H["πŸ“„ Document"] --> I["🧩 Chunking"]
    I --> J["🧬 Embedding"]
    J --> C

Tip

New here? Start with Getting Started to build and run your first search in under 5 minutes. Want to connect an AI agent? See the MCP Server Guide.


🌟 Project Stats

Language Java 25
License Apache 2.0 Β· BSL 1.1 (memory module)
Modules 18 Maven modules
Dependencies Zero (JDK only)
SIMD AVX2 / AVX-512 / NEON
GPU CUDA via Panama FFM
MCP Built-in, 6 agent-ready tools
Distributed gRPC fan-out + consistent hashing

Built with ⚑ by Spectrayan · GitHub · Apache 2.0 · BSL 1.1 (memory)