> For the complete documentation index, see [llms.txt](https://helio-dao.gitbook.io/helio-dao-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://helio-dao.gitbook.io/helio-dao-docs/helio-engine/swarm-distributed-ai-processing-network.md).

# Swarm: Distributed AI Processing Network

## **Purpose:**

The Swarm enables decentralized AI computation, allowing Helio to scale dynamically across multiple nodes while maintaining efficiency and reliability.

### **Technologies Used:**

* **Python**:
  * Python is the primary language for Helio’s AI models due to its vast library ecosystem (e.g., TensorFlow, PyTorch, Scikit-learn).
  * It simplifies the implementation of machine learning models, natural language processing (NLP), and other AI tasks.
* **Rust and WASM (WebAssembly):**
  * Rust is used for critical AI tasks that require high-speed execution within Swarm nodes.
  * WASM ensures that lightweight AI computations can run securely and efficiently in distributed environments, such as user devices or decentralized nodes.
* **Docker and Kubernetes**:
  * To containerize AI modules and orchestrate their deployment across Swarm nodes.
  * Kubernetes ensures resource optimization and high availability.
* **Solana RPC Nodes**:
  * Swarm nodes interact directly with Solana RPC endpoints to fetch and analyze on-chain data for AI predictions.

#### **Why It’s Ideal for Solana:**

The Swarm distributes AI processing across Solana’s decentralized infrastructure, aligning with the network’s ethos of decentralization. Using WASM ensures cross-platform compatibility and security for on-chain/off-chain interactions.
