-
Notifications
You must be signed in to change notification settings - Fork 0
Getting Started
Meyverick edited this page Jun 23, 2026
·
2 revisions
Platform note:
omnicodeis written in Node.js and designed to work cross-platform, but it has only been developed and tested on Ubuntu Linux. Running on Windows, macOS, or other Linux distributions may uncover untested edge cases.
- Linux, macOS, or Windows
- Node.js 22 or later (OmniRoute requires Node >=22 <=24)
- npm
- OpenCode
- OmniRoute
- (Optional) GrayMatter
- (Optional) OpenSpec
- (Optional) Docker — required for Qdrant vector indexing
- (Optional) MinerU — required for PDF/image OCR in complex documents
- (Optional) web-tree-sitter — required for structural code chunking
omnicode requires opencode and omniroute on your PATH:
npm install -g opencode
npm install -g omnirouteOptional tools:
# GrayMatter
sudo install -m 755 graymatter /usr/local/bin/graymatter
# OpenSpec
npm install -g @fission-ai/openspecnpm install -g @meyverick/omnicodeNo postinstall scripts run. No additional tools are installed.
omnicodeThis will:
- Verify
opencodeandomnirouteare available. - Run GrayMatter and OpenSpec initialization quietly (logs captured to
~/.local/share/omnicode/). - Start
omniroute --no-openin the background. - Start a Qdrant Docker container for vector indexing (if Docker is available).
- Begin indexing
./references/in the background. - Look up the latest OpenCode session for the current directory.
- Launch OpenCode.
If a ./references/ directory exists and Qdrant is enabled, omnicode indexes the reference files in the background. Indexing uses:
- BAAI/bge-small-en-v1.5 — lightweight embedding model (384 dimensions, ~65MB).
-
Qdrant Docker container — persistent vector storage at
localhost:6333. - MinerU — OCR and layout parsing for PDFs and images (optional).
- web-tree-sitter — structural code chunking (optional).
Run indexing manually:
omnicode indexForce a full re-index:
omnicode index --force-reindexomnicode --statusShows whether OpenCode, OmniRoute, Qdrant, and any active indexers are running.
sudo npm uninstall -g @meyverick/omnicodeTo clean up Qdrant data:
docker rm -f omnicode-qdrant 2>/dev/null
rm -rf ~/.local/share/omnicode/qdrant-storage