Local models

From docs/local-models.md in pulse-agent 0.11.0, sha-256 a868f0e37c53

pulse-agent talks to any server that speaks the OpenAI chat-completions format with tool calls. Run one on your own machine and nothing leaves it.

Ollama

ollama serve
ollama pull <a model that supports tool calls>
cd your-project && pulse-agent init

init finds Ollama at http://127.0.0.1:11434/v1.

LM Studio, llama.cpp, MLX, vLLM

Start the server's OpenAI-compatible endpoint. init checks these addresses:

ServerAddress it checks
Ollamahttp://127.0.0.1:11434/v1
LM Studiohttp://127.0.0.1:1234/v1
llama.cpp or an MLX serverhttp://127.0.0.1:8080/v1
vLLMhttp://127.0.0.1:8000/v1

A server on another port:

pulse-agent init --base-url http://127.0.0.1:9000/v1

Which model

The one requirement is that the model emits tool calls. init tests this for real: it offers the model one tool and asks it to call it.

Passing that probe does not show that a model can finish a task. In our own runs on 17 November 2026, Qwen2.5 1.5B (4-bit, on an MLX server) passed the probe. Given a one-line bug to fix, it answered in prose, never edited the file, and failed its check. Llama 3.3 70B on a hosted endpoint fixed the same bug in five steps. If a small model keeps failing checks, use a larger one.

Name a model yourself with pulse-agent init --model <name>. If it does not call the tool, init says so and saves nothing.

A hosted endpoint

export PULSE_AGENT_API_KEY=...
pulse-agent init --base-url https://your-endpoint/v1 --model <name>

The task, the files the agent reads and the tool results are then sent to that endpoint.