txtai: All-in-One AI Framework

All-in-one AI framework for semantic search, LLM orchestration, and language model workflows.

Source repo
neuml/txtai
Stars
★ 13k
Last updated
2d ago
License
Apache-2.0
Primary language
Python

At a glance

How it runs
Library / SDKSelf-hosted serviceMCP server
Works with
Universal · cross-platformOpenAI API · Claude API
Cost
Free software; you pay for model usage
Setup effort
Low · running in minutes
You'll need
Python 3.10+pipOptional: DockerShell / CLINetwork accessLocal filesystem
Typical use
Data scientists building semantic search engines over large text corpora.
Not a fit if
  • Users who want a ready-made GUI without writing code
  • Teams unwilling to pull Hugging Face models or external LLM services

What does this agent do, and when should you use it?

txtai is an all-in-one AI framework that unifies vector indexes (sparse and dense), graph networks, and relational databases into an embeddings database. This foundation powers semantic search, retrieval augmented generation (RAG), autonomous agents, and multi-model workflows. The core components include an embeddings database for indexing and search, and pipelines for tasks like LLM prompts, question-answering, summarization, translation, and transcription. Developers can use it via Python API, REST API, or YAML configuration files. Built with Hugging Face Transformers, Sentence Transformers, and FastAPI, txtai can run locally or scale out with container orchestration. It is open-sourced under Apache 2.0 and supports Python 3.10+.

txtai provides an embeddings database for indexing and searching text, documents, audio, images, and video. It runs pipelines for LLM prompts, question-answering, labeling, transcription, translation, summarization, and more. Workflows connect pipelines together for complex processes, while agents intelligently connect embeddings, pipelines, workflows, and other agents to autonomously solve problems. It offers REST and MCP APIs, with bindings for JavaScript, Java, Rust, and Go. Users can run locally or scale with container orchestration. After installation, txtai.Embeddings indexes and searches in Python, and the API can be started with a YAML config and Uvicorn.

  1. Data scientists building semantic search engines over large text corpora.
  2. Developers creating RAG systems to reduce LLM hallucinations by grounding outputs in a knowledge base.
  3. Researchers analyzing scientific papers through Q&A and summarization.
  4. Organizations building autonomous agents to automate customer support.
  5. Developers needing multi-model workflows like speech-to-speech RAG.
  6. Teams seeking a local search solution to avoid sending data to external services.

How do you install or deploy this agent?

Install with pip: pip install txtai. Python 3.10+ required. Docker also available.

How do you use this agent?

Python usage:

import txtai

embeddings = txtai.Embeddings()
embeddings.index(["Correct", "Not what we hoped"])
embeddings.search("positive", 1)

Start API with config file:

# app.yml
embeddings:
    path: sentence-transformers/all-MiniLM-L6-v2
CONFIG=app.yml uvicorn "txtai.api:app"
curl -X GET "http://localhost:8000/search?query=positive"

More examples in docs.

What are this agent's strengths and limitations?

Pros
  • Comprehensive framework covering search, RAG, agents, and workflows in one place.
  • Supports multimodal indexing (text, images, audio, video).
  • Runs locally, avoiding external data transmission.
  • Multiple language bindings (Python, JavaScript, Java, Rust, Go).
  • Good integration with Hugging Face models.
Limitations
  • Steep learning curve with YAML configuration and framework structure.
  • Large models may be resource-intensive.
  • Agent support depends on external frameworks like smolagents, adding integration complexity.
  • Extensive documentation and examples can be overwhelming for newcomers.

How does this agent compare with similar options?

The repository mentions alternatives like other vector databases and LLM frameworks (e.g., llama.cpp, LiteLLM), but does not name specific competitors.

Key facts side by side with the most closely related agents.

Agent Source review Form / cost Stars Updated Language Full support on
txtai: All-in-One AI Framework This agent 58 · Major gaps Library / SDKFree + model costs ★ 13k 2d ago Python OpenAI API · Claude API
Chroma - Open-Source Data Infrastructure for AI 45 · Major gaps Library / SDKFreemium ★ 30k 1d ago Rust —
SimpleMem: Efficient Lifelong Memory for LLM Agents 43 · Major gaps Library / SDKFree + model costs ★ 3.8k 2mo ago Python ChatGPT · Claude Code
DDC CWICR Construction Cost Database 41 · Major gaps Self-hosted serviceFree + model costs ★ 252 1mo ago HTML OpenAI API

How does FollowAgents rate this agent?

