Local LLM
The plugin adds two chat agents that run a model on your computer. No text leaves the computer.
- llama.cpp (local model): Opfold runs the agent with the llama.cpp server. The model can read, search, and change the files of the vault, and it can run commands.
- Local model (Ollama): Ollama runs the model. The model has no tools.
llama.cpp
- Install llama.cpp, for example:
brew install llama.cpp
- Open Settings > Providers > llama.cpp.
- Under Install a model, type a Hugging Face repository with GGUF files and the quantization, for example
ggml-org/Qwen3-8B-GGUF:Q8_0. Then select Install. - Open a chat session in Opfold. Select llama.cpp (local model) in the picker and then the model.
Opfold keeps the model files in the folder .opfold/models of your home folder. The first chat turn starts the server and loads the model. The section Server of the provider shows the state of the server.
The permission mode of the chat sets the tools. In the mode Read only, the model only reads. In the mode Manual, the model asks before each change and each command.
Workflows and teams
A workflow step and a team member can also use a model of llama.cpp. The Opfold app starts the server and loads the model, so the run must start in the app.
- Workflow: select the agent llama-cpp and a model in the picker of the step. A workflow file can also name
agent: llama-cppand amodel. The step runs without a person, so the model changes files and runs commands without a question. - Team: select llama.cpp (local model) and a model for a member. A member that cannot write only reads. A member that can write changes files, but it cannot run a command. The member has no team tool, for example the whiteboard.
The server holds one model at a time. Two steps or members with different models load their models in turn, and each load takes time.
Ollama
- Install Ollama and load a model in a terminal, for example:
ollama pull llama3.2
- Open a chat session in Opfold.
- Select Local model (Ollama) in the picker and then the model.
The picker lists the models that ollama list shows.
Limits
- The model of Ollama has no tools. It reads no file of the vault and changes nothing. It answers only from the text of the chat.
- A small model of llama.cpp can call a wrong tool or stop too early. A model with tool support and 8 billion parameters or more gives better results.
- The speed depends on your computer and on the size of the model.
- A workflow or a team with a local model does not run from a terminal, because only the app starts the server.
When to use it
Use it for private text, for a fast draft, and for work without a network. Use llama.cpp when the local agent must read or change files.