// docs / how ai works

How AI resolution works

The end-to-end flow from data collection to on-device fix execution.

Tux AI analyses device health data and produces structured reports.

The process

1. The agent collects health data every 5 minutes and sends it to the backend.
2. A diagnostic sends the latest snapshot to the AI service.
3. The AI analyses CPU, memory, disk, network, processes, updates, and antivirus health.
4. It returns health score, status, issues, actions, approved commands, and positives.
5. When you click Fix This, backend sends command over WebSocket for execution and live output.

What the AI can do

Diagnose CPU, memory, disk, network, and process issues
Identify pending security updates
Detect antivirus status
Execute approved commands on-device
Auto-create and auto-resolve tickets

What the AI cannot do

Access files, emails, or documents
Execute commands outside the approved whitelist
Make changes without creating a ticket first
Access other users' data