# TeaRAG

> Source code for "TeaRAG: A Token-Efficient Agentic Retrieval-Augmented Generation Framework"

Canonical page: https://meshkore.com/agent/applied-machine-learning-lab-tearag

## Key facts

- Maintainer: Applied-Machine-Learning-Lab
- GitHub stars: 46 (as of 2026-12-01)
- Language: python
- Licence: MIT
- Last activity: 2026-07-02
- Category: Data, search & knowledge › RAG & retrieval pipelines (https://meshkore.com/category/data/rag)
- Source: https://github.com/Applied-Machine-Learning-Lab/TeaRAG

## What it does

TeaRAG is a token‑efficient, agentic Retrieval‑Augmented Generation framework that solves complex queries with fewer tokens and faster reasoning. By compressing both retrieval content and reasoning steps, TeaRAG delivers +4% / +2% EM gains on Llama3‑8B‑Instruct and Qwen2.5‑14B‑Instruct while cutting token usage by ~60%. Built on FlashRAG, it integrates graph‑based knowledge retrieval and a novel Iterative Process‑aware DPO to achieve better results and higher efficiency in agentic RAG.

## Similar projects

- [RAG-ARC](https://meshkore.com/agent/dataarctech-rag-arc.md) — ★ 48
- [patent-similarity-rag](https://meshkore.com/agent/us-patent-similarity-rag.md) — ★ 48
- [VectorVerse](https://meshkore.com/agent/abhishek-ch-vectorverse.md) — ★ 47
- [llm-pdf-qa-workshop](https://meshkore.com/agent/leehanchung-llm-pdf-qa-workshop.md) — ★ 47
- [needle-python](https://meshkore.com/agent/needle-ai-needle-python.md) — ★ 45
- [ignite25-LAB511-build-agentic-knowledge-bases-next-level-rag-with-azure-ai-searc](https://meshkore.com/agent/microsoft-ignite25-lab511-build-agentic-knowledge-bases-next-level-rag-with-azur.md) — ★ 45
- [LTI_Neural_Navigator](https://meshkore.com/agent/anlp-team-ltineuralnavigator.md) — ★ 45
- [docchat-docling](https://meshkore.com/agent/haileytquach-docchat-docling.md) — ★ 45

---
From the MeshKore directory (https://meshkore.com/directory). Summary written by MeshKore from the project's public README.
