BytedTsinghua-SIA/MemAgent
A MemAgent framework that can be extrapolated to 3.5M, along with a training framework for RL training of any agent workflow. observed · 2026-08-28
Health v2 · maintenance only
55/100
- Activity 82
- Release rhythm 35
- Longevity 31
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 435
- days_rel: n/a
- days_push: 113
- n_releases_24m: 0
Adoption not part of the score
1100 stars · 73 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
MemAgent is a reinforcement-learning framework for training LLM agents that process arbitrarily long contexts via a memory mechanism within fixed context windows. It extends the DAPO algorithm to support end-to-end RL optimization of multi-turn agent workflows, enabling extrapolation from 32K training contexts to 3.5M-token tasks.
Use cases
- train an LLM agent to handle multi-million-token documents
- do RL training on multi-turn agent workflows with verifiable rewards
- extend a model's effective context length beyond its training window
- run long-context QA with linear compute scaling
- reproduce RL-MemAgent-7B/14B long-context results
When to choose
- you need RL training of agent workflows with long-context memory
- you want to extrapolate context length without changing model architecture
- you need linear-time long-text processing
When to avoid
- you only need inference-time RAG without training
- you lack GPU resources for RL fine-tuning
- you need a plug-and-play long-context model with no training
Facets
framework · maturity active
llm-training agent-framework rag machine-learning large-language-models artificial-intelligence deep-learning python reinforcement-learning long-context memory-agent rlvr dapo context-extrapolation ai-agents gpu linux
1 source
- readme: https://github.com/BytedTsinghua-SIA/MemAgent · fetched 2026-08-28 · 1e4064f13419
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| BytedTsinghua-SIA/MemAgent | main | 55 |
For agents
markdown · JSON · MCP: product_card(name="BytedTsinghua-SIA/MemAgent")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem