# Node Pool

The **Node Pool** is a dynamic selection mechanism for nodes that have **passed cognitive tests** and are in an **ephemeral state**, meaning they are ready to serve user tasks. This system ensures **high-quality inference nodes** are efficiently assigned to user sessions while maintaining network reliability.

### **Node Lifecycle in the Ephemeral Pool**

#### **1. Node Qualification**

* Nodes must pass **cognitive testing** to ensure they meet **performance and inference quality standards**.
* Once validated, they enter the **ephemeral state** and are placed into the **Node Pool**, making them available for task assignment.

#### **2. Task Assignment**

* When a **user task** arrives in the **Session Queue**, a **suitable node** from the **Node Pool** is selected.
* Once assigned, the node is **marked as reserved** and temporarily removed from the pool while it processes the session.

#### **3. Node Release & Re-Validation**

* After completing the assigned session, the **node is released from its reserved state**.
* Before it **re-enters the Node Pool**, it must undergo a **cognitive validation check** to ensure it continues to meet quality standards.
* If the validation check fails, the node will not be placed back into the pool and may require further testing or recalibration.

### **Key Benefits**

* **High-Quality Inference** – Only nodes that meet performance standards are assigned to user tasks.
* **Dynamic Resource Management** – Nodes are continuously rotated based on demand and performance.
* **Cognitive Validation** – Ensures the reliability and accuracy of AI inference throughout the network.
* **Efficient Session Handling** – Nodes cycle between task execution and availability for optimized resource utilization.

The **Node Pool for Ephemeral State** ensures that only the best-performing nodes remain available for **user tasks**, providing a **robust and scalable** network infrastructure.&#x20;


---

# 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.cortensor.network/technical-architecture/modular-architecture-and-smart-contract-interactions/node-pool.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.
