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.
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.
| Rank & Repository | Stars / Forks | License | Primary RAG / Memory Job |
|---|---|---|---|
| #1 Graphify-Labs/graphify | 153.2k / 14.7k | Apache-2.0 | AST & document knowledge graph for CLI agents |
| #2 Shubhamsaboo/awesome-llm-apps | 145.7k / 21.4k | Apache-2.0 | 100+ reference RAG & agent blueprints |
| #3 thedotmack/claude-mem | 119.7k / 10.4k | Apache-2.0 | Cross-session agent memory compression |
| #4 infiniflow/ragflow | 94.7k / 11.4k | Apache-2.0 | Go-based agent-native context database |
| #5 PaddlePaddle/PaddleOCR | 93.2k / 11.7k | Apache-2.0 | 100+ language PDF/image structured OCR |
| #6 headroomlabs-ai/headroom | 80.8k / 6.3k | Apache-2.0 | 60–95% JSON & tool-output compression |
| #7 dair-ai/Prompt-Engineering-Guide | 80.4k / 8.8k | MIT | Context engineering & RAG reference guides |
| #8 mem0ai/mem0 | 69.5k / 8.3k | Apache-2.0 | Drop-in persistent memory API for agents |
| #9 Mintplex-Labs/anything-llm | 68.6k / 7.8k | MIT | Local-first RAG workspace & agent desktop |
| #10 pathwaycom/serviette | 58.7k / 1.5k | MIT | Real-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.
# Combine local RAG parsing + context compression
pip install paddleocr mem0ai headroom
# Or launch full local RAG workspace via AnythingLLM / RAGFlow
Keep retrieved chunks dated and source-linked inside system prompts so downstream agents cite exact origin documents instead of blending stale versions.