R106 · Knowledge for agents › Retrieval over long documents

txtai: vectors, SQL and a graph in one local index

Read the original

retrievalvector-searchsqlknowledge-graphopen-source

Source: neuml/txtai on GitHub (Apache-2.0, about 13.4k stars), highlighted in posts by André Lindenberg and Stanislav Beliaev, 2026-11-16.

What it is

txtai is an open-source Python framework from NeuML built around an "embeddings database": one index that unifies sparse and dense vector indexes, a relational store, and an optional graph network. It runs locally by default and adds pipelines (LLM prompts, QA, summarization, transcription), workflows, agents, and Web and MCP APIs on top.

The parts worth a staff engineer's attention

Where it fits

A good default for single-node or embedded retrieval: internal knowledge bases, agent memory stores, notebooks, and prototypes where operating a vector database plus a relational database plus a graph store is too much. It is less obviously the answer for multi-tenant, high-write, horizontally scaled search, where a dedicated engine's sharding and operations tooling matter more.

Caveats

R096 and other retrieval entries under index subtopic 4.3; agent memory under 1.1.

Connections

See R106 on the knowledge map

Part of the Research notes on nowucca.com. Figures and claims are the source's own unless the summary says otherwise.