Skip to main content

AI Engine

The AI Engine page manages the core inference server that powers all local AI features — both the LLM (language) and VLM (vision) models run through this engine.

Open via ⚙️ Settings → System → AI Engine.


Runtime Card

The top section shows the current state of the llama-server binary:

Platform Detection

Aegis automatically detects your hardware capabilities:

BadgeMeaning
CUDANVIDIA GPU detected — GPU-accelerated inference available
METALApple Metal detected — optimized for Apple Silicon
Apple SiliconRunning on M1/M2/M3/M4 chip
CPUNo GPU acceleration — inference runs on CPU only

Feature tags (e.g. CUDA, AVX2, METAL) appear as badges showing what the installed binary supports.

Binary Status

StateDescription
BUILT-INUsing the binary bundled with the app (green badge)
Binary Not FoundNo binary installed — click Install to set up
Preferred binaryShows the recommended binary for your platform and acceleration type
Build numberCurrent build version (e.g. b8235)

Actions

ButtonWhat It Does
InstallDownloads and installs the appropriate llama-server binary for your platform. Appears only when no binary is found.
UpdateRe-downloads the binary to get the latest version. Shows "UP TO DATE" if already current.
CheckChecks for newer binary versions without installing. Shows update availability.
RemoveDeletes the installed binary. Requires a confirmation click (auto-cancels after 3 seconds).

Console

Below the runtime card, a VS Code-style terminal shows live server output with two tabs:

Vision Tab (VLM)

Shows real-time output from the VLM (llama-server) process:

  • Streams model loading progress, inference logs, and health checks
  • Connection indicator: green WiFi icon (connected), gray (disconnected), yellow pulsing (connecting)

Language Tab (LLM)

Shows output from the LLM server process:

  • Streams chat inference logs, token generation, and system messages

Console Features

FeatureDescription
1000-line bufferEach tab stores up to 1000 log lines. Older entries are automatically dropped.
Auto-scrollFollows new output automatically. Scroll up to pause; shows "Paused" in the status bar.
ClearTrash icon clears all logs in the active tab
DownloadDownload icon exports the current tab's logs as a .log text file
Status barShows which server is active, connection state, line count (N/1000), and scroll mode

Troubleshooting

IssueSolution
"Binary Not Found"Click Install. Aegis downloads the correct binary for your OS and GPU.
Install failsCheck your internet connection. If behind a firewall, the binary download URL may be blocked.
Console shows "Disconnected"The VLM server may not be running. Load a model from the VLM settings.
CUDA badge missingEnsure NVIDIA drivers are installed. On Windows, update via GeForce Experience or the NVIDIA website.
Metal badge missing on MacVerify you're running macOS 12+ on Apple Silicon or a supported Intel Mac with a discrete GPU.