nowfound

AI · December 4, 2025

RI

RAG in 3 Lines of Python

Got tired of wiring up vector stores, embedding models, and chunking logic every time I needed RAG. So I built piragi. from piragi import Ragi kb = Ragi(\["./docs", "./code/\*\*/\*.py", "https://api.example.com/docs"\]) answer = kb.ask("How do I deploy this?") That's the entire setup. No API keys required - runs on Ollama + sentence-transformers locally. What it does: - All formats - PDF, Word, Excel, Markdown, code, URLs, images, audio - Auto-updates - watches sources, refreshes in background, zero query latency - Citations - every answer includes sources…

RAG in 3 Lines of Python launched on December 4, 2025 with 41 votes, #462 of 11,628 launches that month and more than 90% of that year's launches.

In plain words

Piragi is a Python library that simplifies retrieval-augmented generation by handling vector stores, embeddings, and document chunking automatically. It ingests PDFs, Word documents, Excel files, Markdown, code, URLs, images, and audio, then answers questions with source citations. The system runs locally using Ollama and sentence-transformers without requiring API keys, automatically updates documents in the background, and supports advanced retrieval techniques like hybrid search and cross-encoder reranking. It's designed for developers who need RAG functionality without complex setup.

written from the facts on this page · September 2026

From the sources

In the maker’s words, at launch

Got tired of wiring up vector stores, embedding models, and chunking logic every time I needed RAG. So I built piragi. from piragi import Ragi kb = Ragi(\["./docs", "./code/\*\*/\*.py", "https://api.example.com/docs"\]) answer = kb.ask("How do I deploy this?") That's the entire…

Does a similar job

all alternatives →
  • Open-source Rule-based PDF parser for RAG2024 · github.com · ▲293

    The PDF parser is a rule based parser which uses text co-ordinates (boundary box), graphics and font data. The PDF parser works off text layer and also offers a OCR option to automatically use OCR if there are scanned pages in your PDFs. The OCR feature is based off a modified version of tika which uses tesseract underneath. The PDF Parser offers the following features: * Sections and subsections along with their levels. * Paragraphs - combines lines. * Links between sections and paragraphs. * Tables along with the section the tables are found in. * Lists and nested lists. * Join content…

  • FastGraphRAG – Better RAG using good old PageRank2024 · github.com · ▲457

    Hey there HN! We’re Antonio, Luca, and Yuhang, and we’re excited to introduce Fast GraphRAG, an open-source RAG approach that leverages knowledge graphs and the 25 years old PageRank for better information retrieval and reasoning. Building a good RAG pipeline these days takes a lot of manual optimizations. Most engineers intuitively start from naive RAG: throw everything in a vector database and hope that semantic search is powerful enough. This can work for use cases where accuracy isn’t too important and hallucinations are tolerable, but it doesn’t work for more difficult queries that…

  • QP
    Quilt – Powerful RAG UI for Document QA2024 · quilt.fly.dev · ▲63

    Hey HN! We've just launched Quilt, a robust RAG (Retrieval-Augmented Generation) UI that revolutionizes how you interact with your documents. Key features: - Multi-user setup with private/public document collections - Advanced hybrid RAG pipeline combining full-text & vector search - Smart citations with in-browser PDF preview and highlights - Fully customizable settings and prompts through the UI Making an account is free, no need to even use a strong password: this is only to ensure your documents are separate from the rest. We're keen to hear your thoughts and feedback. What features…

  • SpRAG – Open-source RAG implementation for challenging real-world tasks2024 · github.com · ▲69

    Hey HN, I’m Zach from Superpowered AI (YC S22). We’ve been working in the RAG space for a little over a year now, and we’ve recently decided to open-source all of our core retrieval tech. spRAG is a retrieval system that’s designed to handle complex real-world queries over dense text, like legal documents and financial reports. As far as we know, it produces the most accurate and reliable results of any RAG system for these kinds of tasks. For example, on FinanceBench, which is an especially challenging open-book financial question answering benchmark, spRAG gets 83% of questions correct,…

  • Ragas – Open-source library for evaluating RAG pipelines2024 · github.com · ▲121

    Ragas is an open-source library for evaluating and testing RAG and other LLM applications. Github: https://docs.ragas.io/en/stable/, docs: https://docs.ragas.io/. Ragas provides you with different sets of metrics and methods like synthetic test data generation to help you evaluate your RAG applications. Ragas started off by scratching our own itch for evaluating our RAG chatbots last year. Problems Ragas can solve - How do you choose the best components for your RAG, such as the retriever, reranker, and LLM? - How do you formulate a test dataset…

  • RAGLite – A Python package for the unhobbling of RAG2024 · github.com · ▲19

    RAGLite is a Python package for building Retrieval-Augmented Generation (RAG) applications. RAG applications can be magical when they work well, but anyone who has built one knows how much the output quality depends on the quality of retrieval and augmentation. With RAGLite, we set out to unhobble RAG by mapping out all of its subproblems and implementing the best solutions to those subproblems. For example, RAGLite solves the chunking problem by partitioning documents in provably optimal level 4 semantic chunks. Another unique contribution is its optimal closed-form linear query adapter…

More ai this month

the category →
  • Video model that turns script into viral social media videos

    AI · 17d ago · spira.ai

  • The browser where Claude Code and Codex work beside you

    AI · 17d ago · rill.love

  • Kolibri is Aleph Alpha

    AI · 19d ago · tej.as

  • Paintings by AI models: programs run through a simulation of oil paint.

    AI · 20d ago · stillwet.art

  • A real-time world model you can explore and change

    AI · 29d ago · world.pixverse.video

  • Hemory▲381

    Keep listening. Searchable memory for your AI agents.

    AI · 30d ago · hemory.com

Source: Show HN post ↗ · launch text quoted in part

Launched alongside, December 2025

the whole month →
  • GP

    Life & fun · Dec 2025 · dosaygo-studio.github.io

  • Hi everyone! My name's Luke and I made the original Jmail here alongside Riley Walz. We had a ton of friends collaborate on building out more of the app suite last night in lieue of DOJ's "Epstein files" release. Please AMA!

    Life & fun · Dec 2025 · jmail.world

  • Design and ship studio-grade landing pages with AI

    AI · Dec 2025 · loki.build

  • AI turns your health goals into a 7-day menu & grocery list

    AI · Dec 2025 · planeatai.com

  • Community, All the HN belong to you. This is an archive of hacker news that fits in your browser. When I made HN Made of Primes I realized I could probably do this offline sqlite/wasm thing with the whole GBs of archive. The whole dataset. So I tried it, and this is it. Have Hacker News on your device. Go to this repo (https://github.com/DOSAYGO-STUDIO/HackerBook): you can download it. Big Query -> ETL -> npx serve docs - that's it. 20 years of HN arguments and beauty, can be yours forever. So they'll never die. Ever. It's the unkillable static archive of HN and it's…

    Dev tools · Dec 2025 · hackerbook.dosaygo.com

  • AI video studio for viral social clips

    AI · Dec 2025 · cybercut.ai