BigHugger
GH Repository · hhhuang

CAG

Cache-Augmented Generation: A Simple, Efficient Alternative to RAG

stars
1,592
30-day movement
+4615/day
Related entries
3
Connections
1
pythondockerPythonragllmcag

CAG implements Cache-Augmented Generation, an approach its author positions as a simple, efficient alternative to retrieval-augmented generation. The repository is Python-based with Docker tooling, though the recorded material does not detail the implementation internals beyond its role in the RAG category.

You reach for it when you want to try a cache-based alternative to RAG pipelines for LLM workloads.

Use it to

  • Run cache-augmented generation instead of a RAG pipeline
  • Compare CAG against your existing RAG setup
  • Deploy via the included Docker toolchain
  • Extend the Python implementation for your own models

For Developers and researchers working with LLMs and retrieval

Role
rag
Language
Python
Licence
MIT
Forks
228
Open issues
8
Last push
2025-05-26
topicscagragllmpythondocker