whatisgithub

What is rag-architectures?

jaimeirazabal1/rag-architectures — explained in plain English

Analysis updated 2026-05-18

32PythonAudience · developerComplexity · 4/5Setup · moderate

In one sentence

Six standalone Docker services showing different ways to make AI answer questions using your own documents.

Mindmap

mindmap
  root((rag-architectures))
    What it does
      Six RAG approaches
      Upload and query docs
      Runs as services
    Tech stack
      Python
      Docker
      Docker Compose
    Use cases
      Compare RAG techniques
      Build grounded Q&A
      Learn GraphRAG Agentic RAG
    Audience
      Developers
      Researchers

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Upload your own documents and ask questions grounded in that content using Naive RAG.

USE CASE 2

Compare Advanced, Modular, GraphRAG, Agentic, and Hybrid RAG side by side on the same documents.

USE CASE 3

Use GraphRAG to answer questions that require connecting facts across multiple documents.

USE CASE 4

Run everything against a local Ollama model to avoid a paid AI API subscription.

What is it built with?

PythonDockerDocker ComposeOllama

How does it compare?

jaimeirazabal1/rag-architecturesautolearnmem/automembilly-ellis/exr-imageio-poc
Stars323232
LanguagePythonPythonPython
Setup difficultymoderatehardmoderate
Complexity4/55/53/5
Audiencedeveloperresearcherresearcher

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 1h+

Requires Docker Compose and either an API key or a locally running Ollama model.

Unknown, the explanation does not state a license.

So what is it?

This project implements six different approaches to a technique called RAG (Retrieval-Augmented Generation) in Python, each running as a separate web service. RAG is a method for making AI language models answer questions using your own documents rather than relying only on what the model learned during training. The basic idea is: when a user asks a question, the system first searches your documents for relevant passages, then passes those passages to the AI as context so it can give a grounded, sourced answer instead of guessing. The six implementations are built as standalone services, each in its own folder and Docker container, and each exposing the same two main endpoints: one to upload and index documents, one to ask questions. They run on separate port numbers so you can run multiple at once and compare them. The simplest version (Naive RAG) converts documents into numerical vectors using a local embedding model and answers questions by finding the most similar chunks of text. The Advanced RAG version adds three improvements: it rewrites the user's question into a clearer form before searching, uses a second model to re-rank the search results by relevance, and stores documents in a two-level hierarchy so searches use small chunks while answers use their larger parent context. The Modular RAG version is designed so each processing step can be swapped out independently. GraphRAG builds a knowledge graph from the documents, which helps answer questions that require connecting information across multiple sources. Agentic RAG uses an autonomous reasoning loop where the AI decides which tools to use and in what order to build its answer. Hybrid RAG combines two different search methods (one semantic, one keyword-based) and merges the results, which balances finding conceptually similar text with finding exact term matches. All six services share common code for document chunking, text embedding, and calling an AI model. The project connects to any AI provider that follows the OpenAI API format, including locally running models via Ollama, making it usable without a paid API subscription. Setup uses Docker Compose. The README is written in Spanish.

Copy-paste prompts

Prompt 1
Help me start all six rag-architectures services with Docker Compose and explain what each port does.
Prompt 2
Walk me through uploading documents to the Advanced RAG service and asking a question.
Prompt 3
Explain the difference between GraphRAG and Agentic RAG in this project.
Prompt 4
Show me how to connect rag-architectures to a local Ollama model instead of a paid API.
Prompt 5
Compare the Naive RAG and Hybrid RAG results for the same question and documents.

Frequently asked questions

What is rag-architectures?

Six standalone Docker services showing different ways to make AI answer questions using your own documents.

What language is rag-architectures written in?

Mainly Python. The stack also includes Python, Docker, Docker Compose.

What license does rag-architectures use?

Unknown, the explanation does not state a license.

How hard is rag-architectures to set up?

Setup difficulty is rated moderate, with roughly 1h+ to a first successful run.

Who is rag-architectures for?

Mainly developer.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.