Abstract In this chapter, we present a new model of middleware for multi-micro-agent distributed systems. The proposed model is based on event-driven architecture using event sourcing and CQRS patterns. In this architecture the agent communication model uses a couple of buses. The command bus is used to dispatch commands intended to change the state of the agent, and the query bus is used dispatch queries intended to poll the agent domain state. This mechanism allows separating completely the read and…