Local Vector Store
/install local-vector-store
Local Vector Store
A lightweight semantic search engine that indexes documents as vectors and enables similarity-based retrieval without external APIs.
Features
- Document indexing with vector embeddings
- Semantic similarity search
- Local storage (no external dependencies)
- Batch indexing support
- Configurable embedding dimensions
- Cosine similarity matching
Usage
const vectorStore = require('./local-vector-store');
// Initialize store
const store = await vectorStore.create({
dimension: 384,
storePath: '/tmp/vector-store'
});
// Index documents
await store.index({
id: 'doc1',
content: 'Machine learning is a subset of artificial intelligence',
metadata: { source: 'wiki' }
});
// Search by semantic similarity
const results = await store.search({
query: 'AI and deep learning',
topK: 5,
threshold: 0.7
});
// Batch operations
await store.indexBatch([
{ id: 'doc2', content: 'Neural networks process data' },
{ id: 'doc3', content: 'Algorithms solve computational problems' }
]);
Configuration
Set environment variables:
VECTOR_DIMENSION: Embedding dimension (default: 384)STORE_PATH: Local storage directory (default: /tmp/vector-store)SIMILARITY_THRESHOLD: Minimum similarity score (default: 0.5)
Output Format
{
"query": "semantic search",
"results": [
{
"id": "doc1",
"content": "...",
"similarity": 0.92,
"metadata": {}
}
],
"searchTime": 45
}
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install local-vector-store - After installation, invoke the skill by name or use
/local-vector-store - Provide required inputs per the skill's parameter spec and get structured output
What is Local Vector Store?
Implements semantic search using local vector embeddings for knowledge base indexing and similarity matching. Use when you need to search documents by meanin... It is an AI Agent Skill for Claude Code / OpenClaw, with 111 downloads so far.
How do I install Local Vector Store?
Run "/install local-vector-store" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Local Vector Store free?
Yes, Local Vector Store is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Local Vector Store support?
Local Vector Store is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Local Vector Store?
It is built and maintained by jackfeng0614-prog (@jackfeng0614-prog); the current version is v1.0.0.