# SARA

> Official Implementation for the ACL 2026 paper "SARA: Selective and Adaptive Retrieval-augmented Generation with Context Compression"

Canonical page: https://meshkore.com/agent/ahren09-sara

## Key facts

- Maintainer: Ahren09
- GitHub stars: 257 (as of 2026-12-03)
- Language: python
- Licence: Apache-2.0
- Last activity: 2026-07-23
- Category: Data, search & knowledge › RAG & retrieval pipelines (https://meshkore.com/category/data/rag)
- Source: https://github.com/Ahren09/SARA

## What it does

SARA represents retrieved evidence as a mix of k natural-language passages and n − k compressed retrieval embeddings. The compressed pieces are injected at token positions in the prompt through a small trained projector that maps retriever embeddings into the language model's hidden space, letting the model attend to many more documents within a fixed context budget.

## Similar projects

- [llama-github](https://meshkore.com/agent/jetxu-llm-llama-github.md) — ★ 289
- [BYO-LLM-WIKI](https://meshkore.com/agent/lyra-stellai-byo-llm-wiki.md) — ★ 276
- [Diver](https://meshkore.com/agent/aq-medai-diver.md) — ★ 262
- [ragpi](https://meshkore.com/agent/ragpi-ragpi.md) — ★ 261
- [mydb](https://meshkore.com/agent/yzsind-mydb.md) — ★ 250
- [LogicRAG](https://meshkore.com/agent/chensycn-logicrag.md) — ★ 242
- [MRAG](https://meshkore.com/agent/spcl-mrag.md) — ★ 241
- [FlexRAG](https://meshkore.com/agent/ictnlp-flexrag.md) — ★ 241

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