txtai
neuml/txtai
π‘ All-in-one AI framework for semantic search, LLM orchestration and language model workflows
π‘ All-in-one AI framework for semantic search, LLM orchestration and language model workflows
Categories
Tags
Similar tools
ECC
affaan-m/ECC
The agent harness performance optimization system
hermes-agent
NousResearch/hermes-agent
The self-improving AI agent built by Nous Research
AutoGPT
Significant-Gravitas/AutoGPT
AutoGPT: Build, Deploy, and Run AI Agents
ollama
ollama/ollama
Get up and running with Kimi-K2.6, GLM-5.1, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.
prompts.chat
f/prompts.chat
The world's largest open-source prompt library for AI
transformers
huggingface/transformers
π€ Transformers: the model-definition framework for state-of-the-art machine learning models
Install
pip install txtaiREADME
All-in-one AI framework
txtai is an all-in-one AI framework for semantic search, LLM orchestration and language model workflows.
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.10+, 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?
New vector databases, LLM frameworks and everything in between are sprouting up daily. Why build with txtai?
# 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 cho