txtai

Ochiq manbalardan

💡 Semantik qidiruv, LLM orkestratsiyasi va til modellari ish oqimlari uchun barcha imkoniyatlarga ega sun'iy intellekt freymvorki

Mashina tarjimasi · Asl matnni koʻrsatish

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

AI vositaKategoriya: AI agentlarOpen sourcemaʼlumot tekshirilgan: 15-okt, 2026

Sharh

  • agents
  • ai
  • ai-agents
  • embeddings
  • information-retrieval
  • language-model
  • large-language-models
  • llm
  • nlp
  • python

Oʻrnatish

Buyruqlar faqat koʻrsatiladi, marketpleys ularni bajarmaydi. Rasmiy hujjatlar bilan solishtiring.
  • Rasmiy saytOchiq manbalardankatalog metamaʼlumotlaridan
    neuml.github.io/txtai ↗
  • Manbadan yigʻishOchiq manbalardankatalog metamaʼlumotlaridan

    Manbadan yigʻish: tekshirilgan yigʻish retsepti yoʻq — repozitoriy koʻrsatmalariga amal qiling.

    github.com/neuml/txtai ↗

Moslik

«Nomaʼlum» dalil topilmaganini bildiradi, mahsulot mos emasligini emas.
PlatformaHolatArxitekturaDalilIshonchlilik
WindowsNomaʼlum———
macOSNomaʼlum———
LinuxNomaʼlum———
Web browserNomaʼlum———
Server / self-hostedNomaʼlum———
Container (OCI)Nomaʼlum———

Relizlar

tekshirilgan: 29-okt, 2026
v9.14.0Oxirgi6-okt, 2026Rasmiy manba ↗

9.14.0 versiyasi fayllari

Relizga fayllar biriktirilmagan.

Relizlar tarixi

Sifat profili

algoritm quality-v1.0 · baholangan 15-okt, 2026
Sifat bahosi97
Xavf bahosi0
Ishonchlilik 1.00
Sifat bahosi va xavf bahosi — turli koʻrsatkichlar. Yuqori sifat xavfsizlikni kafolatlamaydi.

Baho tarkibi

Qoʻllab-quvvatlash · 2020
last activity 0 days ago
Hujjatlar · 1515
README 22597 chars, description present
Foydalanishga tayyorlik · 1515
install instructions: yes; releases: yes
Metamaʼlumotlar · 1010
4/4 of description, homepage, license, topics
Relizlar · 1010
10 release(s), latest 9 days ago
Kategoriya aniqligi · 107
classifier confidence 0.65
Ommaboplik · 1010
13017 stars (log-dampened, 10k = max)
Litsenziya aniqligi · 55
SPDX Apache-2.0
Hamjamiyat · 55
issues enabled, 956 forks

Litsenziya

Apache-2.0
Litsenziya maʼlumrepozitoriy xostingi maʼlumotlariga koʻra

Bu katalog siyosati holati, yuridik xulosa emas.

Manbalar

github.com/neuml/txtaiAsosiy★ 13 017 yulduzfaollik: 15-okt, 2026Asosiy repozitoriy · Ishonchlilik 1.00

Sharhlar

Sharh yozish uchun kiring

Hali sharhlar yoʻq.

Muqobillar

README

neuml/txtai dan · litsenziya Apache-2.0 · yuklangan 29-okt, 2026

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
# 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
# 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"
  • 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 Search

Build semantic/similarity/vector/neural search applications.

[demo]

Traditional search systems use keywords to find data. Semantic search has an understanding of natural language and identifies results that have the same meaning, not necessarily the same keywords.

[search] [search]

Get started with the following examples.

NotebookDescription
Introducing txtai ▶️Overview of the functionality provided by txtai[Open In Colab]
Similarity search with imagesEmbed images and text into the same space for search[Open In Colab]
Build a QA databaseQuestion matching with semantic search[Open In Colab]
Semantic GraphsExplore topics, data connectivity and run network analysis[Open In Colab]

LLM Orchestration

Autonomous agents, retrieval augmented generation (RAG), chat with your data, pipelines and workflows that interface with large language models (LLMs).

[llm]

See below to learn more.

