
AgentDB Vector Search
This implements semantic search using AgentDB's vector database, which claims 150x to 12,500x faster operations than traditional solutions with sub-100 microsecond queries. You get HNSW indexing, binary quantization for 32x memory reduction, and built-in support for OpenAI embeddings or custom models. The CLI tools are genuinely useful for quick database init, querying, and import/export without writing code. Use it for RAG systems where you need to retrieve relevant context before generating answers, or any search that needs to understand meaning rather than just match keywords. The hybrid search combining vector similarity with metadata filters is the standout feature here, letting you constrain semantic results by date, category, or other structured data.
- GitHub stars
- 240
- last updated
- Jun 11, 2026
Install
$ npx -y skills add spencermarx/open-code-review --skill 'AgentDB Vector Search' --agent claude-codeInstalls into .claude/skills of the current project.
Files
AgentDB Vector Search
What This Skill Does
Implements vector-based semantic search using AgentDB's high-performance vector database with 150x-12,500x faster operations than traditional solutions. Features HNSW indexing, quantization, and sub-millisecond search (<100µs).
Prerequisites
- Node.js 18+
- AgentDB v1.0.7+ (via agentic-flow or standalone)
- OpenAI API key (for embeddings) or custom embedding model
Quick Start with CLI
Initialize Vector Database
# Initialize with default dimensions (1536 for OpenAI ada-002)
npx agentdb@latest init ./vectors.db
# Custom dimensions for different embedding models
npx agentdb@latest init ./vectors.db --dimension 768 # sentence-transformers
npx agentdb@latest init ./vectors.db --dimension 384 # all-MiniLM-L6-v2
# Use preset configurations
npx agentdb@latest init ./vectors.db --preset small # <10K vectors
npx agentdb@latest init ./vectors.db --preset medium # 10K-100K vectors
npx agentdb@latest init ./vectors.db --preset large # >100K vectors
# In-memory database for testing
npx agentdb@latest init ./vectors.db --in-memory
Query Vector Database
Sponsors
Details
- Repository
- github.com/spencermarx/open-code-review
- Categories
- Git & Pull Requests, Code Review & Quality, AI & Agent Building
- License
- Apache-2.0
- First seen
- Jun 11, 2026
More from spencermarx/open-code-review
All 31- Browser
- Github Code Review
- Github Multi Repo
- Github Project Management
- Github Release Management
- Github Workflow Automation
- Hooks Automation
- Ocr
- Pair Programming
- ReasoningBank With AgentDB
- ReasoningBank Intelligence
- Skill Builder
- Sparc Methodology
- Stream Chain
- Swarm Advanced
- Swarm Orchestration
- V3 CLI Modernization
- V3 Core Implementation
- V3 DDD Architecture
- V3 Deep Integration
- V3 MCP Optimization
- V3 Memory Unification
- V3 Performance Optimization
- V3 Security Overhaul