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
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
Recommended Models
Hybrid Setup
Use local models for simple tasks and cloud providers for complex ones:Docker with Ollama
Run both profClaw and Ollama in Docker:Performance Tips
GPU Acceleration
GPU Acceleration
Ollama automatically uses GPU if available. Check with
ollama list - GPU-accelerated models show higher tokens/sec.Context Length
Context Length
Local models have smaller context windows than cloud models. Set
POOL_TIMEOUT_MS higher for larger contexts.Quantization
Quantization
Use quantized models (Q4_K_M, Q5_K_M) for better speed with minimal quality loss: