pool connects to it from your project directory. Your code and model traffic stay on the machine where you run the local model server.
Local Poolside model setup on NVIDIA DGX Spark
Choose a model
How it works
A local Poolside agent uses four pieces:- A Laguna model: The open-weight model that fits your hardware.
- Ollama: The local runtime. Ollama pulls the model and serves it through an OpenAI-compatible endpoint on your machine.
- Poolside Agent CLI: The terminal-based coding agent. Use the
poolcommand to work with the local model from your project directory. - ACP editors: Editors compatible with the Agent Client Protocol (ACP), such as JetBrains and Zed, can use the same local agent through ACP.
Prerequisites
Before you install the local agent, check that your machine has enough memory, GPU support, and disk space for the model you want to run.Hardware
- Laguna S
- Laguna XS
Laguna S 2.1 can run locally on the following hardware:
Use hardware that meets these minimums:
- 128 GB of unified or system memory. The default
q4_k_mweights are 75 GB, and the weights and KV cache share the same memory pool. - Enough free disk space for the selected model tag plus 8 GB on the Ollama models volume.
Memory and context
- Laguna S
- Laguna XS
Model weights and KV cache share memory while the model runs. On a 128 GB box the 75 GB of weights leave limited room, so start with a modest context and raise it as memory allows.
Step 1: Install Ollama
Install Ollama:Step 2: Choose and pull a model tag
- Laguna S
- Laguna XS
The default Ollama tag is
laguna-s-2.1:latest, which uses the same model blob as laguna-s-2.1:q4_k_m. Use a higher-precision tag when you have enough memory.Pull the tag you want to run. For example, to pull the default tag, run:
The first load reads 75 GB or more off disk, which can exceed Ollama’s default five-minute model-load timeout. If the first run times out, set
OLLAMA_LOAD_TIMEOUT=20m.Step 3: Test the model in Ollama
You can chat with the model directly through Ollama to confirm it works. Use the same tag you pulled in the previous step:- Laguna S
- Laguna XS
Step 4: Install Poolside Agent CLI
Install Poolside Agent CLI sopool can connect to the model that Ollama serves locally:
Step 5: Launch pool against the local model
Go to the project directory you want to work in, then point pool at the model Ollama serves on your machine. Use the same tag you used in step 2.
- Laguna S
- Laguna XS
pool starts an agent session and responds to the prompt.
Optional: Work in your editor
Becausepool supports ACP, you can connect the same local agent to any ACP-compatible editor instead of working from the terminal:
Next steps
Learn what you can do with pool
Keep working in the terminal with interactive sessions, automation, and other Poolside Agent CLI workflows.
Configure your agent
Shape agent behavior and control what it can do.
Related resources
- Ollama’s integration docs for pool
- Serve Laguna models with vLLM
- Download the Laguna S 2.1 model weights
- Download the Laguna XS.2 model weights
- Read how Poolside trained Laguna XS.2 in A Deeper Dive
- Join the Poolside Discord to give feedback, ask questions, and share what you build