A
Data stored in Kabyn
Store customers, projects, requests, tasks, assets and approvals in Kabyn when it owns the record.
- State and rules in one model
- Validation on every command
- Events for meaningful outcomes
Kabyn platform
Applications, people using AI chat through MCP, and autonomous agents use the same business data, commands and rules. Kabyn controls what each can see and do, brings in a person when needed, and records what happened.
01 / A purchase approval
A command starts the work. Business logic handles it, emits an event and reacts to what happens next.
Object
Kabyn stores the supplier, amount, budget, requester and status.
Command
An application, a person using AI chat through MCP or an autonomous agent calls submitForApproval. The caller cannot write directly to the database.
Business logic
Kabyn validates the request, checks the actor and approval threshold, updates the status and emits ApprovalRequested.
Event-triggered logic
The ApprovalRequested event states what happened. It triggers logic that creates the review and notifies Finance.
Approval
An authorised approver reviews the details and submits the decision through approvePurchase.
Business logic
Kabyn validates the approver, updates the request and emits PurchaseApproved or PurchaseRejected.
Event-triggered logic
The outcome event triggers logic that routes approved requests to purchasing or returns rejected requests with a reason. The audit log records the commands and logic that ran, the decision and each event.
02 / How it fits
Used by
Ways in
Governed operation
Operational record
03 / Choose where data lives
A
Store customers, projects, requests, tasks, assets and approvals in Kabyn when it owns the record.
B
Keep the record in an existing database, app, document or API. Kabyn still applies the same commands and rules.
04 / Before anything changes
Governed actions, not raw access