Appearance
Build
How kernable works, and how to write and change an application on it. The tutorials show the same ideas in code; Run covers production, and the reference has the details.
How kernable works
| Page | Covers |
|---|---|
| How kernable works | What the kernel does and what your processes do; commands, events and queries; aggregates, read models, reactors, middleware and processes, and when you need a process |
| Event sourcing in kernable | Aggregates, commands, events, and how it differs from CRUD |
| Domains | What a domain holds, its rules, how it relates to services, a code layout |
| Order and consistency | One command per aggregate, listener order, settling; unique keys and conditions across aggregates |
| Queries and middleware | Why every read goes through the kernel, and how checks fail closed |
| Business processes | Flows across commands, events and queries, run by the kernel and shown in its UI |
| Data over time | Event versions, formats, the vault, snapshots |
Write your application
| Guide | When you need it |
|---|---|
| Test your domain | You want to test aggregates without a kernel, or against a real one. |
| Schedule a command | A command should run later: a timeout, a reminder, a deadline. |
| Passwords and other secrets | A command carries a value that must never be stored. |
| Store files and cache values | A domain needs files (an invoice PDF) or values that expire (a rate limit). |
| AI agents over MCP | AI agents should call some of your commands and queries as tools, within your rules. |
| Kits | Your application needs tenants, people who sign in, roles and invitations, as code you own. |
Change it later
| Guide | When you need it |
|---|---|
| Change an event's format | An event must carry something new, but stored events stay as they are. |
| Rebuild a read model | You fixed a handler bug, or a read model should hold something new. |
| Remove a listener, middleware or aggregate | You stop running something, and the kernel should stop waiting for it. Covers memberships. |
Background: compared with other systems.
