iwentsourcing
iwentsourcing is an event sourcing platform. You describe what happens in your application as events, and the platform stores them, derives state from them, and serves that state to your clients in realtime.
You write, the platform gives you
| You write | The platform gives you |
|---|---|
| The events of your domain, and the handlers that turn them into state | An API and workers that store the events and keep the state current |
A pattern per stream, like personal-$(auth.sub) | One isolated stream per user or group, with access control from the login |
| Nothing | A complete audit history, because events are never changed |
| Nothing | Replay: rebuild state from the events when a handler changes |
| One client call | Live updates and offline use in the browser, synced with the server |
| Nothing | A CLI and an MCP server to inspect and operate it, for you and for agents |
Start here
- Quickstart: design the events of a todo app, run it locally and read it back
- Concepts: events, streams, patterns, state, realms and tenants
- Inspect with the CLI: read events and state, push events
- Use it with AI agents: the MCP server
- CLI reference: every command and option
- Troubleshooting 500 errors: from a client error to the server log line
Packages
| Package | Description |
|---|---|
@iwentsourcing/core | Realms, streams, aggregations, events, state and the testing harness |
@iwentsourcing/cli | aion: local server, upload, inspect and the MCP server |
@iwentsourcing/client | Sign in, push events, read and observe state, from Node or the browser |
@iwentsourcing/browser | IndexedDB storage and local runtime for offline use in the browser |
@iwentsourcing/api | The HTTP server that stores and executes events |