for developers who'd rather ship

Stop rebuilding the RAG pipeline from scratch.

A working template that lets anyone chat with their own PDFs — chunking, embeddings, retrieval, and grounded answers with citations, already wired up. Download it, drop in your keys, run it.

doc-chat — localhost:5000
Which suppliers have a 30-day cancellation clause?
Two suppliers meet that condition: Acme Textiles and Beta Components. Both contracts specify a 30-day written notice period for cancellation.
Contract_Acme_2024.pdf Contract_Beta_2024.pdf

Why not just build it yourself?

You can. The pieces are all open source. This saves you the week of getting the unglamorous parts right.

chunking

Splitting documents without cutting sentences mid-thought, tuned overlap so context doesn't get lost at the edges.

retrieval

Fast similarity search over your documents via FAISS, wired to real embeddings — not a keyword search pretending to be smart.

grounded answers

Prompting that keeps answers tied to your documents, with the model told to say when it doesn't know, and to cite its source.

What's in the download

One folder. No account, no subscription, no hosting required.

  • ingest.pyReads your PDFs, chunks them, builds the search index.
  • query.pyFinds relevant chunks for a question, asks the model to answer using only those.
  • app.py + templates/A working chat interface in the browser — no separate frontend to build.
  • README.mdSetup instructions, written for someone doing this for the first time.

Before you buy — what you'll need

This is code you run yourself, not a hosted app. Be sure this fits before purchasing.

an anthropic api key

Runs on Claude specifically — not ChatGPT, not a Claude.ai subscription. You'll need a funded Anthropic developer account. Pay-as-you-go, typically fractions of a cent per question.

a voyage ai key

Used for embeddings. Free tier covers this comfortably for personal or small-team use — no cost expected here.

basic comfort with a terminal

You'll run a few Python commands to set it up. Setup docs walk through each step, but this isn't a no-code tool.

Pricing

One payment. The code is yours — run it, modify it, use it on client work.

$19
one-time · instant download after payment
Full source code · Setup docs · Runs on your own machine with your own API keys
You pay Anthropic and Voyage AI directly for your own usage — nothing routes through us.
Buy now