this.messages is the actor’s durable conversation log. Messages are ordered by an
assigned monotonic seq (insertion order, not wall-clock), and the log is append-only —
there is no delete.
Types
Writing
Reading
all() reads the entire history every time — on a long-lived conversation prefer
last(n) for a bounded context window.
Adapters
Each adapter reads the full history and converts it. They differ in how they treatsystem and tool messages:
append() with plain roles, or rebuild framework state
from toOpenAI() output instead.