spencermarx avatar

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-code

Installs 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
1spencermarx avatarbrowserspencermarx/open-code-reviewWeb browser automation with AI-optimized snapshots for claude-flow agents0skills.sh installs
2spencermarx avatarPair Programmingspencermarx/open-code-reviewAI-assisted pair programming with multiple modes (driver/navigator/switch), real-time verification, quality monitoring, and comprehensive testing. Supports TDD,0skills.sh installs
3spencermarx avatarReasoningBank with AgentDBspencermarx/open-code-reviewImplement ReasoningBank adaptive learning with AgentDB's 150x faster vector database. Includes trajectory tracking, verdict judgment, memory distillation, and p0skills.sh installs
4spencermarx avatarReasoningBank Intelligencespencermarx/open-code-reviewImplement adaptive learning with ReasoningBank for pattern recognition, strategy optimization, and continuous improvement. Use when building self-learning agent0skills.sh installs
5spencermarx avatarSkill Builderspencermarx/open-code-reviewCreate new Claude Code Skills with proper YAML frontmatter, progressive disclosure structure, and complete directory organization. Use when you need to build cu0skills.sh installs
6spencermarx avatarsparc-methodologyspencermarx/open-code-reviewSPARC (Specification, Pseudocode, Architecture, Refinement, Completion) comprehensive development methodology with multi-agent orchestration0skills.sh installs