# Kuai Framework
## Metadata
**Status**:: #x
**Zettel**:: #zettel/fleeting
**Created**:: [[2023-09-07]]
## Design Philosophy
The cell model of CKB is a generalization of Bitcoin's [UTXO model](https://en.wikipedia.org/wiki/Unspent_transaction_output) and naturally has the ability to execute in parallel. Inspired by the [==Actor model==](https://en.wikipedia.org/wiki/Actor_model), the Kuai project abstracts a group of cells into an actor based on patterns. Actors communicate with each other through message passing, which enables efficient parallel execution of multiple actors and improves the interoperability from module level to application level. This design facilitates the development of highly concurrent and scalable applications.
## Actions
- [x] [ckb-js/kuai](https://github.com/ckb-js/kuai)
- [x] Read [Kuai Proposal](https://github.com/ckb-js/topics/blob/add-draft-of-kuai-proposal/README.md)
- [x] [[Run Framework on Bitcoin]]
## Architecture
- Store: Schema, serialization, and ORM
- [?] How can it integrate with [[CKB Spore Protocol]]?
- Note that a `Store` model could be a group of cells matching the same `pattern` and working as an entity, so it could be regarded as a virtual DApp.
- Contract is Store for scripts.
- It has methods.