CLI
Ollama
Run memcode against models served locally by Ollama.
Ollama serves models on your own machine with an OpenAI-compatible API, so memcode can use it. Nothing leaves your machine and no key is needed.
Before you start
Install and start Ollama, then pull a model:
ollama pull qwen2.5-coderConnect
Point memcode at Ollama and name a model:
memcode ollama qwen2.5-coderThat saves the setting, so later runs just work. Leave the model off to pick one
in a session with /model. For a host other than the default, pass --url:
memcode ollama --url http://192.168.1.10:11434 qwen2.5-coderNotes
A local model won't match a frontier model on hard tasks, so pick a capable coding model and keep tasks focused.