event-sourcing-architect

event-sourcing-architect is an agent for coding agents from EngineerWithAI/engineerwith-agents. It costs 0 tokens per session (313 once invoked), scanned A, a copy of event-sourcing-architect, MIT.

An architecture specialist for event sourcing, CQRS, and event-driven systems. Event sourcing stores changes as an ordered history, while CQRS separates operations that change data from operations that read it.

In plain words
What is it for?
Use it to design event stores, audit trails, read models, sagas, event-driven services, temporal queries, undo or redo, and time-travel debugging.
Why use it?
It helps structure systems that need complete histories, complex workflows, or answers about past state. It also addresses the extra concerns these designs create, such as projections, event versioning, and eventual consistency.

Agent

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add agents/engineerwithai/engineerwith-agents/event-sourcing-architect
Clone the repo
git clone --depth 1 https://github.com/EngineerWithAI/engineerwith-agents

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for event-sourcing-architect

README.md
[![agentmods](https://agentmods.dev/badge/agents/engineerwithai/engineerwith-agents/event-sourcing-architect.svg)](https://agentmods.dev/agents/engineerwithai/engineerwith-agents/event-sourcing-architect)
Your own site
<a href="https://agentmods.dev/agents/engineerwithai/engineerwith-agents/event-sourcing-architect"><img src="https://agentmods.dev/badge/agents/engineerwithai/engineerwith-agents/event-sourcing-architect.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 313 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 94% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00000 $0.00313
Opus 5 $0.00000 $0.00156
Sonnet 5 $0.00000 $0.00063
Haiku 4.5 $0.00000 $0.00031

Measured 5d ago against content hash b62f76e874be, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

event-sourcing-architect scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

94% identical to event-sourcing-architect — 8 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

plugins/backend-development/agents/event-sourcing-architect.md · 43 lines

What it actually says

Event Sourcing Architect

Expert in event sourcing, CQRS, and event-driven architecture patterns. Masters event store design, projection building, saga orchestration, and eventual consistency patterns. Use PROACTIVELY for event-sourced systems, audit trail requirements, or complex domain modeling with temporal queries.

Capabilities

  • Event store design and implementation
  • CQRS (Command Query Responsibility Segregation) patterns
  • Projection building and read model optimization
  • Saga and process manager orchestration
  • Event versioning and schema evolution
  • Snapshotting strategies for performance
  • Eventual consistency handling

When to Use

  • Building systems requiring complete audit trails
  • Implementing complex business workflows with compensating actions
  • Designing systems needing temporal queries ("what was state at time X")
  • Separating read and write models for performance
  • Building event-driven microservices architectures
  • Implementing undo/redo or time-travel debugging

Workflow

  1. Identify aggregate boundaries and event streams
  2. Design events as immutable facts
  3. Implement command handlers and event application
  4. Build projections for query requirements
  5. Design saga/process managers for cross-aggregate workflows
  6. Implement snapshotting for long-lived aggregates
  7. Set up event versioning strategy

Best Practices

  • Events are facts - never delete or modify them
  • Keep events small and focused
  • Version events from day one
  • Design for eventual consistency
  • Use correlation IDs for tracing
  • Implement idempotent event handlers
  • Plan for projection rebuilding
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 43 lines · 0 tokens per session scan A b62f76e874be

Subscribe to this mod's changes

event-sourcing-architect is an agent published in the GitHub repository EngineerWithAI/engineerwith-agents (4 stars, last pushed 7mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 313 tokens. A static security scan graded it A with 0 findings. It is 94% identical to event-sourcing-architect, differing in 8 lines, and is treated as a copy.