PRIVATE CODEBASE INTELLIGENCE

Private AI for your codebase.

Analyze, understand, and document your software with the AI model you choose โ€” while keeping complete control of your source code.

๐Ÿ”’ Private๐Ÿ’ป Local-firstโšก Developer-focused
See How It Works
Local-first
โ€ข
Model-agnostic
โ€ข
AST + RAG
โ€ข
Markdown ยท HTML ยท PDF
V
VaultDoc Desktop โ€” Local Workspace
โ— Local Processing (0 bytes sent online)
ecommerce-platform
TypeScript
Local Ollama
Executing completely on device

Analyzing Repository...

Project: ecommerce-platform โ€ข Model: Qwen 2.5 Coder

0%
Scanning repository files & structure
142 files
Building Abstract Syntax Tree (AST)
8 modules
Indexing vectors into local LanceDB
1,240 chunks
Resolving module cross-dependencies
34 relations
Generating technical documentation
Markdown/PDF
Interactive product visualizer

THE CODEBASE KNOWLEDGE GAP

Your codebase already contains the answers. Finding them shouldn't take hours.

Engineers spend over 30% of their time navigating code structure rather than building features.

Outdated Documentation

Code evolves daily, but markdown docs quickly drift out of sync, creating misleading technical references for your team.

Scattered Architecture Context

System flow, database schemas, and API contracts are fragmented across dozens of source files and configuration scripts.

Incomplete API References

Understanding input schemas, error bounds, and response contracts requires digging through implementation code manually.

Knowledge Loss on Offboarding

When senior engineers leave, critical architectural context and implicit design choices disappear with them.

Opaque Dependency Risks

Security boundaries, sensitive credentials, and implicit dependencies remain difficult to audit across large codebases.

Cloud Data Privacy Concerns

Many teams cannot risk uploading proprietary, regulated, or client source code to external third-party AI cloud services.

THE VaultDoc PIPELINE

Give your codebase an AI-powered understanding layer.

A continuous four-stage analysis pipeline engineered specifically for software repositories.

Your Repository
Code Analysis
AST + RAG
Your AI Model
Structured Documentation
01

Step 1 โ€” Analyze

Code Analysis & Tree-Sitter AST Parsing

VaultDoc scans relevant project files and builds a full Abstract Syntax Tree (AST) to map methods, classes, dependencies, and configuration boundaries without uploading files.

Supports TypeScript, Python, Go, Rust, Java, C++, Ruby, PHP, and SQL.
02

Step 2 โ€” Retrieve

Contextual Local LanceDB Indexing

Relevant code snippets, API signatures, database schemas, and config files are indexed into a local vector store for precise, code-aware contextual retrieval.

Local embeddings ensure 0% external vector leak.
03

Step 3 โ€” Reason

Model-Agnostic Intelligence Layer

The selected AI model (Ollama local model or cloud API choice) receives rich codebase context to reason deeply about your application's architecture.

Runs with Qwen 2.5 Coder, DeepSeek, Llama, Claude 3.5, or GPT-4o.
04

Step 4 โ€” Generate

Structured Technical Documentation

VaultDoc produces comprehensive, ready-to-publish architecture overviews, API references, security audits, and project READMEs.

Instant exports in Markdown, standalone HTML, or print-ready PDF.
๐Ÿ”’ LOCAL PROCESSING & PRIVACY ARCHITECTURE

Your code is yours. Keep it that way.

With local processing, VaultDoc can analyze your codebase without requiring your source code to leave your machine.

"Local when privacy matters. Flexible when you need it."

Local Processing Pipeline

Execution Boundary: YOUR MACHINE ONLY

0 KB Remote Traffic
YOUR MACHINE ENVIRONMENT (AIR-GAPPED READY)
Repository
AST Parser
Local Embeddings
Local RAG
Local LLM
Documentation
LOCAL MODESource code remains on-device

Zero External Code Transfer

Source code, embeddings, and vector indices reside exclusively on your machine. Ideal for proprietary enterprise codebases, financial systems, healthcare apps, and strict compliance environments.

  • Runs fully offline without internet connection
  • Uses Ollama, LM Studio, or local GGUF models
  • Local LanceDB vector store stored in ~/.VaultDoc
CLOUD MODEFlexible model provider choice

Bring Your Own API Keys

When developers want maximum reasoning throughput or multi-modal documentation synthesis, VaultDoc connects seamlessly to supported cloud model providers using your own API key.

  • Support for OpenAI (GPT-4o), Anthropic (Claude 3.5), Gemini
  • Only minimal required code context chunks sent per query
  • Switch between Local and Cloud modes with 1 click

MODEL-AGNOSTIC INTELLIGENCE

Your model. Your choice.

VaultDoc is designed to work with the AI stack you prefer โ€” from local open-weights to high-throughput cloud APIs.

LOCAL MODELRecommended

Qwen 2.5 Coder

Alibaba Cloud / Open Weights

State-of-the-art open coding model optimized for repository analysis and AST synthesis.

4B / 7B / 14B / 32B parameters โ€ข Runs via Ollama
LOCAL MODELRecommended

DeepSeek R1

DeepSeek AI

Reasoning-first architecture ideal for auditing complex codebase dependencies.

Distilled Llama & Qwen variants โ€ข GGUF support
LOCAL MODEL

Llama 3.3

Meta AI

High-capacity general open model for generating detailed architectural documentation.

8B / 70B parameters โ€ข Ollama native
LOCAL MODEL

Custom GGUF / Ollama

Open Source Ecosystem

Connect to any custom local LLM endpoint running on localhost:11434.

Compatible with vLLM, LM Studio, & Jan
CLOUD API

Claude 3.5 Sonnet

Anthropic

Exceptional code reasoning capability for large-scale enterprise refactoring analysis.

Requires Anthropic API key
CLOUD API

GPT-4o

OpenAI

High-speed multi-modal code understanding and structured JSON output generation.

Requires OpenAI API key
CLOUD API

Gemini 1.5 Pro

Google Cloud

Extremely long context window capable of ingesting massive repository structures.

Requires Google Gemini API key

DOCUMENTATION GENERATION

From codebase to documentation.

Automatically transform messy source code into structured, professional technical documentation.

MarkdownยทHTMLยทPDF
Architecture Documentation
# System Architecture & Data Flow

## Overview
VaultDoc parsed 142 source files in `ecommerce-platform` to map core dependencies.

```mermaid
[Frontend Next.js] --> [API Gateway /api/checkout]
[API Gateway] --> [CheckoutService]
[CheckoutService] --> [StripeAdapter]
[CheckoutService] --> [PostgreSQL Database]
```

## Core Subsystems
1. **API Gateway (`src/app/api/`)**: Validates payload schemas and rates limits incoming requests.
2. **Payment Engine (`src/services/payment/`)**: Wraps third-party PCI-compliant endpoints with strict fallback retries.
3. **State Management**: Uses PostgreSQL with Prisma ORM for transactional consistency.
CODE-AWARE ANALYSIS PIPELINE

Built to understand code, not just read text.

VaultDoc uses structured AST parsing, semantic chunking, and local LanceDB vector retrieval instead of dumping entire repositories blindly into an LLM.

Tree-sitter Scanners

1. Code Files

Scans project structure (.ts, .py, .go, .rs, .java) ignoring build output.

Syntax Tree Graph

2. AST Parsing

Extracts abstract syntax trees to identify function signatures, classes, and call sites.

Semantic Chunks

3. Smart Chunking

Splits code along semantic boundaries instead of arbitrary token character limits.

Nomic-Embed-Code

4. Local Embeddings

Generates code vector embeddings locally without cloud network requests.

LanceDB Local Store

5. Vector Index

Stores vector embeddings in a fast, embedded LanceDB vector database on disk.

Context Retrieval

6. RAG & AI Reasoning

Retrieves only high-relevance context for the target LLM to generate precise docs.

Under the Hood: AST + RAG Architecture
Active Stage: 1. Code Files
// Why AST + Local RAG matters

Generic AI tools often hallucinate or truncate large codebases because they treat source code as plain text sentences. VaultDoc builds AST syntax trees to guarantee that function call hierarchies and cross-module imports are never missed.

โœ“ 10x lower token context cost โ€ข 0% source code leakage
const pipeline = new VaultEngine{
astParser: TreeSitterNative(),
vectorDB: LanceDB.open("~/.VaultDoc"),
llm: Ollama("qwen2.5-coder"),
};
TERMINAL-NATIVE INTERFACE

