Ollama Integration
Wolffish has complete, first-class integration with Ollama — an open-source local model runtime that lets you run LLMs entirely on your hardware. No API keys, no cloud dependency, no data leaving your machine.Why Ollama?
The deep goal of Wolffish is to run completely local with zero exposure to the internet. Every piece of data — memory, conversations, skills, task logs — already lives on your machine. The only component that traditionally requires the cloud is the LLM itself. Ollama closes that gap. For power users with capable hardware, this means:- Total privacy — Your prompts, responses, and tool outputs never leave your machine
- Zero recurring cost — No API bills, no token counting, no rate limits
- Offline capability — Full agentic workflows on an airplane, in a bunker, or behind an air-gapped network
- No vendor dependency — Your agent works regardless of API outages, pricing changes, or service discontinuation
How It Works
Wolffish communicates with Ollama via its local HTTP API:- Detect Ollama automatically on first launch (or later in Settings)
- Browse available models on your machine
- Pull new models directly from the Wolffish UI — no terminal needed
- Stream responses using NDJSON streaming
- Call tools via structured JSON in the model’s response
Setting Up Ollama
1
Install Ollama
Download from ollama.com and install. On macOS it’s a single
.dmg, on Linux a one-line curl command, on Windows a standard installer.2
Pull a model
Either use the terminal (
ollama pull qwen3:14b) or let Wolffish pull it for you from Settings → Models → Ollama.3
Select in Wolffish
Open the model card beside the chat input, flip it to Local, and pick your model. That’s it — you’re running local. (Settings → Models → Ollama still works, and is where the pull UI lives.)
Ollama is optional. You can skip it entirely during onboarding and use only cloud providers (Claude, OpenAI). Wolffish will prompt you to configure at least one provider before you can start chatting.
Model Requirements for Agentic Tasks
Not all local models are equal. Wolffish’s agentic capabilities — tool calling, multi-step reasoning, code execution, file manipulation — place specific demands on the model. Here’s what you need to know:The Parameter Threshold
The minimum for reliable agentic tool use is ~14B parameters, but even then, complex multi-step workflows (research → write → format → post) will hit failure modes. For truly autonomous execution — where the agent chains 10+ tool calls without human intervention — you need 32B+ parameters at minimum, and 70B+ for production-level reliability.
Why Small Models Fail at Agentic Tasks
Tool calling requires the model to:- Understand the instruction — Parse what the user wants accomplished
- Plan the sequence — Decide which tools to call, in what order
- Format tool calls correctly — Output valid JSON with correct parameter names and types
- Interpret tool results — Read the output and decide the next action
- Maintain context across turns — Remember what it’s already done across a multi-step chain
- Handle errors gracefully — Retry, adjust, or ask for help when a tool fails
Recommended Models by Hardware
The Honest Truth
If you have a standard laptop with 8–16GB RAM, local models will handle conversations, summarization, and simple Q&A well. But for the kind of autonomous multi-step workflows Wolffish excels at — researching topics, writing reports, managing files, executing shell commands in sequence — you’ll get dramatically better results with a cloud provider like Claude or GPT-4. The sweet spot for local-only agentic use:- Mac Studio / Mac Pro with 64GB+ unified memory — Run 70B models at acceptable speed
- Desktop with 24GB+ VRAM GPU — Full-speed 70B inference via CUDA
- High-end workstation with 128GB RAM — Run quantized 100B+ models
One Unified Path
Local models are not second-class citizens. A local model runs through exactly the same pipeline as a cloud model:- Same lean context — the same ~5k-token system prompt, capability index, and memory map that a cloud model gets. Nothing is stripped because the model runs on your hardware.
- Same core toolset — the full always-loaded core tools, plus tool discovery for everything else (
tool_searchworks identically on local models). - Same memory — full access to search, recall, conversation history, and knowledge saving.
Earlier versions had per-local-model context toggles (“stateless” and “restricted” local modes). Those are gone — there is one path now, and stale keys are stripped from existing configs on launch.
Small context windows
Models with small context windows automatically get a slimmed bootstrap toolset — retrieval, discovery, files, and shell — so the prompt and tool schemas don’t pin the window before the conversation starts. This is keyed on the measured context budget, never on provider identity: a small-window cloud model triggers it identically, and a local 128K-context model gets the full core set.Hardware protection
The Restrict powerful local models toggle (Settings → Wolffish, on by default) blocks the model picker from installing local models whose memory footprint exceeds what your system can handle comfortably (~55% of total RAM). This is an installation gate, not a context restriction — it exists to prevent swap thrashing, and you can turn it off to install anything regardless of hardware limits (not recommended).Reasoning modes
The brain icon next to the message box controls whether this model reasons. Click it to toggle reasoning on or off for models that support it.Thinking — whether the model reasons
- Off — the model answers immediately. Fastest; ideal for simple, direct tasks.
- On — the model first works through the problem in a dedicated reasoning pass before replying. Slower and uses more tokens, but markedly more accurate on multi-step, logical, or ambiguous tasks.
Button states
Each model shows only the states it genuinely supports. If a model can’t reason, the button locks where there’s nothing to change. Wolffish remembers your choice per model.
On Ollama: Reasoning is detected per pulled model from Ollama’s capabilities — models that advertise a thinking capability (e.g. qwen3, deepseek-r1, gpt-oss) reason, others don’t. It’s a simple on/off with no effort tiers, and no API key or cost since it runs locally.
Local-Only Mode
Wolffish includes a “Local Only” toggle that restricts all inference to Ollama — no data ever touches a cloud API, no matter which Brain model is selected. Enable it in the chat sidebar when you need absolute privacy for a sensitive task. In local-only mode:- Inference is forced to the local Ollama model regardless of which Brain you’ve selected
- No network requests are made for LLM inference
- Memory consolidation uses the local model
- All other features (memory, tools, capabilities) work normally
Limitations
- Speed — Local inference is slower than cloud APIs, especially on CPU-only machines. Expect 5–30 tokens/second depending on model size and hardware, versus 80–150 tokens/second from cloud providers.
- Context window — Most local models support 4K–32K context. Cloud models offer 128K–200K. Wolffish automatically slims the toolset for small windows (see above), but long conversations or large documents may still exceed local model limits.
- Tool-call formatting — Smaller models sometimes output malformed tool calls. Wolffish has retry logic, but repeated failures will end the turn.
- Computer-use — Screen interaction depends on vision capabilities that most local models lack. The capability isn’t withheld — a vision-capable local model can use it — but expect poor results below the frontier.