Attemory: A Retrieval Engine Replacing Embeddings with Attention
langsfang · reddit · 2026-07-06
Developer langsfang released Attemory, an open-source retrieval engine that replaces traditional embedding-based nearest neighbor search by indexing raw text into reusable KV states. During retrieval, a local Qwen3.5 model performs attention computation over the indexed memory and the query, returning compact evidence like memory IDs, snippets, or file line ranges. The author argues that attention-based retrieval preserves token-level details lost in embeddings, achieves SOTA on long-memory and code benchmarks, and eliminates the need for stacking tricks like chunk tuning and re-ranking.
More from coding & agent
- Tweaked orchestration skill turns agents into self-policing workflow — pvncher · 2026-07-27
- A practical map of 11 protocols in the modern AI agent stack — TheTuringPost · 2026-07-27
- Qwen Code nightly adds Goal v3 orchestration and workspace channel controls — qwen-code-ci-bot · 2026-07-27
- NVIDIA says Nemotron 3 Ultra hit 97.1% on agentic RTL chip-design tasks — NVIDIAAI · 2026-07-27
- Tokyo Agent Forge hackathon shipped production-ready AI agents in one day — DavidBennett__ · 2026-07-27
- Long-running agents will need immutable event logs, this thread argues — sebpaquet · 2026-07-27