A node runs a stored GGUF model with llama.cpp, pinned to release b12360 and verified by SHA-256 before use. Chat from the console’s model terminal, through the CHAT_MODEL command, or on the machine with manylayers run.

How it runs

1

Install the engine, once

The agent fetches llama.cpp through the Deployer, which serves a staged copy for networks without GitHub access or redirects to the official release. Bytes that don’t match the pinned digest are refused.
2

Load the model

The agent checks free RAM against the model size plus 512 MB, then starts llama-server on loopback with a fixed argument list and an empty environment. One model is loaded at a time; it unloads after 10 idle minutes, when another model is requested, or when the agent stops.
3

Stream the reply

Tokens are collected and sent as progress.text about six times a second through the durable command path, so any Deployer replica can serve the console. Cancelling (Ctrl+C) stops the reply mid-stream and keeps the model loaded.
The result carries the reply, prompt and completion token counts, tokens per second and load time. The console ends each reply with responded in 2.3s (model load 0.9s).

Console terminal

On the node page, open a model to get a terminal with its download log followed by a >>> prompt. Replies stream in as they are written and render as Markdown: headings, lists, links and syntax-highlighted code blocks. Each message carries the conversation so far, so the model remembers earlier turns. The terminal window’s red, yellow and green buttons close, minimise and go full screen (Esc leaves).

Saved chats

Chats are saved on the server, for each person and each model on a node, and nobody else sees them.
  • After a reload the newest chat opens again. A reply that was still being written carries on streaming.
  • The Chats menu above the terminal lists your earlier chats with their message count and when they were last used. Pick one to continue it, or New chat to start over.
  • Delete (the bin beside the menu) removes the open chat and its messages. The model stays on the node.
  • Titles come from the first message.
When a conversation outgrows the limits, the oldest turns are left out of what the model sees (the terminal says so). They stay in the saved chat.

Chats API

Sending returns the new turn, the CHAT_MODEL command that answers it and dropped (how many old turns were left out). Stream the reply by reading the command (progress.text), and stop it with POST …/commands/{command}/cancel. While a reply is being written, another message is refused with 409 chat_busy. Once the command ends, the reply is saved in the turn, with its status (succeeded, cancelled, failed or expired), token counts and timing. A message is at most 6 KB.

Limits

Failure codes: model_not_ready, insufficient_memory, engine_error, context_full.

What leaves the node

Only the reply text, the agent’s own log lines and errors with host paths removed. The engine’s raw output is never forwarded, except the last lines of a failed load, with paths stripped. The engine runs inside the agent’s systemd sandbox with no capabilities.