Research questionHow can LLM agents learn from past experience to generalize to unseen tasks?LLM agents can perform well on familiar tasks yet fail on unfamiliar ones, and fine-tuning may not transfer reliably while simply retrieving prior trajectories can underperform. Past trajectories are often summarized too shallowly, losing step dependencies and the conditions tied to success or failure. Agents must also judge which lessons will transfer, since state-specific lessons resist compression and learned strategies can cause negative transfer.