LibreAI / RAG & Knowledge / rag-template
// rag · stackitcloud/rag-template

rag-template

rag-template is an open-source rag & knowledge project by stackitcloud (stackitcloud/rag-template on GitHub). It has 87 GitHub stars and 10 forks, is released under the Apache-2.0 license, and was last updated on GitHub on 4 October 2026.

Run rag-template locally: template for ai chatbots & document management using re.

💎 Hidden gem★ 87 stars⑂ 10 forksApache-2.0updated 2026-10
▦ visual — this project's README ships no embeddable screenshot,
so here's a placeholder. The guide below is complete regardless.
// project facts

Project facts

GitHub stars
87
Forks
10
License
Apache-2.0
Last updated on GitHub
4 October 2026
Listing
Hidden gem — a shorter page for a lesser-known project
Official site
Official site
// how it works

How it works

  1. Clone the repository

    Fetch the source code onto your machine.

  2. Install dependencies

    Set up the Python environment the project needs.

  3. Configure the project

    Copy the sample config or env file and adjust it.

  4. Run it

    Start the app from the source directory.

// features

Why people love it

Ai

Built around ai for a focused workflow.

Api

Built around api for a focused workflow.

Docker

Built around docker for a focused workflow.

Fastapi

Built around fastapi for a focused workflow.

Open source

Inspect, fork, and modify every line of the code.

Self-hosted

Run it on your own machine — no account lock-in.

Advertisement
// run it

Run it yourself

  1. Clone

    Get the source on your machine.

    git clone https://github.com/stackitcloud/rag-template.git
  2. Install

    Set up Python dependencies.

    cd rag-template && pip install -r requirements.txt
  3. Start

    Launch the application.

    cd rag-template && python main.py
// use cases

What you can build

  • Integrating into a larger personal stack
  • Experimenting with rag & knowledge workflows
  • Self-hosting instead of paying for SaaS
  • Contributing fixes back to the project
Advertisement
// faq

Questions, answered

What does rag-template do?

It template for AI chatbots & document management using Retrieval-Augmented Generation with vector search and FastAPI, giving you a working starting point you can run and adapt.

Is rag-template free to use?

Yes — the code is open-source, so you can use and modify it without a license fee.

How do I install rag-template?

Clone the GitHub repository and follow the README; the typical flow is install dependencies, configure, and run.

What is rag-template written in?

It is primarily written in Python, so you will need that toolchain to build or extend it.

Where can I get help with rag-template?

The GitHub repository is the hub: open issues for bugs and check the README and discussions for guidance.

// keep exploring

Similar tools

AI Chat

discord-bot-rs

A multi-instance Discord bot framework in Rust.

★ 60 starsAGPL-3.0
View guide →
Local LLM

kalosm

Run controllable pre-trained AI models locally, written in Rust.

★ 2.2k starsApache-2.0
View guide →
Image

oneclick-subtitles-generator

Auto-subtitle videos with AI transcription, translation and voice cloning

★ 241 starsCustom
View guide →
RAG & Knowledge

llm-app

Ready-to-run templates for RAG, AI pipelines and enterprise search that stay in sync with live data

★ 58.8k starsMIT
View guide →
RAG & Knowledge

rag.computer

Rag.computer — self-hostable rag platform - document ingestion, embedd, open-source.

★ 100 starsMIT
View guide →
RAG & Knowledge

PageIndex

PageIndex: vectorless, reasoning-based RAG that indexes documents like a human expert would

★ 39.0k starsMIT
View guide →
// alternatives

Alternatives in RAG & Knowledge

The most-starred other RAG & Knowledge projects in the LibreAI catalogue — the realistic shortlist if rag-template is not the right fit.

  • MarkItDown★ 193.5k

    MarkItDown — Microsoft tool that converts PDFs, Office files, images and more to clean Markdown for LLMs, MIT

  • Dify★ 157.8k

    Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or…

  • ragflow★ 91.6k

    RAGFlow is a leading open-source Retrieval-Augmented Generation (RAG) engine that fuses cutting-edge RAG with Agent capabilities to create a superior context…

  • PaddleOCR★ 90.8k

    Lightweight OCR toolkit turning PDFs and images into structured, LLM-ready data in 100+ languages

  • MinerU★ 82.5k

    MinerU — turns PDFs and Office documents into LLM-ready Markdown and JSON for agents and RAG pipelines, Apache-2.0 plus terms

// more in rag

More in RAG & Knowledge

Nearby RAG & Knowledge projects in the catalogue, closest in stars to rag-template — keep exploring the shelf either side of it.

  • design-os-3d-blender★ 88

    AI agent operating system for Blender 5.2 — bpy knowledge base, execution contract, 3D-print production gate.

  • libratory★ 85

    Libratory, in TypeScript — built for your free book and audiobook laboratory. turn the...

  • codealive-mcp★ 90

    Codealive-mcp, in Python — built for context engine for large codebases, exposed throug...

  • ecommerce-ai-skills★ 80

    A trilingual e-commerce knowledge base agents can install.

  • infigraph★ 91

    AST-powered code intelligence engine — graph database plus hybrid semantic search across 62 languages, zero LLM dependency.

  • wenlan★ 79

    Agent-fed knowledge base that distills learnings into cited wiki pages.

Get rag-template

Free and open — grab the source, star the repo, and start creating.