ESAA: Event Sourcing for Autonomous Agents in LLM-Based Software Engineering
Elzo Brito dos Santos Filho

TL;DR
This paper introduces ESAA, an architecture that enhances autonomous LLM-based agents by separating intentions from state, enabling deterministic execution, traceability, and scalability through event sourcing and validation mechanisms.
Contribution
The paper presents the ESAA architecture, applying event sourcing principles to autonomous agents, improving state management, traceability, and multi-agent orchestration in LLM-based systems.
Findings
Successful validation with two case studies demonstrating scalability.
Multi-agent orchestration with heterogeneous LLMs.
Empirical evidence of improved traceability and state management.
Abstract
Autonomous agents based on Large Language Models (LLMs) have evolved from reactive assistants to systems capable of planning, executing actions via tools, and iterating over environment observations. However, they remain vulnerable to structural limitations: lack of native state, context degradation over long horizons, and the gap between probabilistic generation and deterministic execution requirements. This paper presents the ESAA (Event Sourcing for Autonomous Agents) architecture, which separates the agent's cognitive intention from the project's state mutation, inspired by the Event Sourcing pattern. In ESAA, agents emit only structured intentions in validated JSON (agent.result or issue.report); a deterministic orchestrator validates, persists events in an append-only log (activity.jsonl), applies file-writing effects, and projects a verifiable materialized view (roadmap.json).…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsMulti-Agent Systems and Negotiation · AI-based Problem Solving and Planning · Scientific Computing and Data Management
