# Execution Layer

The Execution Layer is composed of a heterogeneous network of computational nodes, referred to as actors, which are capable of executing instructions defined by the virtual machine. Each actor may support a subset of the available instructions. For example, some actors may specialize in instructions related to a specific encryption scheme, while others may support a single operation, such as ciphertext multiplication.

When registering as an actor, the node specifies the list of instructions it can execute, along with metadata describing its performance characteristics. This information is crucial for task allocation and ensures that actors are matched to tasks that align with their capabilities. Actors also have the flexibility to modify their supported instruction set at any time, enabling them to adapt to changing workloads or optimize for specific tasks.

As described in Section 5.5, during the assignment of an actor to a task(block of instructions), the system considers the actor’s declared capabilities. It ensures that actors are only assigned blocks consisting of instructions they explicitly support. This guarantees efficient and reliable execution, even in a heterogeneous environment with actors of varying specializations.

We discuss actors in more details in section 5.8


---

# 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/architectural-layers/execution-layer.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.
