Document Search & Citation Engine • 100% Local & Page-Verified

Turn Complex Contracts & Regulations Into Verifiable, Page-Cited Answers.

vkbm is a document search and compliance tool that indexes your organization's handbooks, regulations, and contracts so analysts and AI assistants can find answers and review agreements backed by exact page quotes. It organizes documents into a 4-level structure (Book, Section, Rule, and Quote) and runs entirely on your own hardware without sending text to external cloud APIs.

Exact Page Citations
Every result links directly to the document title, section heading, and printed page number.
Runs 100% Locally
Indexes confidential contracts on your own servers or laptops without external API calls or GPUs.
OpenAI & MCP Ready
Includes a browser library plus OpenAI-compatible and MCP endpoints with automatic quote verification.
End User Documentation Technical Documentation
Why It's Needed & Use Cases

Page-Cited Document Search & Automated Contract Reviews

How vkbm replaces flat vector search tools that lose page context and weeks of manual spreadsheet reviews.

1. Core Capabilities

Index Policy Manuals Without Losing Page Context

Point vkbm at multi-thousand-page PDFs or policy manuals to build a 4-level index (Book Overview → Section → Specific Requirement → Verbatim Quote). It computes text embeddings locally on your CPU and tracks printed page footers with 98.5% accuracy.

Included: 4-level HNSW graph • Page footer parser • Built-in legal/regulatory glossary • Local HTTP query API.
2. Faster Legal & Compliance Reviews

Turn Weeks of Contract Cross-Checking Into Seconds

Legal, procurement, and compliance teams spend hundreds of hours manually checking vendor agreements against regulatory handbooks (such as OCC, FFIEC, DORA, or HIPAA), while standard vector databases strip out page footers and mix up sections.

Impact: Cut manual contract review time while avoiding cloud embedding API fees and GPU server costs.
3. Automated Gap Analysis

Clause-by-Clause Contract Comparison

Upload a vendor agreement or internal policy to compare every clause against your regulatory library automatically. vkbm flags Covered, Partial, or Missing requirements alongside exact page quotes and section headings.

Well Suited For: Vendor risk reviews, contract redlining, and regulatory audit preparation.
4. Suite & AI Integration

Browser Library + MCP, OpenAI & Citation Checks

Generates a 3-column HTML library for compliance officers, serves Model Context Protocol (MCP) and OpenAI-compatible /v1/chat/completions endpoints for AI agents and vllm, and checks every generated quote word-for-word against the source page.

Included: MCP HTTP & stdio server • Automated quote verifier • 2-turn section-to-quote zoom.
Market Comparison

How vkbm Compares to Other Search & Review Tools

Compare vkbm against standard vector databases and manual spreadsheet reviews.

Capability / Criteria vkbm (4-Level Citation Engine) Standard Vector Databases & RAG Manual Legal & Compliance Review
Document Structure Preserves 4-level hierarchy: book, section, rule, and quote Splits PDFs into flat, disconnected text chunks High human understanding, but locked in static notes
Citation Accuracy Links every answer to the exact printed page and section Often loses page numbers or invents citations Accurate, but takes hours of manual cross-checking
Data Privacy Runs 100% locally with no external cloud API calls Usually sends confidential text to cloud embedding APIs Private, but relies on emailing spreadsheets and PDFs
Contract Gap Checking Automated clause-by-clause comparison in seconds Struggles to match multi-part regulatory rules Takes days or weeks per vendor contract package
Hardware & Cost Runs on standard laptops or CPU servers; no GPU needed Requires cloud vector services or GPU servers High billable-hour and staffing costs
Analyst Interface Includes a 3-column browser library plus an AI API Developer database only; no built-in reader UI Standard PDF viewers with basic keyword search
Summary: Verifiable page citations that both your engineering team and your compliance reviewers can rely on.
Technical Reference

Technical Specifications

Graph indexing, page number extraction, local embedding math, and storage specifications.

HIERARCHICAL GRAPH

4-Level HNSW Index (L3 → L0)

Stores a 4-tier navigable small-world graph linking L3 Document Overviews, L2 Table-of-Contents Sections, L1 Individual Rules, and L0 Verbatim Quotes.

PAGE CITATION PARSER

98.5% Accurate Page Footer Extractor

Combines explicit footer pattern matching with sequential page-number validation to achieve 98.5% printed-page accuracy across 4,768 tested handbook pages.

HYBRID LEXICAL-LATENT SEARCH

Randomized SVD + BM25 + Synonyms

Combines Randomized Truncated SVD, BM25 keyword scoring, phrase boosting, and 650+ regulatory synonym groups offline—with an optional HTTP hook for external neural embedders.

VECTOR STORAGE

4 KB Page-Aligned Binary Store

Stores vectors on disk in 4,096-byte OS-aligned pages (packing 31 quantized int8 vectors per page) protected by 64-bit checksums and an in-memory LRU cache.

OPENAI, MCP & CITATION GUARD

Agent Protocols & Quote Verifier

Serves OpenAI-compatible /v1/chat/completions, MCP (HTTP & stdio), 2-turn coarse-to-fine zoom, and deterministic word-for-word citation verification on port :7331.

RUNTIME FOOTPRINT

Single Native V Binary

Compiles into one standalone executable with no Python, PyTorch, or C/C++ library dependencies, generating both the binary search index and the static HTML5 reader library.

Product Roadmap & Releases

Stay Informed on vkbm Releases

Follow recent and upcoming milestones, and sign up for release notifications, early access builds, or product briefings.

Release Highlights

Recent & Upcoming Milestones

AVAILABLE NOW Current Production Release

4-Level Memory, OpenAI/MCP Server & Citation Verifier

58-handbook indexing, automated contract gap audits, OpenAI & MCP server integration, 2-turn auto-zoom, and word-for-word quote verification.

UPCOMING Next Milestone

Multi-Version Regulatory Redline & Change Impact Diffing

Automatically trace how updated supervisory guidance or statutory amendments impact existing vendor contracts across your portfolio.

PLANNED Roadmap

One-Click Audit Evidence Binder Export

Export signed, regulator-ready compliance packets with side-by-side vendor clauses and highlighted handbook page citations.

Paired Suite Integrations: varc • vllm • vca • vwarden • vsite