Run a full health check on any remote Linux server via SSH. OE Runtime connects with your private key, runs system commands, checks services and security, and delivers a structured HEALTHY / WARNING / CRITICAL report — no SSH client or manual commands needed.
Create a file called agent.yaml inside an ssh/ directory:
name: Server Admin Agent description: Run a health check on a remote Linux server via SSH instructions: | You are a server administrator. Use SSH to run commands on remote servers. Check system health, monitor resources, and report findings clearly. Always explain what each command is checking before running it. Complete all steps fully before writing your report. steps: - name: Gather System Info content: | Run these SSH commands one at a time: 1. uname -a (kernel and OS info) 2. uptime (load average and uptime) 3. df -h (disk usage per mount point) 4. free -m (memory usage) 5. top -bn1 | head -20 (CPU and top processes) - name: Check Services and Security content: | Run these SSH commands one at a time: 1. ss -tlnp (open ports and listening services) 2. systemctl list-units --state=failed (failed systemd services) 3. last -n 10 (recent logins) 4. journalctl -p err --since "24 hours ago" | tail -20 (recent errors) - name: Report content: | Produce a server health report: - OS and kernel version - Uptime and load average (flag if load > number of CPUs) - Disk usage (flag any mount > 80% full) - Memory usage (flag if used > 90%) - Open ports and services - Failed services (if any) - Recent logins - Recent error log entries - Overall status: HEALTHY / WARNING / CRITICAL connectors: - connection_name: My Server connection_type: ssh
Create oe-config.json in the same directory:
{
"llm": {
"provider": "openai",
"model": "gpt-4o",
"apiKey": "YOUR_OPENAI_API_KEY"
},
"server": {
"enabled": false,
"port": 3333,
"apiKey": "your-secret-api-key"
},
"connectors": [
{
"connection_name": "My Server",
"connection_type": "ssh",
"host": "192.168.1.100",
"port": 22,
"username": "ubuntu",
"privateKey": "/path/to/id_rsa"
}
]
}Replace the host with your server's IP or hostname and point privateKey to your SSH private key file path. The username is typically ubuntu for AWS EC2, root or admin for other providers. Ensure the public key is in the server's ~/.ssh/authorized_keys.
# Run the agent oe-runtime-win.exe ssh/agent.yaml --config ssh/oe-config.json
# Make executable (first time only) chmod +x oe-runtime-macos # Run the agent oe-runtime-macos ssh/agent.yaml --config ssh/oe-config.json
# Make executable (first time only) chmod +x oe-runtime-linux # Run the agent oe-runtime-linux ssh/agent.yaml --config ssh/oe-config.json
macOS Gatekeeper: On first run, macOS may block the binary. Go to System Settings → Privacy & Security → click "Allow Anyway" next to oe-runtime-macos.
Add --serve to start OE Runtime as an HTTP server on port 3333:
oe-runtime-win.exe --serve --config ssh/oe-config.json
Then send a request:
curl -X POST http://localhost:3333/run \
-H "Content-Type: application/json" \
-d '{"yaml": "ssh/agent.yaml", "params": {}}'Or import the Postman collection (download above) to test all endpoints visually.
Download OE Runtime and run any AI agent locally or as a server — no cloud required.
Get OE Runtime →