AI setup.

anf's AI (summarize, ask, suggest names, auto-tag, organize, image search) is off by default. Turn it on and connect one model — Claude is the easiest and most capable.

Which one?

Three backends. Pick by where your data may go and what hardware you have.

ProviderWhere it runsWhat you need
Claude — recommendedCloud (Anthropic) · pay-per-useAPI key + billing
Local LLMYour Mac · freeOllama or LM Studio running
AppleYour Mac · freemacOS 26 + Apple Intelligence

"aiProvider": "auto" tries Claude (if a key is set) → a local server (if one is up) → Apple, in that order. Pin one explicitly with "claude", "local", or "apple".

1. Open the settings file

In anf press ⌘, or Tools menu → AI Provider…. Edit the JSON, then switch back to anf to apply.

Claude (recommended)

A 1M-token context handles whole documents and folders. It's cloud — content is sent to Anthropic.

  1. Create a key at console.anthropic.com → API Keys. It looks like sk-ant-api03-… (a sk-ant-oat… OAuth token won't work).
  2. Add a payment method / credits (Billing) so calls are allowed.
  3. Put this in the settings file:
"aiFeatures": true, "aiProvider": "auto", "aiApiKey": "sk-ant-api03-your-key"

Leave the model empty for the default claude-opus-4-8 (deepest), or set "aiModel": "claude-sonnet-4-6" for faster, cheaper replies. Billed per token by Anthropic — a summary is a fraction of a cent; whole-folder questions cost more.

Local LLM (Ollama · LM Studio)

Stays on your Mac. Works without Apple Intelligence.

  1. Start the local server — Ollama runs automatically (:11434); LM Studio: Developer → Start Server (:1234).
  2. Settings file:
"aiFeatures": true, "aiProvider": "local", "aiEndpoint": "http://localhost:11434/v1", "aiModel": "llama3.2"

LM Studio is http://localhost:1234/v1. aiModel is the loaded model's name (LM Studio can leave it blank). Good picks: llama3.2, qwen2.5, or an 8B-class model — bigger is smarter but slower; plain (non-reasoning) models feel snappiest.

Apple on-device

No bundle, no network. Needs a Mac with macOS 26 + Apple Intelligence.

"aiFeatures": true, "aiProvider": "apple"

Turn on Apple Intelligence in System Settings; the Siri language must match.

Settings reference

Every AI key lives in the same settings file (⌘,).

KeyValuesDefault
aiFeaturestrue / false — the master switchfalse
aiProviderauto · claude · local · appleauto
aiApiKeysk-ant-api03-… (Claude only)
aiModelany model name for the chosen providerclaude-opus-4-8
aiEndpointhttp://localhost:PORT/v1 (local only)

Cloud (Claude) sends content to Anthropic. Local and Apple never leave your Mac.

Troubleshooting

  • AI actions are greyed outaiFeatures isn't true, or you didn't switch back to anf to reload the settings file.
  • Claude: 401 / "invalid x-api-key" → you pasted an sk-ant-oat… OAuth token. Use an sk-ant-api03… API key.
  • Claude: "credit balance too low" → add a payment method or credits under Billing.
  • Local: "connection refused" → the server isn't running, or the port is wrong (Ollama 11434, LM Studio 1234). Check aiEndpoint.
  • Local: "model not found"aiModel must match a pulled/loaded model (ollama list).
  • Apple: unavailable → needs macOS 26 with Apple Intelligence on, and Siri's language must match your content.
  • Replies are slow → local reasoning models think a lot; pick a smaller plain model, or use Claude.

Still stuck? Open a GitHub Issue.

How to use it

  • ⌘K → / → ask the current folder right away
  • Right-click a file/folder → Summarize · Ask · Suggest Name · Tag
  • Right-click empty space / the Tools menu → folder summary, ask, organize

Image search, OCR, and tidy/organize-by-kind work without Apple Intelligence. Problems? Open a GitHub Issue.