Go to the content
DE Download
Pages of the documentation

Settings

Open the settings with the gear symbol at the lower end of the sidebar. The settings have five tabs.

General

Section Content
Language The language of the app texts: the language of the system, English, or German. A text without a translation shows in English.
Notifications, power, and limits The notices, the menu bar symbol, keep the computer awake, and continue a run after a usage limit. See Inbox and notices.
Vault layout The folder names of your vault, for example the folder of the projects and of the daily notes
Command line Installs the opfold command for a terminal
Local HTTP API An interface for your scripts on this computer. It is off until you turn it on.
Layouts Stores the widths and the open parts of the window as a preset

Keyboard shortcuts

The section Keyboard shortcuts lists the global shortcuts of the app. To change a shortcut:

  1. Select Record in the row of the command.
  2. Press the new keys. Escape stops the recording.

A shortcut needs ⌘, ⌃, or ⌥. When the keys belong to another command, the row names that command and the shortcut does not change. Reset sets the default key of one command again. Reset all sets each default key again. Opfold stores only the changed keys, on this computer.

Command Default key
Open the search ⌘K
Show or hide the sidebar ⌘B
Show or hide the file panel ⌘J
Show or hide the main area ⇧⌘M
Go back to the previous view ⌘[
Show the previous file ⌥⌫
Save the file ⌘S
Search in the file ⌘F
Move the selected entry of the file tree to the trash ⌘⌫
Save the quick note in the inbox ⌘↩
Start a session with the quick note ⇧⌘↩

A shortcut without ⌘ or ⌃ does not run in a text field, because there ⌥⌫ deletes a word. Ctrl+Tab also shows the file that was active before.

Providers

A provider is a company or a program that gives you models, for example Claude, Codex, or Gemini. This tab shows the providers that Opfold found and the models that you want to use.

The Gemini CLI has no effort level, and it reports no limits. The AI monitor shows its tokens of the last five hours and of the last seven days.

API key

By default, an agent CLI uses its own login, for example a subscription. To use an API key instead:

  1. Select the provider.
  2. Under API key, check the Environment variable. Opfold fills it for Claude (ANTHROPIC_API_KEY), Codex (CODEX_API_KEY), and Gemini (GEMINI_API_KEY).
  3. Paste the key, and select Save key.
  4. Turn on the switch Use the API key.

Opfold stores the key in the keychain of the system: the keychain of macOS, the secret service of Linux (secret-tool), or a file that DPAPI of Windows protects. No key goes into the vault, into a session, into a run folder, or into a log. The settings show only the last four characters.

With the switch on, each chat and each workflow step starts the CLI with the key in its variable. The API account of the key then pays, not the subscription. When the keychain has no key, the turn or the step stops with a message, so the CLI does not use its login by mistake. Remove key deletes the key and turns the switch off.

Install a local model

The provider Local model runs the models of Ollama on this computer. Its model list shows only the installed models. To add a model of the Ollama library:

  1. Select Local model.
  2. Type the name of the model under Install a model, for example inkling-2-mini:latest.
  3. Select Install.

Ollama downloads the model. The activity box at the bottom right shows the progress. A large model needs some minutes. After the download, Opfold detects the models again, and the model is in the model list. Select it as the default model of an agent, or in the agent menu of a chat.

Run a local model with llama.cpp

The provider llama.cpp runs a local model with the llama.cpp server. Opfold runs the agent, so the model can read, search, and change the files of the vault. It can also run commands. No text leaves the computer.

Install llama.cpp first, for example with brew install llama.cpp. Then install a model:

  1. Select llama.cpp.
  2. Under Install a model, type a Hugging Face repository with GGUF files. Type the quantization after a colon, for example ggml-org/Qwen3-8B-GGUF:Q8_0.
  3. Select Install.

Opfold downloads the GGUF file into the folder .opfold/models of your home folder. The activity box at the bottom right shows the progress. When a download stops, the next install of the same model continues it. Without a quantization, Opfold selects Q4_K_M, Q4_0, or Q8_0, in this order. Opfold can download only a public model with one GGUF file.

The section Server shows the state of the server, its address, and the model in its memory. The first chat turn of a llama.cpp model starts the server and loads the model. The activity box shows the start and the load. You can also start and stop the server in this section. The server listens only on this computer. Each request needs a key that Opfold makes at each start of the server.

The permission mode of the chat sets the tools of the model:

Mode The model
Read only Reads and searches files. It gets no tool that changes a file or runs a command.
Manual Asks before each change of a file and before each command.
Accept edits Changes files without a question, and asks before a command.
YOLO Does each action without a question.

The file tools work only inside the vault. A small model can call a wrong tool or stop too early. A model with tool support and 8 billion parameters or more gives better results.

To find a text, the model searches the files first. Then it reads only the lines that it needs. One read gives 400 lines, or at most 2000 lines. A small part of a file uses less of the context window. The model does not read files with a command.

A model with reasoning gets its earlier reasoning of the turn again with each request. So the model continues its plan after a tool result, and does not make a new plan. Opfold does not store the reasoning after the turn.

The agent menu of the chat sets the effort of a llama.cpp model. A lower effort gives a shorter reasoning, so the answer comes faster. Default uses the effort of the model. A model without an effort setting in its chat template ignores the effort.

A turn ends when the model answers without a tool call. Opfold stops the tool calls earlier in two cases:

  • The model sends the same tool call with the same input three times in a row.
  • The turn reaches the safety limit of 300 requests.

The answer then names the reason, and the model writes a summary of its work and of the next step. Send "continue" to let the model work on. Opfold stores the conversation of the model with each tool result in the folder .opfold/agent-sessions of your home folder. So the next message continues with the files that the model already read. The deletion of a session also deletes its stored conversation.

The llama.cpp server can load a model with a smaller context window than the model supports, so that the model fits into the free memory. The context ring shows the window of the loaded model. When a request comes to 75 % of that window, Opfold asks the model for a summary of its work. The summary keeps the task, the files with their facts, the changes, and the next steps. The summary replaces the earlier messages of the conversation, so the model does not read the same files again. When the model gives no summary, Opfold shortens the oldest tool results to one line each. The six newest tool results stay in full. When the window is full anyway, the turn ends with a message that names the full window. Continue in a new session then. The loop button next to the context ring does this step automatically. See Continue automatically.

Add another agent CLI

Opfold reads four output formats: claude, codex, gemini, and text. Each CLI that writes one of these formats can be an agent, also a CLI that no plugin knows. Add the CLI to the file .opfold/agents.json of the vault:

{
  "agents": [
    { "id": "my-agent", "name": "My agent", "runtime": "gemini", "binary": "my-agent-cli" }
  ]
}
Key Meaning
runtime The output format of the CLI
binary The command of the CLI on your computer
extraArgs More arguments for the CLI. For the format text, {{model}} in an argument is the selected model.
modelListArgs The arguments that make the CLI list its models, for example ["list"]

The format text sends the prompt to the input of the CLI and shows each line of its output as the answer.

Agents

An agent is a provider with a model, an effort, and an optional persona. A session and a workflow step select an agent from this list. The button next to the provider of an agent — in the agent form and in the agent list — opens the Providers tab on that provider.

Use Chrome by default turns Claude in Chrome on for each Claude Code chat on this computer. A chat can change it in its agent menu. See Claude in Chrome.

Skills

The skills of your vault and the shared skills. Each skill is a folder with a file SKILL.md. A vault skill can extend a shared skill. See Skills.

Teams

The folder of the teams for all projects, and the guide for the whiteboard of the teams. See Teams.

Theme

The three symbols at the lower end of the sidebar change between the theme of the system, the light theme, and the dark theme. The theme of the system follows each change of the system at once, for example the dark mode in the evening.

Where the settings are stored

The settings of a vault are in .opfold/config.json in the vault. The settings of the app, such as the notices and the theme, are in the folder .opfold of your home folder.

Translations

The German texts of the app are in the file packages/desktop/locales/de.po of the repository. The file has the gettext PO format, so each PO editor can open it. Run npm run i18n:extract in packages/desktop after a change of a text in the code. The script adds each new text with an empty translation and keeps each existing translation.