In short.
serviette is a Python command-line tool for developers and teams who want a chat and an API that answer questions from their changing documents. It is meant to give you a RAG server without writing code, configured by one YAML file. The main catches are that it needs a free Pathway license key, has no built-in authentication, and answers one question at a time with no conversation memory or user accounts. According to the README, an indexer process watches the sources and writes embedded chunks into one of eight vector databases (DuckDB by default). A separate stateless server embeds each query and searches the database. It can optionally apply hybrid, rerank, adaptive, decomposition or MMR strategies, and it returns cited answers through a web chat and a /api/v1 REST API. The README gives benchmark figures for indexing up to 50 GB of text and for retrieval accuracy on the FRAMES benchmark. These are the project's own numbers, and nothing was run or checked here. The licence is MIT. Pathway's own license terms are not in the captured evidence.
Researched and written by an AI model and checked by a second AI model. How it works
The selected scope is the single file README.md at repository revision 53c6382ba8587b232cd9f3be5f316141b136b700. The LICENSE file at the same revision was read as the licence notice that covers it and is cited only for rights. Everything else was out of scope and not assessed: docs/README.md, CONTRIBUTING.md, the benchmark folders and result files, the FRAMES REPORT.md, the source code, the PyPI package and any issue or release history. Nothing was installed, run or tested, so the commands, performance figures, retrieval accuracy and cost behaviour are the README's claims, not verified results. The Pathway license terms were not captured and remain unknown.
The overview
What this is
serviette describes itself as a no-code, always up-to-date RAG server for any vector database, built on the Pathway Live Data Framework. The source is the README of the pathwaycom/serviette repository at one fixed revision. The README shows a PyPI package named serviette with Python-version and CI badges. Its benchmark setup names serviette 0.1.7 and Pathway 0.33.0.
The README says the llm-app templates, cookbooks and examples are still available in the Pathway repository under examples/llm-app [https://github.com/pathwaycom/pathway/tree/main/examples/llm-app]. So this repository is the RAG server product, not the template collection. The LICENSE file is the MIT License with the copyright line 'Copyright (c) 2026 Sergey Kulik'. The evidence does not say how this copyright holder relates to Pathway.
Overall assessment
The README is detailed and specific. It gives exact commands, configuration options, a table of what each backend supports, a security statement and benchmark tables that state their own limits. That makes serviette look credible and usable for teams that want a self-hosted document question-answering service that stays current. The headline claim is that an edit, a new file or a deletion shows up in the answers within seconds.
Three points temper this. First, every performance and accuracy figure is self-reported and was not independently verified or run here. Second, the tool depends on a Pathway license key whose terms are not in the captured files. Third, the README gives serviette 0.1.7 only as the version used in its indexing benchmark, so neither the current release nor the project's present maturity is established. The README also states plainly what is missing today: conversation memory, user accounts and a hosted offering.
Who it is for
The README is aimed at people who want a question-answering assistant over an organisation's documents. Answers cite their sources and follow document changes without any manual re-upload or re-indexing. The README says running it takes two processes and one YAML file. A beginner can follow the four-command demo. Experienced developers get separate indexer and server processes, a choice of eight vector stores, several embedder families, Prometheus metrics and horizontal scaling of the stateless server.
It is a poor fit if you need multi-turn chat memory, per-user accounts or permissions, or a hosted service, because the README lists these as not built in. The README documents a CLI, YAML configuration, web chat and HTTP API; whether a supported Python library interface exists is unknown from this evidence. If you need the missing pieces, the README invites you to contact the project for tailor-made work.
What it can do
Sources: the README lists the local filesystem, Google Drive, S3/MinIO, SharePoint and anything the PyFilesystem library opens (FTP, SFTP, WebDAV, ZIP archives). All are watched live and can be mixed in one config.
Vector stores: eight backends, namely DuckDB (embedded, the default), pgvector, Qdrant, Milvus, ChromaDB, Weaviate, Pinecone and MongoDB Atlas Vector Search. Writes go through Pathway's native connectors, so edits and deletions become upserts and deletes in the store.
Embedders: OpenAI, LiteLLM, SentenceTransformers, Gemini and Bedrock. Running local embeddings with DuckDB avoids the need for embedding-provider credentials. PATHWAY_LICENSE_KEY is still required.
File types: text and Markdown are used as-is. PDFs are parsed with pypdf, with an optional Docling upgrade for layout and tables. Office and HTML formats go through Unstructured. Scanned images use PaddleOCR (the serviette[ocr] extra). Audio uses Whisper when OPENAI_API_KEY is set, and video uses TwelveLabs Pegasus when TWELVELABS_API_KEY is set. If the only parser for a file type needs a key that is missing, that type is skipped with a warning rather than a crash.
Retrieval options: hybrid BM25 plus vector fusion, a cross-encoder or LLM reranker, adaptive RAG that retries with more context, query decomposition for multi-hop questions, and MMR for more varied results. All of these are opt-in. Document questions (rag.documents) are on by default. They handle questions such as how many documents exist or what changed between two named files, using a document catalog and a line-level diff.
Interfaces: a web chat UI on / and a versioned REST API under /api/v1, both on one port. The README shows the /api/v1/retrieve and /api/v1/stats endpoints. An optional standalone frontend proxy is available for deployments where the UI runs on a different host. Engine metrics can be exposed to Prometheus with the indexer.monitoring_http_port setting.
Using it
What you need
You need Python 3.10 or newer and pip 23.1 or newer. The README warns that older pip can take hours to resolve the dependency tree. Every command needs a Pathway license key in PATHWAY_LICENSE_KEY. The README says the key is free with one click at [https://pathway.com/framework/get-license], using GitHub or LinkedIn sign-in. It also says serviette runs on the released Pathway package from PyPI, version 0.32.1 or later.
Other credentials depend on your choices. OPENAI_API_KEY is needed for OpenAI embeddings and for the generated answers the README documents, which are OpenAI-based. The evidence does not establish whether other answer-writing configurations need it. Local embeddings avoid embedding-provider credentials. If no answer-model API key is set, the README says answers quote the retrieved snippets instead of being generated. PATHWAY_LICENSE_KEY is required in every configuration.
The serviette[local] extra installs PyTorch for free local embeddings. Client libraries for each backend install as extras (qdrant, pgvector, milvus, chroma, weaviate, pinecone, mongodb, gemini, all). Apart from DuckDB, the listed vector databases need an instance you provide. Docker is used by the documented container-based integration tests and indexing benchmark; it is not listed as a requirement for the local demo. Hardware needs for small document collections are not stated.
How it works
The README describes two fully decoupled processes that share only the vector database. The indexer is the write path. Built on Pathway, it watches the configured sources, parses files, splits them into chunks, computes embeddings and writes them to the store. The README says serviette uses Pathway's LLM xpack for parsers, splitters and embedders and implements none of its own. The indexer saves its state, so it can resume after a restart without re-embedding. It can be split across several worker processes (the benchmarks use indexer.workers: 8).
The server is the read path. It is stateless and read-only. It embeds the query, searches the vector store, optionally applies the hybrid, rerank, decompose, MMR or adaptive strategies, and calls a model API to write a cited answer if one is configured. If the indexer stops, the server keeps serving the last-synced data. If the server stops, indexing continues.
Hybrid search keeps a BM25 keyword index inside the server process. The index is rebuilt when the backend reports a change and refreshed every hybrid_refresh_seconds (default 30). It is designed for collections of up to a few million chunks. Above hybrid_max_chunks, the keyword part is skipped with a warning. The embedded DuckDB backend is the one stated exception to the decoupled design: it is a single local file with a single writer, intended for laptops and demos. The README points to docs/README.md for a note on its concurrency, and that file was not captured.
Setup
The README's quickest path takes four commands. Install with pip install serviette, export PATHWAY_LICENSE_KEY, export OPENAI_API_KEY, then run serviette demo --embedder openai. This serves a chat at [http://localhost:8989]. It also indexes a small bundled corpus about a fictional coffee-machine company into ./serviette-demo/docs, and the README says files you drop into that folder become answerable within seconds.
For your own documents, the README installs the package with its local-embedding extra (serviette[local]) using pip. It passes PyTorch's CPU wheel index [https://download.pytorch.org/whl/cpu] as an extra index URL, so pip installs the CPU-only PyTorch build (about 0.8 GB) rather than the default Linux build with CUDA libraries (about 5 GB). You then run serviette wizard to generate a config and serviette up --config config.yaml to start the indexer and server together. For production, the README says to run serviette indexer and serviette server as separate processes; serviette up supervises those two.
By default the server listens only on localhost. To expose it, set server.host to 0.0.0.0 and put an authenticating reverse proxy in front. The README says a five-line Caddy example is in docs/README.md, which was not part of the captured evidence. The full configuration reference and the notes on persistence and scaling also live in that file and were not assessed.
Worked example from the README
The README's own example is the demo. After the four setup commands, open [http://localhost:8989] and ask a question about the fictional coffee-machine company. Then edit one of the documents in ./serviette-demo/docs from a second terminal and ask again. The README says the answer then reflects the new value within seconds. Nothing here was run, so this is the README's claim, not something observed for this report.
The README also shows a direct API call to a running server. It sends an HTTP POST, using curl, to [http://localhost:8989/api/v1/retrieve] with the header Content-Type: application/json and the JSON body {"query": "how does persistence work?", "k": 5}. The body holds the question text and k, the number of passages to return. The README does not show what the response looks like, so the response format is unknown from this evidence.
Assessment & evidence
Limitations and risks
Limits the README states: serviette answers one question at a time from the current state of the documents, with no conversation memory, user accounts or hosted offering. The server has no built-in authentication, so exposing it beyond localhost is a deliberate choice that needs your own authenticating proxy. Pinecone cannot list its stored vectors, so it has no in-process hybrid search, and setting hybrid: true with Pinecone fails at startup. The document-question feature is also not available on Pinecone. DuckDB allows only one writer and is meant for laptops and demos.
Limits visible in the README's benchmark notes: only one final run per document-collection size is published, and the README says run-to-run variability was not measured. The 50 GB, 26-million-page result comes from a host with 96 logical CPUs. The README says the lower memory figure for running without the local embedder was calculated by subtraction, not measured. The indexing time is an estimate based on Qdrant's approximate chunk count, and it does not measure when the backend's search index is ready.
The FRAMES results are internal comparisons of the same questions with and without serviette's retrieval. The README says the absolute 73.7% score is driven mainly by the answer-writing model, so it emphasises the paired gains instead. For Milvus (Milvus Lite by default), Pinecone (pinecone-local) and MongoDB (mongodb-atlas-local), the integration tests run against local engines or Docker emulators, which is not the same as testing the managed cloud services. The README adds that Milvus Lite cannot catch some stats-counting bugs. Answer quality on your own documents, parser quality on your file types and behaviour at your scale are all unknown from this evidence.
Why this assessment
This report rests on a single README that is concrete rather than promotional. It names the commands, config keys, extras, ports and endpoints, gives a support table for each backend and states the limits of its own measurements. It also lists features that are missing, which adds credibility. The separate LICENSE file confirms the MIT licence.
The evidence cannot settle whether the tool works as described. No code, configuration reference, tests or release history were in the selected scope, and nothing was run. The README's mentions of 60,000+ GitHub stars and production use at named organisations describe Pathway, not serviette. They should not be read as evidence of adoption for this package. serviette's own adoption, current release and maturity are unknown from this evidence.
Alternatives
The README links the Pathway llm-app templates and cookbooks, which it says are still available under examples/llm-app in the Pathway repository [https://github.com/pathwaycom/pathway/tree/main/examples/llm-app]. Those were not captured, so their features, suitability and comparison with serviette are unknown from the retained evidence. Other general options are to build your own RAG pipeline from an embedding library, a vector database client and an LLM client, or to use a hosted document-chat product. The evidence does not describe or compare any of these, so their features and fit are also unknown, and no ranking is claimed.
Based only on the README's own claims, serviette is worth a look if your priority is live, incremental updates from watched sources with a choice of vector store. Look elsewhere if you need built-in authentication, multi-user features or chat history, which the README says serviette does not provide today.
Evidence reviewed
Two files at repository revision 53c6382ba8587b232cd9f3be5f316141b136b700 were read in full. README.md (30,866 bytes) is the selected resource, and LICENSE (1,069 bytes) is the MIT notice. All statements about features, commands, benchmark numbers and limits come from the README. Statements about the licence terms come from the LICENSE file.
Not reviewed: docs/README.md, CONTRIBUTING.md, the benchmark scripts and result files, the FRAMES REPORT.md, the source code, the PyPI package, the issue history and release notes. Links in the README to those files were not followed, and the benchmark and accuracy claims were not reproduced.
Access & freshness
Costs
The software is MIT-licensed, and the README says the Pathway license is free. It describes the only metered component as the optional model API that writes the answer text, billed per question rather than per document. That overview does not establish the full cost of running it. Local embeddings have no API charges. For the OpenAI embedder, the README says every indexed token is billed to your OPENAI_API_KEY. It calls that fine for the toy corpus and small folders, and recommends the free local embedder for large collections. Billing for the other API embedder families (LiteLLM, Gemini, Bedrock) is not described. No prices are given, so the cost per question or per document collection is unknown.
Several other costs are unknown from this evidence. It does not say whether the vector databases other than embedded DuckDB add charges, or how much. It does not give pricing for the optional parsers that need API keys: Whisper for audio, which uses OPENAI_API_KEY, and TwelveLabs Pegasus for video. Some retrieval strategies make extra model calls, namely the LLM reranker, adaptive RAG, query decomposition and the routing call used for document questions. The cost of those calls is also unknown.
Hardware becomes a real cost at scale. The project's own benchmark used 96 logical CPUs, 8 worker processes, local embeddings, Qdrant and no API calls. Indexing times and peak indexer memory were: 100 MB of text in 44 seconds at 6.86 GiB; 1 GB in 4.9 minutes at 6.82 GiB; 10 GB in 1.0 hour at 8.16 GiB; and 50 GB in 6.0 hours at 14.65 GiB. The stored index in Qdrant reached 84.45 GiB for the 50 GB run. The README says the memory figure is not a RAM requirement for the whole stack, because memory used by Qdrant, the API server and the kernel is excluded. Requirements for smaller machines were not assessed.
Rights and licence
The repository LICENSE is the standard MIT License, copyright 2026 Sergey Kulik. It allows you to use, copy, modify, merge, publish, distribute, sublicense and sell copies, as long as the copyright and permission notice are kept. The software comes as-is, with no warranty.
The MIT licence covers serviette itself. serviette depends on Pathway, which the README calls an open-source engine but which also needs a license key. The terms of that key and of the Pathway package are not in the captured evidence, so they are unknown. The embedders, parsers, vector databases and model APIs you connect (OpenAI, TwelveLabs, Pinecone and others) each have their own terms, which were not assessed. The README is the only file in the selected scope, and the LICENSE was read as the notice that goes with it.
Freshness
The material was captured on 2026-11-13 from the stated revision. The README gives serviette 0.1.7 and Pathway 0.33.0 as the versions installed for its indexing benchmark, and it requires Pathway 0.32.1 or later. The LICENSE year is 2026. The README gives no release dates or changelog, and the current PyPI release was not checked. The benchmark version does not tell you the current serviette version, which is unknown. The backend table, install instructions and benchmark figures all come from this revision. These descriptions record the README's claims at this revision; their runtime accuracy and applicability to later versions are unverified.
What to do next
Before relying on serviette commercially, read the Pathway license terms behind [https://pathway.com/framework/get-license], since they are not in the captured evidence. To evaluate it, run the demo on a throwaway machine in a fresh virtualenv with pip 23.1 or newer, then point it at a small folder of your own documents. Check answer quality and citation accuracy using questions you already know the answers to, and check how well the parsers handle your file types.
Choose the embedder deliberately. The README says the OpenAI embedder bills every indexed token to your key; billing for other API embedders is not described. The local extra needs a PyTorch install of about 0.8 GB for the CPU build or about 5 GB for the default build. Before you enable a vector database other than DuckDB, the Whisper or TwelveLabs parsers, or retrieval strategies that call a model (such as the LLM reranker, adaptive RAG or query decomposition), check their pricing yourself, because those costs are unknown from this evidence. Keep the server on localhost, or put an authenticating reverse proxy in front of it before exposing it. Check that your chosen vector database supports the strategies you want: Pinecone lacks hybrid search and document questions, and DuckDB allows only one writer. Read docs/README.md for the configuration reference before any production use, and run your own load test rather than relying on the published benchmark figures.
