logoalt Hacker News

lukebuehlertoday at 8:26 AM2 repliesview 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

throw1234567891today at 12:34 PM

pi harness does this by default, sessions go into session jsonl files, is it not how everyone is doing this?

show 2 replies
terntoday at 11:18 AM

Nice work. Excited to check this out.