Skip to main content

Overview

profClaw supports local LLM inference through Ollama and LM Studio. Run AI agents entirely on your own hardware with no API keys or cloud dependencies.

Ollama Setup

1

Install Ollama

2

Pull a Model

3

Configure profClaw

Or in settings.yml:
4

Start and Test

LM Studio Setup

1

Install LM Studio

Download from lmstudio.ai. Available for macOS, Windows, and Linux.
2

Download a Model

Open LM Studio, browse the model catalog, and download a model (e.g., Llama 3.2, Mistral, Phi-3).
3

Start the Server

In LM Studio, go to the Local Server tab and click Start Server. Default port is 1234.
4

Configure profClaw

Hybrid Setup

Use local models for simple tasks and cloud providers for complex ones:
Switch providers per conversation:

Docker with Ollama

Run both profClaw and Ollama in Docker:

Performance Tips

Ollama automatically uses GPU if available. Check with ollama list - GPU-accelerated models show higher tokens/sec.
Local models have smaller context windows than cloud models. Set POOL_TIMEOUT_MS higher for larger contexts.
Use quantized models (Q4_K_M, Q5_K_M) for better speed with minimal quality loss: