Distributed hardware optimization for heterogeneous compute clusters.
Mesh Optimizer automatically discovers, benchmarks, and optimizes hardware across your infrastructure. Deploy the agent on any machine — it connects to a central controller that orchestrates optimization across your entire fleet.
Supports AMD GPUs, NVIDIA GPUs, Intel/AMD CPUs, FPGAs, and memory subsystems across Linux and macOS.
pip install mesh-optimizergit clone https://github.com/slentoai/mesh-optimizer.git
cd mesh-optimizer
pip install -e .cp mesh_config.example.yaml mesh_config.yaml
# Edit mesh_config.yaml — set your controller_url and optional license key# Start the agent
mesh-optimizer start --config mesh_config.yaml
# Check status
mesh-optimizer status
# View detected hardware
mesh-optimizer hardware
# Stop the agent
mesh-optimizer stop+-------------------+ HTTPS +---------------------+
| Mesh Agent | --------------------> | Mesh Controller |
| (this package) | <-------------------- | (proprietary) |
| | | |
| - HW discovery | register | - Job routing |
| - Health metrics | heartbeat | - Optimization |
| - Probe runner | probe results | - Dashboard |
| - Job executor | job dispatch | - Analytics |
+-------------------+ +---------------------+
The agent (this package) runs on each node in your cluster. It:
- Discovers hardware — CPUs, GPUs (AMD and NVIDIA), FPGAs, memory
- Registers with the controller — sends hardware inventory and metadata
- Sends heartbeats — CPU/GPU utilization, memory, temperatures, load
- Runs benchmark probes — measures baseline hardware performance
- Executes jobs — runs tasks dispatched by the controller
The controller is the central brain that analyzes data from all agents and makes optimization decisions. It is available as a pre-built binary from portal.slentosystems.com.
Agents behind firewalls or NAT work out of the box. Enable NAT mode in your config:
node:
nat_mode: true
nat_poll_interval_s: 15In NAT mode, the agent only makes outbound connections to the controller — no port forwarding required.
See mesh_config.example.yaml for all available options.
Key settings:
| Setting | Description |
|---|---|
controller_url |
URL of your Mesh Optimizer controller |
node.agent_port |
Port for the agent API (default: 8400) |
node.nat_mode |
Enable for agents behind NAT/firewalls |
node.tags |
Tags for job routing (e.g., ["gpu", "amd"]) |
licensing.license_key |
License key from the portal (optional) |
security.verify_tls |
Verify TLS certificates (default: true) |
Mesh Optimizer is free to use in community mode with unlimited nodes and basic features including hardware discovery, health monitoring, job routing, and dashboard access.
Professional and Enterprise tiers unlock continuous optimization, auto-tuning, and advanced analytics. Get a license key at portal.slentosystems.com.
When you add a Professional or Enterprise license key to your config, the agent automatically:
- Validates your key against the Slento Systems portal
- Downloads the controller binary for your platform
- Starts the controller locally alongside the agent
- Keeps the controller up to date on future launches
No manual controller installation required — just add your license key and start the agent.
licensing:
license_key: "MESH-XXXX-XXXX-XXXX-XXXX" # From portal.slentosystems.commesh-optimizer start # Downloads controller, starts everythingWhen running in standard mode (not NAT), the agent exposes:
| Endpoint | Method | Description |
|---|---|---|
/health |
GET | Agent health and metrics |
/hardware |
GET | Detected hardware inventory |
/probe/run |
POST | Trigger a benchmark probe |
/jobs/submit |
POST | Submit a job for execution |
/jobs/{id} |
GET | Get job status |
- Python 3.10+
- Linux or macOS
- For GPU detection:
nvidia-smi(NVIDIA) orrocm-smi(AMD) - For FPGA detection:
lspci
Full documentation is available at docs.slentosystems.com.
Apache License 2.0 — see LICENSE for details.
The controller is available as a pre-built binary from portal.slentosystems.com.