System Info
Query system resources on the machine where the Tensorify CLI runner is running — CPU, memory, disk, processes, network interfaces, open ports, and uptime.
Use System Info when you need to:
- Monitor CPU, memory, or disk usage on the runner host
- List running processes or open ports for health checks
- Build alerting workflows when resource thresholds are exceeded
- Give an AI Agent visibility into the runner machine via the Tools handle
Best with the CLI runner (tensorify runner start) — queries report your machine's real resources. In managed mode, System Info runs but reports the sandbox container's resources, not your infrastructure. Use CLI execution mode when monitoring your own servers.
| Handle | Type | Description |
|---|---|---|
input | any | Upstream data for {{ input.field }} template references in settings fields. |
| Handle | Type | Description |
|---|---|---|
result | object | System query result — fields present depend on the query type |
The result (accessed as {{ system_info.* }}) shape includes these fields (not all are present for every query):
| Field | Type | Description |
|---|---|---|
cpu_percent | number | Overall CPU utilization (%) — cpu query |
memory_used_gb | number | Used memory in GB — memory query |
memory_total_gb | number | Total memory in GB — memory query |
disk_free_gb | number | Free disk space in GB — disk query |
disk_total_gb | number | Total disk space in GB — disk query |
processes | array | List of process objects — processes query |
ports | array | List of open connection objects — ports query |
uptime_hours | number | Hours since last boot — uptime query |
network | array | List of network interface objects — network query |
success | boolean | Whether the query succeeded — all queries |
Example outputs by query type:
// cpu
{ "cpu_percent": 23.5, "success": true }
// memory
{ "memory_used_gb": 10.245, "memory_total_gb": 32.0, "success": true }
// disk
{ "disk_free_gb": 120.5, "disk_total_gb": 500.0, "success": true }
// processes
{ "processes": [{ "pid": 1234, "name": "python3", "cpu_percent": 2.5 }], "success": true }
// ports
{ "ports": [{ "port": 8080, "status": "LISTEN", "pid": 9012 }], "success": true }
// uptime
{ "uptime_hours": 72.5, "success": true }
// network
{ "network": [{ "interface": "eth0", "addresses": [{ "address": "192.168.1.100" }] }], "success": true }
| Setting | Type | Default | Description |
|---|---|---|---|
query | enum | cpu | Query type: cpu, memory, disk, processes, network, ports, or uptime. |
allowed_operations | multi-select | all query types | Which query types are available when this node is connected to an AI Agent Tools handle. Excluded from the agent tool schema. |
filter | string | — | Filter results. For disk: mount path (default /). For processes: process name substring. For ports: port number. Not used for cpu, memory, network, or uptime. Supports {{ }} bindings. |
Disk usage health check:
- Add a System Info node.
- Set Query to
disk. - Set Filter to
/. - Add an If node checking
{{ system_info.disk_free_gb }} / {{ system_info.disk_total_gb }} < 0.1. - On the true branch, send an alert via Send Email or HTTP Request.
Process monitoring:
- Query:
processes - Filter:
tensorify
Access results:
{{ system_info.processes }}
{{ system_info.success }}
import manual from @tensorify/manual-trigger:1.0.0
import sysinfo from @tensorify/system-info:1.0.0
node trigger @tensorify/manual-trigger:1.0.0 {}
node disk @tensorify/system-info:1.0.0 {
query = "disk"
filter = "/"
}
trigger.payload -> disk.input
System Info has an On Error control output branch. Enable it via the "Error output handle" toggle at the bottom of the settings panel.
The error branch fires when:
- A query fails due to a runtime error (e.g. invalid mount path for
disk) - A query type is rejected because it is not in Allowed Operations (Agent) when used as an agent tool
Connect the error branch to a fallback notification or logging action. You can also check {{ system_info.success }} on the main output path.
- Managed mode reports sandbox resources: In managed mode, System Info reports the sandbox container's CPU, memory, and disk — not your machine's. Deploy with CLI mode to monitor your own infrastructure.
- CPU sampling delay: The
cpuquery includes a 1-second sampling interval for accurate percent readings — expect a brief pause. - Filter usage varies by query: Use Filter for mount paths (
disk), process name substrings (processes), and port numbers (ports). It is ignored forcpu,memory,network, anduptime. - Ports query may require elevated permissions: Listing open network connections can fail on some systems without sufficient process permissions.
- Agent permissions: Restrict Allowed Operations (Agent) to
cpuandmemoryif you do not want agents inspecting processes or ports.
- AI Agent — connect System Info as a monitoring tool for agents
- Shell — run commands on the runner host
- If — branch on resource thresholds
- Send Email — send alerts when thresholds are exceeded
- Deploying Workflows — configure CLI execution mode
