MaxKB
RAG and semantic search
Self-hosted platform for building RAG knowledge bases and AI agents with workflows
23k 3.2k today Thriving GPL-3.0
Rust server for hosting open text embedding and reranking models on your own hardware
Listed by Alston Antony, founder & editor
Health
ActiveStars
5,130
Last commit
7 days ago
Nov 2026
Repository age
3 years
since Oct 2023
Latest version
v1.9.4
Sep 2026
Contributors
–
33 active in 90 days
Releases
5
last 12 months
Language
Rust
Text Embeddings Inference, or TEI, is a toolkit for serving open source text embedding and sequence classification models over an API. It is written in Rust and aimed at teams that run retrieval, semantic search or RAG pipelines and want to host the model themselves.
It loads Safetensors and ONNX weights and needs no model graph compilation step. Requests are batched dynamically by token count. The code uses Flash Attention, Candle and cuBLASLt for speed, and Metal for local runs on Macs. Supported architectures include BERT, CamemBERT, XLM-RoBERTa, NomicBERT, JinaBERT, MPNet, ModernBERT, Qwen2, Qwen3, Mistral-based and Gemma3 models. It also handles re-rankers, sequence classification models and SPLADE pooling.
You can run it from small Docker images, install it with Homebrew on Apple Silicon, build it locally, or use ARM64 and AMD ROCm builds. For operations it offers OpenTelemetry tracing, Prometheus metrics and gRPC. Air-gapped deployment and private or gated models are covered. It replaces hosted embedding APIs when you want control over the model and the data. It is Apache-2.0 licensed.
It serves embedding and reranker models behind one API with batching, so retrieval code can call your own endpoint.
Skip if: You only embed a few documents occasionally and a hosted embedding API is simpler.
Air-gapped deployment, small Docker images and Prometheus and OpenTelemetry support suit controlled infrastructure.
Skip if: You need to serve chat or text generation models, which this does not do.
Metal support and a Homebrew install let you run models on Apple Silicon without a GPU server.
Skip if: You need high-throughput production serving without NVIDIA or AMD GPU hardware.
Hosted embedding APIs send your text to a third party and charge per request. Running open embedding models yourself usually means writing batching and serving code. This gives you a ready server for that job.
Yes. It is Apache-2.0 licensed and you can self-host it. A hosted plan also exists.
Yes. It supports air-gapped deployment, and it can also use private or gated models.
Linux and macOS through the command line, with Docker images. Apple Silicon is supported through Homebrew and Metal.
Yes. It serves re-ranker models, sequence classification models and SPLADE pooling.
RAG and semantic search
Self-hosted platform for building RAG knowledge bases and AI agents with workflows
23k 3.2k today Thriving GPL-3.0
RAG and semantic search
9.6k 946 today Thriving MIT
RAG and semantic search
8.7k 1.2k 8 days ago Active Apache-2.0
RAG and semantic search
5k 658 6 days ago Active Apache-2.0
RAG and semantic search
1.6k 137 42 days ago Slowing MIT
RAG and semantic search
4.1k 690 today Thriving Apache-2.0