What do you want to do?
3 use cases
-
Build semantic search in a few lines
Index text with Txtai Embeddings and search it by meaning.
View prompt
Using neuml/txtai, install it with `pip install txtai`, index a list of <my documents> with `embeddings.index` and run `embeddings.search` for a few queries.
-
Serve a search API from one YAML file
Configure an embeddings model in app.yml and expose it over HTTP.
- REPO
neuml/txtai - Claude Code
- Codex
- Cursor
- Gemini CLI
- Research
- Intermediate
View prompt
With neuml/txtai, write app.yml using sentence-transformers/all-MiniLM-L6-v2, start `CONFIG=app.yml uvicorn "txtai.api:app"` and test with `curl -X GET "http://localhost:8000/search?query=positive"`.
- REPO
-
Chat with your documents using Txtai RAG
Follow the README's RAG quickstart to ground LLM answers in your own data.
- REPO
neuml/txtai - Claude Code
- Codex
- Cursor
- Gemini CLI
- Research
- Intermediate
View prompt
Using neuml/txtai, install it with `pip install txtai`, adapt examples/rag_quickstart.py to index <my documents>, and ask it three questions with citations to the source text.
- REPO
Quick start with Txtai
- Check you have what it needs: Python 3.11 or newer and pip; A virtual environment is recommended; Optional uvicorn for the API.
- Open neuml/txtai on GitHub and read the README and license.
- Install with
pip install txtai - Import it with
import txtai - Create
embeddings = txtai.Embeddings() - Index your texts with
embeddings.index(["Correct", "Not what we hoped"]), swapping in your own list
These steps come from our top use case, Build semantic search in a few lines, which also has a copy-paste agent prompt.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for neuml/txtai
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeAbout this repo
- Who it is forDevelopers who want semantic search, RAG and workflows in one local Python framework.
- Why it is hot13k stars, talked about in 2 AI sources we track
- LanguagePython
- Sourcegithub.com/neuml/txtai ยท Back to Hot repos
Requirements
- Python 3.11 or newer and pip
- A virtual environment is recommended
- Optional uvicorn for the API
Add this badge to your README
Maintain Txtai? Show readers where to find these use cases.
Markdown
[](https://dedupedai.com/use-cases/neuml-txtai/?utm_source=github&utm_medium=badge&utm_campaign=neuml-txtai)
HTML
<a href="https://dedupedai.com/use-cases/neuml-txtai/?utm_source=github&utm_medium=badge&utm_campaign=neuml-txtai"><img src="https://dedupedai.com/badge/neuml/txtai.svg" alt="Use cases on Deduped" height="20"></a>
A static image, no tracking script. About the badge
Questions about Txtai
What is Txtai?
txtai is an all-in-one AI framework for semantic search, LLM orchestration and language model workflows. It covers embeddings databases, retrieval augmented generation, agents and pipelines, with a built-in API and local operation. It is an open-source project on GitHub: https://github.com/neuml/txtai.
How do I use Txtai?
Install with pip install txtai; then import it with import txtai; create embeddings = txtai.Embeddings(). The use cases on this page give the full steps and a copy-paste agent prompt for each job.
Who is Txtai for?
Developers who want semantic search, RAG and workflows in one local Python framework.
What can I do with Txtai?
3 use cases so far, for example: Build semantic search in a few lines; Serve a search API from one YAML file; Chat with your documents using Txtai RAG. Each has steps and a copy-paste agent prompt.
What do I need to run Txtai?
Python 3.11 or newer and pip; A virtual environment is recommended; Optional uvicorn for the API.
What are alternatives to Txtai?
Other hot AI repos in Research: Deep Tutor, Local Deep Research, Project Nomad, Nanochat, We Knora.
Is Txtai safe to run?
Deduped does not own, audit or vouch for it. Read the README and license, run it on your own systems first and review every command before you run it.