Show HN: Context Surgeon – Let AI agents edit their own context windowgithub.com5 points·by jdjdjdi·3 mesi fa·5 comments
jdjdjdi·3 mesi fa·discussGood call, next on my todo list, wasn’t a priority for the mvp, but got multiple requests for state persistence
jdjdjdi·3 mesi fa·discussYes! The replace command lets the agent write their own summary for any tool result or message or a single summary referring to several turns