The agent binary doubles as the manylayers command on the machine. It works on the same model registry as the console, running as the agent’s user (through sudo when needed), so anything you pull from the CLI appears in the console and the other way round.
Set HF_TOKEN for gated or private Hugging Face models.

Browse models

manylayers models lists the models you can download, read from Hugging Face (most downloaded first). Each row shows the model, its type (category and file format, e.g. LLM · GGUF), parameter count, quantizations and downloads. Models already on this machine are marked ✓. It shows 10 models at a time, numbered, then asks what to do next: Up to 10 pages (the top 100 results) are available.
When the output is piped or scripted there is no prompt: it prints one page and the commands for the previous and next pages. Gated models need HF_TOKEN to download. Set HF_TOKEN to raise Hugging Face’s rate limits.

Models on this machine

manylayers ls (or manylayers list) shows each downloaded model’s name, type (file format and architecture, e.g. GGUF · qwen2), size, quantization, source and when it was downloaded. It pages the same way, 10 at a time, by name.

Pull

After a download finishes in a terminal (from manylayers pull or by picking a model in manylayers models), the CLI asks Run <name> now? [Y/n]. Enter or y opens the chat right away; leaving it with /bye returns you to where you were. Answer n to just keep the model.

Run

A model is named by its name or its model ID. The CLI uses the same pinned llama.cpp engine, installing it on first use (through the Deployer, or from the official release when the machine isn’t connected). Its engine stops when the command exits. Engine messages and timings go to stderr and the reply to stdout, so the one-shot form can be piped.

Opening the chat

  • manylayers on its own, in a terminal, opens the chat with the model you used last: the one from your newest saved chat, if it is still on the machine, otherwise the first ready model by name. Switch with /model. With no models yet, it says how to browse and download one. manylayers help lists the commands.
  • manylayers run <model> opens a new chat with that model.

Chat history

Every chat is saved after each reply, in the agent’s data directory (<data-dir>/chats, readable only by the agent’s user). Opening the chat starts a new one; earlier ones stay saved.
  • Continue one with /resume, which lists the 20 newest chats from every model; /resume <n> picks one up with its whole conversation, so the model knows what was said.
  • Carry on the last chat with a model directly with manylayers run -c <model> (--continue). Full screen shows the earlier conversation; --inline shows the last exchange.
  • /new (or /clear) starts another chat inside the session.
  • One-shot prompts (run <model> "prompt" or piped input) are stateless, so scripts get repeatable answers. With -c they send the last chat with the prompt and save the reply into it.
When a chat outgrows the model’s limits (64 messages, 12 KB), the oldest turns are left out of what the model sees, with a note. They stay in the saved chat.

Interactive chat

In a terminal the chat runs full screen:
  • The conversation scrolls at the top (mouse wheel, PgUp/PgDn; Ctrl+End jumps back down).
  • The bottom stays fixed: a spinner with elapsed time and tokens, queued messages, the / menu, the input, and a footer with the model, a context meter, CPU and RAM.
  • Typing during a reply queues the message; ↑ on an empty input takes it back to edit.
  • On exit the conversation is printed to the normal screen so it stays in your scrollback. Use --inline to stay in normal scrollback throughout.
  • Replies render as Markdown while they stream: styled headings, lists, links and framed, syntax-highlighted code blocks. Piped output stays raw Markdown.
After each reply a status line shows the context used (of 4096 tokens), reply tokens, tokens/s, response time (e.g. 4.6s (first token 328ms)), machine CPU and RAM, and the engine’s memory.

Slash commands

Type / to open a menu that narrows as you type.

Keys

Updating

An unknown command (manylayers frobnicate) is answered “unknown command — ManyLayers on this machine may be out of date”. Update by running the install command from Compute Nodes → Quickstart guide again; the node keeps its identity.