Artica Wiki

Artica AI appliance

A local language model (Ollama and Qwen 2.5) served by one Artica appliance to the Artica AI service of the others: concepts, prerequisites, performance and use cases.

An Artica appliance can become an AI appliance.
It runs a local language model and serves it to the other Artica appliances of your network.
The model is Qwen 2.5 7B Instruct, served by Ollama.
No graphics card is needed: the processor and the memory do all the work.

The appliances that use it run Artica AI, the assistant of the Web console.
Their questions, logs and configuration extracts never leave your network.

Concepts

The AI appliance is a server.
Each client appliance keeps its own Artica AI service.
Only the language model moves to the AI appliance.

One click, from the official sources

Downloads resume where they stopped.
A network cut, a restart of the Web API service or a reboot never downloads again what is already on disk.

The Artica AI client leaves this appliance

An appliance is either an AI appliance or an Artica AI client, never both.
The installation removes the Artica AI client from the AI appliance.
Its settings in /etc/artica-ai are kept.
While the AI appliance is installed, the Artica AI client cannot be installed on it.

Security

There is no API key.
The list of allowed addresses is the only authentication.

Certificates

The AI appliance creates its own certificate authority.
It is valid for 10 years and is never replaced automatically.
The client appliances trust it through its ca.pem file, downloaded from the Status tab.

The server certificate is valid for one year and is renewed 30 days before it expires.
It carries the name of the appliance, all its addresses and the extra names you add.
It is issued again when one of them changes.
The client appliances have nothing to do: they trust the authority, not the certificate.

Uninstalling keeps the certificate authority.
After a reinstallation, the client appliances still trust the AI appliance.

Prerequisites

The page checks the machine before the installation.
Each criterion gets a verdict: Suitable, Slow, Blocking or Not verifiable.

A blocking criterion disables the Install button.

A criterion that cannot be measured is never shown as suitable.

Hardware check of a virtual machine

Criterion Required Below the requirement
AVX2 processor instructions present Blocking.
On a virtual machine, the message points at the CPU compatibility mode (EVC) of the host.
Memory 16 GB Slow under 16 GB.
Blocking under 8 GB.
Free disk space 30 GB Blocking.
Processors 8 Slow.
NUMA nodes 1 Slow.

A machine sold as 16 GB shows about 15.6 GB to the system.
This value is accepted as 16 GB.

After the installation, the model is on disk.
The disk criterion then only requires a safety margin of 2 GB.

On a virtual machine

The checks also run on a virtual machine.
The page names the hypervisor (VMware, KVM, Hyper-V, Xen).
Three more criteria apply.

Criterion Required How it is measured
Processor time taken by the host less than 5 % Measured on KVM and Xen, which expose it.
Not verifiable on the other hypervisors.
Memory reserved by the host 100 % Measured on VMware when the VMware tools are installed (balloon and host swap).
Not verifiable elsewhere.
Physical cores real cores of a single socket Never visible from inside a virtual machine.
Check it on the host.
Resource Recommendation
vCPU 8, or 12 if possible.
Physical cores, not overcommitted, on a single socket.
Memory 16 GB, reserved at 100 %.
Disk 30 GB free, on SSD.
CPU compatibility mode (EVC) Off, or set to a generation that exposes AVX2.

Network

Internet access is needed only during the installation.
The model then answers without any outside connection.

Performance

Without a graphics card, the model writes a few tokens per second.
A token is about three quarters of a word.

The last installation step measures the real speed of the machine.
The result is shown in the Status tab, with a Measure again button.
Below 2 tokens per second, the page warns that the host is probably overcommitted.

Status tab with the measured speed

VMware virtual machine, 16 vCPU with AVX2, 16 GB → 9 to 10 tokens per second

At 10 tokens per second, an answer of 150 words takes about 20 seconds.
An investigation by the Artica AI agent chains several answers.
This is why the client appliances use a timeout of 600 seconds.

By default, the model answers one request at a time.
The other requests wait in a queue of 16.

Answering more requests at the same time costs memory and makes each answer slower.
The Settings tab shows the memory needed before you save.

Where the time goes, what Artica does for speed and how to tune the model server, the hardware and the client appliances: see Explaining and optimizing the Artica AI appliance.

Use cases

Next step : Installing an Artica AI appliance