Top-Notch neus ask
Answers complex architecture and implementation questions with strictly numbered, verifiable source citations. Declines to invent facts when passages are missing.
Personal code search engine · 100% local · citation-grounded
The speedy, local-first search engine for codebases, YAML specs, and architecture docs. High-precision ranking and Go AST parsing turn your index into an authoritative source of truth, enhanced by fast local LLMs and cloud fallbacks.
go install ubunatic.com/neus/cmd/neus@latestPersonal Search Engine
Think of neus as a personal search engine for your repositories: combining keyword matching and vector semantics, with the speedy local index remaining the absolute source of truth. Everything else—from AST symbol resolution to local and cloud LLM answers—flows from this solid index baseline.
The core runs 100% locally in pure Go and SQLite without bundled Python dependencies, querying local inference backends for embeddings and using intelligent cloud fallback (such as Codex CLI) only when needed.
Architecture & Invariants
Answers complex architecture and implementation questions with strictly numbered, verifiable source citations. Declines to invent facts when passages are missing.
A blazing-fast SQLite FTS5 and vector index storing parsed Go AST symbols (structs, receiver methods) and hierarchical YAML spec keys.
Blends lexical BM25 hits and semantic vector cosine distances into an optimal rank formula, surfacing the exact defining code rather than vague matches.
Automatically filters 6 secret categories (tokens, keys, .env, statefiles) using spec/ignore.yaml, with hardened symlink protection.
Prunes orphaned code and spec chunks automatically as files are deleted or moved, keeping database footprint lean and search results fresh.
neus status provides real-time vector queue progress, DB-backed backlogs, scan timestamps, and persistent state across restarts.
CLI Workflow
# Index the current repository
$ neus index .
# Inspect indexing status and vector queue
$ neus status
# Search Go AST declarations and specs by meaning
$ neus search --root . --kind code "Go AST receiver methods"
# Ask grounded questions with numbered source citations
$ neus ask --root . "How does RRF calculate fusion scores?"