FollowAgents source review · FARS-2.1
Major gaps
58/ 100 5-point scale 2.9 / 5
This review covers the source as of Aug 09, 2026. The project has shipped 2 stable release(s) since, which have not been re-reviewed. The score and verdict describe the reviewed version only. Recent releases ↓
Trust 8/29
Reliability 8/14
Adaptability 14/18
Convention 14/18
Effectiveness 10/13
Verifiability 4/8
Why each dimension lost points
Trust8 / 29 · 1.4/5

Evidence: Apache-2.0 license, attribution to NeuML LLC; README mentions local execution reducing data transfer; tests show default tools like bash, write, but no least-privilege design or user confirmation. Deductions: no least-privilege, user confirmation, data flow transparency, sensitive data handling, dependency security, external effects control, or rollback mechanisms found.

Reliability8 / 14 · 2.9/5

Evidence: README and tests consistent; tests cover multiple backends and features; dependencies like Hugging Face Transformers are common and available; but failure messages not documented. Deduction: failure messages documentation insufficient.

Adaptability14 / 18 · 3.9/5

Evidence: README targets developers, provides multiple use cases (semantic search, RAG, agents) and examples; capability boundaries via docs and examples; trigger precision via config and API parameters; environment fit supports Python 3.10+, Docker. Deduction: capability boundaries and trigger precision partially documented, not exhaustive.

Convention14 / 18 · 3.9/5

Evidence: README well-structured, install instructions, examples, FAQ links; license clear; version history via GitHub releases and changelog; maintenance responsibility by NeuML. Deduction: known limitations not explicitly listed in README.

Effectiveness10 / 13 · 3.8/5

Evidence: Outputs are search results or agent responses, format clear; over 70 examples, high marginal value; cost-benefit good due to local execution and optional dependencies. Deduction: output usability lacks detailed error handling.

Verifiability4 / 8 · 2.5/5

Evidence: README feature descriptions align with tests; multiple sources (README, tests, docs) corroborate; but facts and inferences not clearly separated. Deduction: fact-inference separation insufficient.

Risks and how to mitigate them
  • Not found in source: confirmation before actingTurn on (or add) a confirmation step before it acts, and try it in a sandbox or test environment before real data.
  • Not found in source: rollback or recovery pathBack up first, or work on a git branch or snapshot, so its changes can be undone.
  • No least-privilege or user confirmation mechanisms found; agents may execute arbitrary tools (e.g., bash, write), configure carefully.
  • Dependency security not audited; check for vulnerabilities.
  • Data flow transparency insufficient; sensitive data handling not documented.
Evidence confidence: Low Reviewed Aug 09, 2026 Reviewed revision ea531b3420d6 New commits since this review; the score may not cover them
See the full review method →

Recent releases

Latest entries from the project's GitHub Releases. Notes are quoted from upstream as written, not rewritten or tested by FollowAgents.

  1. v9.14.0
    Release notes excerpt
    This 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) …
    View on GitHub ↗
  2. v9.13.0
    Release notes excerpt
    This release adds LEMUR learned multi-vector retrieval, expands late-interaction retrieval capabilities, and includes improvements to MUVERA and pooling along with a number of bug fixes. See below for full details on the new features, improvements and bug fixes. New Features -------------------------- - Add LEMUR: Learned Multi-Vector Retrieval (#1024, #1164, #1169, #1170, #1171, #1172, #1190, #1194, #1196) @morgan-coded - Add configurable mean centering to late pooling (#1168) @morgan-coded - Add max pooling (#1185, #1186) @Aryan-Pardeshi Improvements -------------------------- …
    View on GitHub ↗
  3. v9.12.0
    Release notes excerpt
    This release adds support for new ANN backends along with a bonanza of bug fixes from 7 new contributors! See below for full details on the new features, improvements and bug fixes. New Features -------------------------- - Feature request: Support zvec as vector backend (#1040, #1130) @morgan-coded - Add milvus-lite embedded dense ANN backend (#1149) @morgan-coded - Allow disabling API routes (#1165) Improvements -------------------------- - Add tokenbatch size to HFTrainer pipeline (#1133) - Only resolve transform functions when env variable set (#1155) …
    View on GitHub ↗

FAQ

Can txtai run locally?
Yes, txtai is designed to run locally without sending data to external services.
What programming languages are supported?
It offers a Python API and bindings for JavaScript, Java, Rust, and Go.
How can I integrate txtai with OpenAI or Claude?
It supports integration via LiteLLM, as documented for OpenAI / Claude / AWS Bedrock.
Can txtai handle images or audio?
Yes, it supports embedding and searching text, documents, audio, images, and video.
View on GitHub ↗ Install ↓

Related agents