:warning: Beta Release: This software is currently in beta, and both configurations and APIs may undergo breaking changes. It is not yet 100% feature complete, but it functions as intended.
Install the agent with the one-liner below:
curl -L -o /tmp/compute-blade-agent-installer.sh https://raw.githubusercontent.com/compute-blade-community/compute-blade-agent/main/hack/autoinstall.sh
chmod +x /tmp/compute-blade-agent-installer.sh
/tmp/compute-blade-agent-installer.sh
compute-blade-agent: Hardware Interaction & MonitoringThe agent runs as a system service and monitors various hardware states and events:
/metrics).The identify function can be triggered via bladectl or a physical button press. It makes the edge LED blink to assist locating a blade in a rack.
bladectl: User Command-Line Toolbladectl is a CLI utility for remote or local interaction with the running agent. Example use cases:
bladectl set identify --wait # Blink LED until button is pressed
bladectl set identify --confirm # Cancel identification
bladectl unset identify # Cancel identification (alternative)
fanunit.uf2: Smart Fan Unit FirmwareThis firmware runs on the fan unit microcontroller and:
To install it, download the fanunit.uf2, and follow the firmware upgrade instructions here.
Install the agent with the one-liner below:
curl -L -o /tmp/compute-blade-agent-installer.sh https://raw.githubusercontent.com/compute-blade-community/compute-blade-agent/main/hack/autoinstall.sh
chmod +x /tmp/compute-blade-agent-installer.sh
/tmp/compute-blade-agent-installer.sh
Note:
bladectlrequires root privileges when used locally, due to restricted access to the Unix socket (/tmp/compute-blade-agent.sock).
The default configuration file is located at:
/etc/compute-blade-agent/config.yaml
You can also override any config option via environment variables using the BLADE_ prefix.
listen:
metrics: ":9666"
BLADE_LISTEN_METRICS=":1234"
| Variable | Description |
|---|---|
BLADE_STEALTH_MODE=false |
Enable/disable stealth mode |
BLADE_FAN_SPEED_PERCENT=80 |
Set static fan speed |
BLADE_CRITICAL_TEMPERATURE_THRESHOLD=60 |
Set critical temp threshold (°C) |
BLADE_HAL_RPM_REPORTING_STANDARD_FAN_UNIT=false |
Disable RPM monitoring for lower CPU use |
OTEL_EXPORTER_OTLP_ENDPOINT |
Endpoint for the OTLP exporter |
To allow secure remote use of bladectl over the network:
/etc/compute-blade-agent/config.yaml):listen:
metrics: ":9666"
grpc: ":8081"
authenticated: true
mode: tcp
systemctl restart compute-blade-agent
This will:
/etc/compute-blade-agent/*.pem~/.config/bladectl/config.yaml with the client certificates in placebladectl from your local machinescp root@blade-pi1:~/.config/bladectl/config.yaml ~/.config/bladectl/config.yaml
yq e '.blades[] | select(.name == "blade-pi1") .blade.server = "blade-pi1.local:8081"' -i ~/.config/bladectl/config.yaml
Your bladectl tool can now securely talk to the remote agent via gRPC over mTLS.
$ claude mcp add compute-blade-agent \
-- python -m otcore.mcp_server <graph>