Why Plain Vector Chunking Lost Ground to Graph, OCR & Memory Layers

Basic fixed-size text splitting struggles on codebases, merged PDF tables, and multi-session agents that forget yesterday's architectural decisions. Scanning the Week 47 GitHub Radar shows developers flocking to three specialized layers: structural AST/knowledge graphs, persistent agent memory, and lossless token compression.

At the top, Graphify-Labs/graphify (153.2k stars, Apache 2.0) parses code, SQL schemas, configs, and PDFs into queryable knowledge graphs for Claude Code, Cursor, Codex, and Gemini CLI. Meanwhile, Shubhamsaboo/awesome-llm-apps (145.7k stars) provides over 100 reference RAG and agent implementations.

  • #1 Graphify-Labs/graphify (153.2k stars · Apache 2.0 · Python): Deterministic AST + document knowledge graph skill for coding agents.
  • #2 Shubhamsaboo/awesome-llm-apps (145.7k stars · Apache 2.0 · Python): 100+ open-source RAG apps, agent skills, and starter blueprints.
  • #3 thedotmack/claude-mem (119.7k stars · Apache 2.0 · TypeScript): Captures, compresses, and re-injects agent session context automatically.
  • #4 infiniflow/ragflow (94.7k stars · Apache 2.0 · Go): Agent-native RAG database engineered as complete context infrastructure.
  • #5 PaddlePaddle/PaddleOCR (93.2k stars · Apache 2.0 · Python): Lightweight OCR toolkit turning PDFs and images across 100+ languages into LLM-ready data.
Dark-mode illustration of document plates transforming into structured RAG vector cubes
Visual: Document parsing, vector storage, and agent memory nodes (OnlyAIMatters)

Ranks #6 Through #10: Compression, Persistent Memory & Live Sync

Context bloat is the silent killer of RAG latency and cost. headroomlabs-ai/headroom (80.8k stars, Apache 2.0) intercepts tool outputs, logs, and RAG chunks before they reach the model—trimming 20% of coding-agent tokens and 60–95% of JSON payload bloat without altering answers.

Rounding out the top 10 are dair-ai/Prompt-Engineering-Guide (80.4k stars, MIT) for context-engineering patterns, mem0ai/mem0 (69.5k stars, Apache 2.0) for drop-in production agent memory, Mintplex-Labs/anything-llm (68.6k stars, MIT) for local-first workspaces, and pathwaycom/serviette (58.7k stars, MIT) for live document-synced RAG across eight vector databases.

Week 47 Stars Across Top Open-Source RAG & Memory Projects (k) Source: OnlyAIMatters /repos/ snapshot updated Nov 25, 2026
Graphify-Labs/graphify153.2k
awesome-llm-apps145.7k
thedotmack/claude-mem119.7k
infiniflow/ragflow94.7k
headroomlabs-ai/headroom80.8k
Rank & RepositoryStars / ForksLicensePrimary RAG / Memory Job
#1 Graphify-Labs/graphify153.2k / 14.7kApache-2.0AST & document knowledge graph for CLI agents
#2 Shubhamsaboo/awesome-llm-apps145.7k / 21.4kApache-2.0100+ reference RAG & agent blueprints
#3 thedotmack/claude-mem119.7k / 10.4kApache-2.0Cross-session agent memory compression
#4 infiniflow/ragflow94.7k / 11.4kApache-2.0Go-based agent-native context database
#5 PaddlePaddle/PaddleOCR93.2k / 11.7kApache-2.0100+ language PDF/image structured OCR
#6 headroomlabs-ai/headroom80.8k / 6.3kApache-2.060–95% JSON & tool-output compression
#7 dair-ai/Prompt-Engineering-Guide80.4k / 8.8kMITContext engineering & RAG reference guides
#8 mem0ai/mem069.5k / 8.3kApache-2.0Drop-in persistent memory API for agents
#9 Mintplex-Labs/anything-llm68.6k / 7.8kMITLocal-first RAG workspace & agent desktop
#10 pathwaycom/serviette58.7k / 1.5kMITReal-time synced RAG across 8 vector DBs

Connecting Compression, OCR, and Memory in One Pipeline

Every item in this top 10 carries either an Apache 2.0 or MIT license, making commercial adoption straightforward. A practical production recipe uses PaddleOCR (or Nemotron 3.5 Parse) at ingestion, RAGFlow or Pathway Serviette for retrieval, Headroom as an MCP/proxy compressor, and Mem0 or claude-mem for user preference memory.

Test retrieval recall on exact table cells and cross-document questions before scaling chunk counts—tighter compression often improves accuracy by removing distracting boilerplate.

bash
# Combine local RAG parsing + context compression
pip install paddleocr mem0ai headroom
# Or launch full local RAG workspace via AnythingLLM / RAGFlow
Builder Note

Keep retrieved chunks dated and source-linked inside system prompts so downstream agents cite exact origin documents instead of blending stale versions.