logoalt Hacker News

lukebuehlertoday at 8:26 AM1 replyview on HN

Very cool. I settled on the same/similar design in my agent harness.

All relevant events that affect the context window are stored in an event log. Forking agents and sessions is simply setting a pointer to the sequence number of another event log.

So if you want to check an implementation of this pattern see: https://github.com/smartcomputer-ai/lightspeed


Replies

terntoday at 11:18 AM

Nice work. Excited to check this out.