13,255
stars
+65+198+257
988
forks
113
watchers
309
prs
1,206
issues
68
releases
0
discussions
README
All-in-one AI framework
txtai is an all-in-one AI framework for semantic search, LLM orchestration and language model workflows.
!architecture
!architecture
The key component of txtai is an embeddings database, which is a union of vector indexes (sparse and dense), graph networks and relational databases.
This foundation enables vector search and/or serves as a powerful knowledge source for large language model (LLM) applications.
Build autonomous agents, retrieval augmented generation (RAG) processes, multi-model workflows and more.
Summary of txtai features:
- 🔎 Vector search with SQL, object storage, topic modeling, graph analysis and multimodal indexing
- 📄 Create embeddings for text, documents, audio, images and video
- 💡 Pipelines powered by language models that run LLM prompts, question-answering, labeling, transcription, translation, summarization and more
- ↪️️ Workflows to join pipelines together and aggregate business logic. txtai processes can be simple microservices or multi-model workflows.
- 🤖 Agents that intelligently connect embeddings, pipelines, workflows and other agents together to autonomously solve complex problems
- ⚙️ Web and Model Context Protocol (MCP) APIs. Bindings available for JavaScript, Java, Rust and Go.
- 🔋 Batteries included with defaults to get up and running fast
- ☁️ Run local or scale out with container orchestration
txtai is built with Python 3.11+, Hugging Face Transformers, Sentence Transformers and FastAPI. txtai is open-source under an Apache 2.0 license.
[!NOTE]
NeuML is the company behind txtai and we provide AI consulting services around our stack. Schedule a meeting or send a message to learn more.
We're also building an easy and secure way to run hosted txtai applications with txtai.cloud.
Why txtai?
!why
!why
New vector databases, LLM frameworks and everything in between are sprouting up daily. Why build with txtai?
- Up and running in minutes with pip or Docker
python
Get started in a couple lines
import txtai
embeddings = txtai.Embeddings()
embeddings.index(["Correct", "Not what we hoped"])
embeddings.search("positive", 1)
[(0, 0.29862046241760254)]
- Built-in API makes it easy to develop applications using your programming language of choice
yaml
app.yml
embeddings:
path: sentence-transformers/all-MiniLM-L6-v2
bash
CONFIG=app.yml uvicorn "txtai.api:app"
curl -X GET "http://localhost:8000/search?query=positive"
- Run local - no need to ship data off to disparate remote services
- Work with micromodels all the way up to large language models (LLMs)
- Low footprint - install additional dependencies and scale up when needed
- Learn by example - notebooks cover all available functionality
Use Cases
The following sections introduce common txtai use cases. A comprehensive set of over 70 example notebooks and applications are also available.
Semantic STop issues
#1161`mcpadapt` not working with latest version of `mcp`8 comments · 2026-07-28#1517Add a persisted multivector token store for exact MaxSim4 comments · 2026-11-05#1536Batched Task result packing gets quadratically slower with the batch size0 comments · 2026-11-08#1534SQL query fails when a negative number follows an operator without a space0 comments · 2026-11-08#1532Embeddings search misses Cypher queries with lowercase keywords or non-space whitespace0 comments · 2026-11-08#1530Keyword and IVFSparse search fail when CPU count is undetermined0 comments · 2026-11-08#1528Workflow task iterator outputs fail during result packing0 comments · 2026-11-07#1518Log-odds calibration uses upper middle score instead of median for even candidate sets0 comments · 2026-11-05
Latest release
v9.14.0 v9.14.0 2026-10-06This release adds new ANN backends for RaBitQ and Zvec Sparse, native support for ONNX vectors along with a bonanza of improvements and bug fixes See below for full details on the new features, improvements and bug fixes. New Features -------------------------- - Add ONNX vectors backend (1211, 1212) @joseph-bergin - Add RaBitQ as an ANN backend (1244, 1251) @pma1999 - Add Zvec Sparse ANN (1280, 1307) @Ni0ri - Require Python 3.11 (1273) Improvements -------------------------- - Update vectors package to standardize fallback logic (1221) - Support pooling_mode with models t
相关报道 (7)
News & coverage (10)
Hacker NewsPrompt-driven vector search with LLMs▲ 28 · 5 comments · 2023-02-02Hacker NewsShow HN: Txtai – AI-powered search engine in JavaScript▲ 6 · 0 comments · 2020-11-26Hacker NewsTxtai 5.0 released – build semantic search applications and workflows▲ 5 · 1 comments · 2022-09-27Hacker NewsShow HN: Txtai 5.2 released: open-source semantic search▲ 4 · 0 comments · 2022-12-21Hacker NewsTxtai 5.1: better machine translation, Whisper transcription and ARM support▲ 4 · 1 comments · 2022-10-19Hacker Newstxtai: A FOSS Vector ML Database for Intelligent Semantic Search▲ 4 · 0 comments · 2022-09-20Hacker NewsShow HN: The Semantic Graph▲ 3 · 1 comments · 2022-09-16Hacker NewsShow HN: Txtai – SQL-driven semantic search with machine learning functions▲ 3 · 1 comments · 2022-04-03lablabDiscover the AI Breakthroughs of 2023: Dolma, StableVideo, OpenPipe, txtai, and Project IDX2023-09-20Analytics India MagazineComplete Tutorial On Txtai: An AI-Powered Search Engine2020-11-09