Structured reads
Read page, row, paragraph, or line ranges after search finds the right source.
openDB gives AI agents a private MCP database for files, search, and long-term memory. It keeps retrieval deterministic, local, and explainable with provenance back to the file, page, row, line range, or memory record.
The agent searches first, then opens only the page, row, paragraph, or line range needed to answer.
Full-text indexes over documents, code, sheets, decks, PDFs, and text let agents find the smallest useful context first. SQLite FTS5 and Postgres tsvector keep the system fast without mandatory embedding infrastructure.
Read page, row, paragraph, or line ranges after search finds the right source.
Every result points back to a file path, source type, and retrieved slice.
Tokenization support keeps multilingual workspaces searchable.
Semantic, episodic, and procedural memories let agents separate stable facts, dated outcomes, and reusable workflows. Pinned context surfaces immediately while older facts can decay or be replaced.
Memory docs ->LongMemEval_S R@5
token savings vs command parsing
memory stress suite
embedding calls required for retrieval
pip install opendb
opendb mcp install
opendb index /path/to/workspace