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
The Log is the Agent
21–30 of 59 posts
Re: The Log is the Agent
#22Re: The Log is the Agent
#23Very 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
pi harness does this by default, sessions go into session jsonl files, is it not how everyone is doing this?
In Lightspeed, we store all of them as events, thus can always reconstruct the exact state of the loop (e.g. state of open tool calls, compaction decisions in-flight, etc). This makes it possible to run the agent in a durable workflow engine easily.
Re: The Log is the Agent
#24Chatbot is the command line
Agent is the bash script
___ is the GUI (macOS/Windows/GTA 6)
You need Xerox PARC all over again and we have one
Re: The Log is the Agent
#25Re: The Log is the Agent
#26Re: The Log is the Agent
#27if the folks at Anthropic/OpenAI can stop their loops for one second they would've figured this out too but wouldn't feeding that log for each request/response iteration must get expensive really fast no? also "We discuss--without claiming to demonstrate--" wtf? someone had a showerthought and slopped this out in 10mins to see what others thought?
The window on back-of-napkin-idea acquihires is closing fast. ;-)
Re: The Log is the Agent
#28Event graphs aren’t just the agentic foundation for $MY_HARNESS — they’re the working cognitive substrate, native to what our favorite toolcall gremlins actually consume.
(Looking for lead investors for our angel syndicate btw! DM me if interested)
Re: The Log is the Agent
#29The AI folks have discovered CQRS?
Re: The Log is the Agent
#30Can someone explain why such a trivial knowhow is paper-worthy? Event sourcing is well known