Searching agent chat history via tool calls instead of stuffing context each turn

weswinder · x · 2026-09-12

Dev weswinder asks: has anyone tried searching agent chat history with a tool call instead of dumping the whole thing into context every turn? He suspects this could be an easy path to 'infinite chat threads' and wonders if he's missing something. Points toward retrieval-based memory management for agents.

Original post →

More from coding & agent

coding & agent channel →