I think about agent state as something derived from its logs, rather than as a separate state detached from what the agent has done. I connect this view to the idea that the log is the agent, and to the possibility that each run produces its own trace.
I have been saying that agent state is a projection of it’s logs.
I described my line of thinking as almost identical to @activegraphai’s: “the log is the agent”.
I believe no agent ever runs the same trace twice, because it is not the same agent and it is not the same trace.
I recommended checking out another framework where the agent state is projected from its immutable log, in an @activegraphai style.
I asked, “if you take an agent, migrate the memory, replace the harness, and swap out the model, is is the same agent?”