Skip to main content

What Variables Are

Variables are named values that Wolffish stores in config.json under the variables array. They hold API keys, tokens, and secrets that capabilities need at runtime. Configure them in Settings > Variables.

Structure

Each variable has three fields:

Sensitive Flag

When sensitive is true, the variable’s value is displayed as •••••• in the Settings UI. This is a UI-only convenience — it does not mask or exclude the value from the agent.
Mark any credential, token, or API key as sensitive so it’s hidden in the UI. Non-sensitive variables are for non-secret configuration like branch names, project IDs, or environment labels.

How the Agent Uses Variables

Every variable — including ones marked sensitive — appears in plaintext in the system prompt inside a <variables> block on every turn:
The (sensitive) label is a hint to the agent not to echo the value back — it does not hide or redact the actual value. This is by design: Variables are the mechanism for giving the LLM credentials it needs to use directly (e.g. passing an API key as a shell command argument). The agent uses them automatically. If a task needs an API key and a matching variable exists, it uses it without asking.
If you store a secret as a Variable, the LLM sees it in plaintext. This is intentional — the agent needs the value to act on it. Use Variables for credentials the agent needs to reference directly. For credentials that plugins handle themselves (Google OAuth, Notion token, etc.), use the integration-specific settings pages instead — those are never sent to the LLM.
Values are stored in plain text in config.json. Wolffish is local-first and your workspace is yours. If you version-control your workspace, add config.json to .gitignore.

Variables vs Environment Variables

Variables are not system environment variables. They differ in important ways:
If you need a value available to both Wolffish and other tools on your system, set it as both a Wolffish variable and a system env var. They don’t conflict.

Common Variables

Adding a Variable

  1. Open Settings > Variables
  2. Click Add Variable
  3. Enter the name, value, and toggle sensitive if needed
  4. Click Save