Trieve is an all-in-one API-based platform for search, recommendations, RAG, and analytics with Rust backend, OpenAI/Jina embeddings, and Qdrant integration. It provides self-hosting guides, embedding and retrieval features, and multiple deployment options.
Collecting history — the radar snapshots this repo daily. The trend line appears after 3 days of data (1 so far).
What it is
All-in-one solution for search, recommendations, and RAG. Features include semantic dense vector search, typo-tolerant neural search, sub-sentence highlighting, recommendations, and RAG API routes. It supports bringing your own models and offers hybrid search with re-ranking options.
How it works
Leverages vector search with Qdrant for semantic search, using embedding models for vectorization. Includes a recommendation API to find similar chunks or files, and RAG routes via OpenRouter for LLM access. Provides options to bring custom embeddings, SPLADE-like indexing, and cross-encoder reranking.
Getting started
Quick links
- API Reference + Docs: https://docs.trieve.ai/api-reference
- OpenAPI specification: https://api.trieve.ai/redoc
- Typescript SDK: https://ts-sdk.trieve.ai/
- Python SDK: https://pypi.org/project/trieve-py-client/
Local Development
Installing via Smithery
To install Trieve for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install trieve-mcp-server --client claude
System Dependencies
Linux (Debian/Ubuntu)
sudo apt install curl \
gcc \
g++ \
make \
pkg-config \
python3 \
python3-pip \
libpq-dev \
libssl-dev \
openssl
Linux (Arch)
sudo pacman -S base-devel postgresql-libs
Install NodeJS and Yarn
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.5/install.sh | bash
You should restart the terminal to update bash profile with NVM. Then, you can install NodeJS LTS release and Yarn.
nvm install --lts
npm install -g yarn
Make server tmp dir
mkdir server/tmp
Install rust
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
Install cargo-watch
cargo install cargo-watch
Setup env's
cp .env.analytics ./frontends/analytics/.env
cp .env.chat ./frontends/chat/.env
cp .env.search ./frontends/search/.env
cp .env.example ./server/.env
cp .env.dashboard ./frontends/dashboard/.env
Start docker container services needed for local dev
cat .env.chat .env.search .env.server .env.docker-compose > .env
./convenience.sh -l
Start embedding servers
Two docker-compose files available. Use CPU or GPU embeddings.
docker compose -f docker-compose-cpu-embeddings.yml up -d
or
docker compose -f docker-compose-gpu-embeddings.yml up -d
Using CPU embeddings on MacOS
cp docker-compose-cpu-embeddings.override.mac docker-compose-cpu-embeddings.override.yml
docker-compose -f docker-compose-cpu-embeddings.yml -f docker-compose-cpu-embeddings.override.yml docker up -d
Install front-end packages for local dev
cd frontends
yarn
Build SDKs
cd clients/ts-sdk
yarn build
Start services for local dev
cd frontends
yarn
yarn dev
cd server
cargo watch -x run
cd server
cargo run --bin ingestion-worker
cd server
cargo run --bin file-worker
cd server
cargo run --bin delete-worker
cd search
yarn
yarn dev
Verify Working Setup
- OpenAPI: http://localhost:8090/redoc
- Create dataset at http://localhost:5173
- Search dataset at http://localhost:5174
Recent releases
- trieve-helm-0.2.2 (2025-03-07): Helm chart expressing Trieve deployment without any dependencies
- v0.13.0 (2024-12-06)
- v0.12.1 (2024-10-25)
- v0.12.0 (2024-10-07)
- v0.11.9 (2024-09-20)
Traction
2710 stars, 251 forks, 3 open issues
Caveats
License: MIT Created: 2023-03-26 Last push: 2026-01-25 Language: Rust






