> For the complete documentation index, see [llms.txt](https://docs.fairmath.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.fairmath.xyz/fhe-computer/operating-system/computer-state.md).

# Computer State

The computer can be conceptualized as a state machine, with its state evolving deterministically based on transactions recorded on the chain. At any given moment, the computer resides in a well-defined state, characterized by multiple parameters and factors such as:

* **Resource Availability:** The allocation and utilization of computational, memory, and network resources across the decentralized network of actors.
* **Task Queue:** The current set of tasks awaiting execution, their priority levels, and the mapping of tasks to specific actors.
* **Actor States:** The operational status of each actor, including supported instructions, current workloads, and performance metrics.
* **Deployed Applications:** Metadata and configurations for applications running on the computer, including active jobs, required cryptographic keys, and runtime dependencies.
* **Transaction History:** Immutable records of task submissions, resource allocations, and interactions between system components.

  The blockchain acts as the single source of truth, ensuring that the state of the computer evolves in a transparent and tamper-proof manner. Transactions on the chain serve as the triggers for state transitions, which may include deploying new applications, assigning tasks to actors, or reallocating resources.
