Skip to main content
This guide uses an experimental NVFP4 MLX build of Laguna XS 2.1 that Poolside provides for evaluation. Poolside has not validated this checkpoint for output quality or correctness, and it is not an official model release. Do not use it for production workloads. For supported checkpoints, see the Laguna XS 2.1 model card.
Use vLLM Metal to serve Laguna XS 2.1 through an OpenAI-compatible endpoint on your Mac, then connect Poolside Agent CLI to the local model. For the supported Ollama setup on Apple silicon and NVIDIA systems, see How to run a Poolside model locally with Ollama. vLLM Metal is a community-maintained vLLM hardware plugin that uses MLX to run models on Apple silicon.

Prerequisites

  • A Mac with Apple silicon and 36 GB of unified memory or more. Rosetta and x86_64 Python are not supported.
  • Enough free disk space for the approximately 22 GB checkpoint, vLLM Metal, and local caches.
  • An internet connection for the installer and initial checkpoint download.

Steps

  1. If Poolside Agent CLI is not installed, install it:
    Verify the installation:
    The command prints the installed version. For installation details, see Install Poolside Agent CLI.
  2. Install vLLM Metal:
    The installer creates a native arm64 Python 3.12 environment at ~/.venv-vllm-metal and installs vLLM, vLLM Metal, and their dependencies.
  3. Activate the environment and start the local model server:
    Keep this terminal open while you use the model. The first start downloads the checkpoint and can take several minutes, depending on your connection.
  4. In a different terminal, open the project where you want to work and connect pool to the local server:
    The local server does not validate the example API key, but pool requires a non-empty value.
  5. Send a prompt:
    The setup works when the agent responds using the laguna model served from localhost:8888.

Adjust the context length

Model weights and the KV cache share unified memory. If the server runs out of memory, reduce --max-model-len when you restart it. When you reconnect, pool reads the updated context length from the server and adjusts its automatic compaction threshold. The checkpoint supports up to 256K tokens, but the available context depends on your Mac’s unified memory and other running applications.