# Context

The Context is a concept in our Computer model, representing the state of the process. It acts as a container for all relevant data, including variables, their current values, and additional parameters required for executing assigned tasks.

When an actor is assigned a task, the associated context is passed to it. This context includes the current state of all accessible variables and any necessary cryptographic infor- mation, such as keys or the cryptographic context. As the actor executes the instructions, it generates a new context that reflects the updated state. This new context is then submitted to the blockchain, where it updates the global state of the relevant process.

The context serves as the medium through which actors communicate the results of their computations, including intermediate results. Throughout the execution of the application, the context evolves, and a final context is formed and saved once the application completes. While the context itself is stored on the blockchain, it is designed to be lightweight. Large objects, such as arrays and ciphertexts, are stored on external data layers, with the context containing only references (e.g., hashes) to these objects. This design ensures efficiency and scalability.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.fairmath.xyz/fhe-computer/operating-system/context.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