For developers who live in the terminal.

Run automated codebase indexing and documentation generation straight from your terminal or shell scripts.

bash โ€” VaultDoc-cli
$VaultDoc analyze ./my-project
// Click any button above to test the CLI output simulation
Scanning /home/dev/my-project (142 files)...
โœ“ Repository scanned
โœ“ AST generated
โœ“ Code indexed
โœ“ Context retrieved
โœ“ Documentation generated
Done.

TARGET USE CASES

Built for people who work with code.

Engineered for developers, founders, and security-conscious engineering teams.

Individual Developers

Understand unfamiliar open-source or legacy repositories 5x faster.

Freelancers & Consultants

Deliver sleek, professional technical documentation to client handoffs in minutes.

Startups & Growth Teams

Ship automatic API references and architecture guides without adding overhead.

Engineering Teams

Preserve institutional knowledge and streamline onboarding for new hires.

Privacy-Sensitive Projects

Deploy local AI processing when analyzing confidential, financial, or healthcare code.

WORKFLOW TRANSFORMATION

How VaultDoc changes developer productivity

Without VaultDoc
1.Open repository manually
2.Grep search across hundreds of files
3.Manually trace complex call chains
4.Hand-write markdown documentation
5.Repeat when code changes next week
โฑ Average time: 4 to 8 hours per codebase update
With VaultDoc
1.Select repository directory
2.AST scan & local vector index
3.Choose local or cloud AI model
4.Auto-generate Markdown / HTML / PDF
โšก Average time: < 30 seconds (Automated)
TRANSPARENT PRODUCT ROADMAP

Built for what comes next.

We are building a privacy-first foundation today and expanding codebase intelligence tools for tomorrow.

NOWAvailable in Private Beta
Native Desktop Application (macOS / Linux / Windows)
Local-first AI execution (Ollama, GGUF, local LLMs)
AST Syntax Tree Parsing & LanceDB Vector Indexing
Automated Markdown, HTML, and PDF doc exports
Terminal CLI integration (`VaultDoc analyze`)
NEXTIn Active Development
GitHub Actions & GitLab CI/CD auto-doc generation
Automatic documentation updates on git commit/push
Custom PDF template engine & brand styling
Enhanced security credential scanning heuristics
FUTUREResearch Roadmap
Interactive Local Codebase Q&A Chat Agent
Automatic Mermaid.js architecture diagram generation
Advanced multi-repository workspace indexing
Air-gapped team workspace synchronization

PRICING & LICENSING

Simple, developer-friendly licensing.

No public download yet. Reserve early access and lock in private beta founding pricing.

Free Forever

Community

$0

For individual developers exploring local-first codebase intelligence.

Local AI execution (Ollama & GGUF)
Single repository AST analysis
Standard documentation generation
Markdown (.md) exports
Standard CLI commands
Community support
Most Popular

Pro License

Private Beta

For professional developers who need advanced analysis and PDF exports.

Everything in Community
Unlimited local & cloud repositories
Advanced AST + LanceDB RAG indexing
Markdown, HTML, & PDF exports
Security audit & vulnerability scans
Cloud model API support (Claude, GPT-4o)
Advanced CLI automation scripts
Priority email support
Custom

Enterprise

Custom

For engineering organizations requiring custom security & deployment.

Everything in Pro
Per-seat team licensing
Air-gapped deployment option
Custom PDF branding & templates
SSO & SAML authentication
Dedicated customer success manager
Custom LLM & AST parser integrations
SLA & priority response time
PRIVATE BETA ACCESS

Be first to use VaultDoc.

Join the private beta waitlist and get early access when VaultDoc launches.

No credit card required. 100% privacy respected.
FREQUENTLY ASKED QUESTIONS

Got questions? We've got answers.

Everything you need to know about VaultDoc privacy, local AI models, and architecture.

VaultDoc is a private, model-agnostic codebase intelligence and automated documentation tool. It parses software repositories using AST analysis, local vector embeddings, and AI models to generate professional architecture overviews, API references, security audits, and project documentation.
PRIVATE & MODEL-AGNOSTIC

Your codebase deserves better documentation.

Analyze it privately. Understand it faster. Document it automatically.

No credit card required. Private beta spots assigned in order of signup.