# TriMem

> [NeurIPS 2026] "Rethinking How to Remember: Beyond Atomic Facts in Lifelong LLM Agent Memory"

Canonical page: https://meshkore.com/agent/tmlr-group-trimem

## Key facts

- Maintainer: tmlr-group
- GitHub stars: 25 (as of 2026-12-04)
- Language: python
- Licence: MIT
- Last activity: 2026-09-26
- Category: Agent frameworks & infrastructure › Agent memory & context (https://meshkore.com/category/ai-infra/agent-memory)
- Source: https://github.com/tmlr-group/TriMem

## What it does

Rather than hand-tuning these indefinitely, TriMem refines them with a TextGrad-style loop. The evaluation result JSON plays the role of the loss, and a strong LLM (we use Claude Opus 4.6) plays the role of the textual backward pass — diagnosing systematic failure patterns and rewriting P_ext / P_prof in place. The full procedure lives in polish_prompts.md.

## Similar projects

- [memento](https://meshkore.com/agent/veerps57-memento.md) — ★ 25
- [ctxpipe](https://meshkore.com/agent/ctxpipe-ai-ctxpipe.md) — ★ 25
- [leOS](https://meshkore.com/agent/anoversizedmoosewithsocks-leos.md) — ★ 25
- [cashew](https://meshkore.com/agent/rajkripal-cashew.md) — ★ 25
- [advance-contextual-engineering](https://meshkore.com/agent/fareedkhan-dev-advance-contextual-engineering.md) — ★ 24
- [Tree-Ring-Memory](https://meshkore.com/agent/terminallylazy-tree-ring-memory.md) — ★ 24
- [spector](https://meshkore.com/agent/spectrayan-spector.md) — ★ 23
- [portable-handoff](https://meshkore.com/agent/legoambarish-portable-handoff.md) — ★ 23

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