NotebookDescription
Prompt templates and task chainsBuild model prompts and connect tasks together with workflows[Open In Colab]
Integrate LLM frameworksIntegrate llama.cpp, LiteLLM and custom generation frameworks[Open In Colab]
Build knowledge graphs with LLMsBuild knowledge graphs with LLM-driven entity extraction[Open In Colab]
Parsing the stars with txtaiExplore an astronomical knowledge graph of known stars, planets, galaxies[Open In Colab]
Agents

Agents connect embeddings, pipelines, workflows and other agents together to autonomously solve complex problems.

[agent]

txtai agents are built on top of the smolagents framework. This supports all LLMs txtai supports (Hugging Face, llama.cpp, OpenAI / Claude / AWS Bedrock via LiteLLM). Agent prompting with agents.md and skill.md are also supported.

Check out this Agent Quickstart Example. Additional examples are listed below.

NotebookDescription
Granting autonomy to agentsAgents that iteratively solve problems as they see fit[Open In Colab]
TxtAI got skillsIntegrate skill.md files with your agent[Open In Colab]
Agent Tools ▶️Learn about the txtai agent toolkit[Open In Colab]
Analyzing LinkedIn Company Posts with Graphs and AgentsExploring how to improve social media engagement with AI[Open In Colab]
Retrieval augmented generation

Retrieval augmented generation (RAG) reduces the risk of LLM hallucinations by constraining the output with a knowledge base as context. RAG is commonly used to "chat with your data".

[rag] [rag]

Check out this RAG Quickstart Example. Additional examples are listed below.

NotebookDescription
Build RAG pipelines with txtai ▶️Guide on retrieval augmented generation including how to create citations[Open In Colab]
RAG is more than Vector SearchContext retrieval via Web, SQL and other sources[Open In Colab]
GraphRAG with Wikipedia and GPT OSSDeep graph search powered RAG[Open In Colab]
Speech to Speech RAG ▶️Full cycle speech to speech workflow with RAG[Open In Colab]

Language Model Workflows

Language model workflows, also known as semantic workflows, connect language models together to build intelligent applications.

[flows] [flows]

While LLMs are powerful, there are plenty of smaller, more specialized models that work better and faster for specific tasks. This includes models for extractive question-answering, automatic summarization, text-to-speech, transcription and translation.

Check out this Workflow Quickstart Example. Additional examples are listed below.

NotebookDescription
Run pipeline workflows ▶️Simple yet powerful constructs to efficiently process data[Open In Colab]
Building abstractive text summariesRun abstractive text summarization[Open In Colab]
Transcribe audio to textConvert audio files to text[Open In Colab]
Translate text between languagesStreamline machine translation and language detection[Open In Colab]

Installation

[install] [install]

The easiest way to install is via pip and PyPI

pip install txtai

Python 3.11+ is supported. Using a Python virtual environment is recommended.

See the detailed install instructions for more information covering optional dependencies, environment specific prerequisites, installing from source, conda support, lightweight minimal installation and how to run with containers.

Model guide

[models]

See the table below for the current recommended models. These models all allow commercial use and offer a blend of speed and performance.

ComponentModel(s)
Embeddingsall-MiniLM-L6-v2
Image CaptionsBLIP
Labels - Zero ShotDeBERTa v3 Zeroshot
Labels - FixedFine-tune with training pipeline
Large Language Model (LLM)Gemma 4 31B
SummarizationDistilBART
Text-to-SpeechESPnet JETS
TranscriptionWhisper
TranslationOPUS Model Series

Models can be loaded as either a path from the Hugging Face Hub or a local directory. Model paths are optional, defaults are loaded when not specified. For tasks with no recommended model, txtai uses the default models as shown in the Hugging Face Tasks guide.

See the following links to learn more.

Powered by txtai

The following applications are powered by txtai.

[apps]

ApplicationDescription
ragRetrieval Augmented Generation (RAG) application
ncoderOpen-Source AI coding agent
paperaiAI for medical and scientific papers
annotateaiAutomatically annotate papers with LLMs

In addition to this list, there are also many other open-source projects, published research and closed proprietary/commercial projects that have built on txtai in production.

Further Reading

[further] [further]

Documentation

Full documentation on txtai including configuration settings for embeddings, pipelines, workflows, API and a FAQ with common questions/issues is available.

Contributing

For those who would like to contribute to txtai, please see this guide.

Repozitoriyni ochish ↗