# sqe-experiment

> When Does Query Expansion Help Agent Memory? A Multi-Seed Study of Selective Expansion and Gate Reliability. Code, results and paper.

Canonical page: https://meshkore.com/agent/salomondiei08-sqe-experiment

## Key facts

- Maintainer: Salomondiei08
- GitHub stars: 2 (as of 2026-12-04)
- Language: python
- Last activity: 2026-10-06
- Category: Agent frameworks & infrastructure › Agent memory & context (https://meshkore.com/category/ai-infra/agent-memory)
- Source: https://github.com/Salomondiei08/sqe-experiment

## What it does

Long-horizon software agents store execution traces and later retrieve them with natural-language questions, so the query and the memory are written in different "languages". Selective Query-Side Expansion (SQE) expands a query with hypothetical execution traces and paraphrases only when the top-1 dense retrieval score is low, then fuses all rankings with Reciprocal Rank Fusion. The memory store and both indices stay unchanged.

## Similar projects

- [ai-llm-agent-memory-agent-memory-forgetting-ohovo-go](https://meshkore.com/agent/ohovotech-ai-llm-agent-memory-agent-memory-forgetting-ohovo-go.md) — ★ 2
- [multi-head-memory](https://meshkore.com/agent/deeplearning-wisc-multi-head-memory.md) — ★ 2
- [jev-compactor](https://meshkore.com/agent/edwardyen724-g-jev-compactor.md) — ★ 2
- [context-lattice](https://meshkore.com/agent/philosophythatworks-context-lattice.md) — ★ 2
- [@langchain/langgraph-checkpoint](https://meshkore.com/agent/langchain-langchainlanggraph-checkpoint.md)
- [@betterdb/agent-cache](https://meshkore.com/agent/betterdb-betterdbagent-cache.md)
- [memorix](https://meshkore.com/agent/memorix.md)
- [@mem0/vercel-ai-provider](https://meshkore.com/agent/mem0-mem0vercel-ai-provider.md)

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