Skip to content

Setup & Models

The AI Agent needs an AI provider to talk to. Settings → AI Agent has a Model Provider toggle: Anthropic (Claude models, the default) or OpenAI-compatible, which covers Ollama, OpenAI, OpenRouter, or any other endpoint that speaks the OpenAI API. Pick whichever fits your needs, cost, and data-privacy requirements. You can switch providers at any time — your conversation history stays intact.

  1. Go to console.anthropic.com and create an account (or sign in).

  2. Navigate to API Keys and click Create Key.

  3. Give the key a name (e.g. s7-plc-buddy) and copy it — you won’t be able to see it again.

  4. Add a payment method under Billing if you haven’t already. Anthropic uses pay-as-you-go pricing; typical usage in S7 PLC Buddy costs a few cents per session.

  1. Open Settings → AI Agent.

  2. Make sure Anthropic is selected in the Model Provider toggle.

  3. Paste your API key into the API Key field and click Save. The key is encrypted and stored locally using the Windows Data Protection API (DPAPI), and is never logged or transmitted to S7 PLC Buddy’s servers.

Model Best for Extended thinking
Claude Opus 5 (recommended) Complex reasoning, multi-step diagnostics, code explanation Yes
Claude Sonnet 5 (default) Faster responses, everyday questions, lower cost Yes
Claude Haiku 4.5 Quickest and cheapest, simple lookups No

A Custom… option in the model dropdown lets you enter any other model ID directly, in case a newer model isn’t listed yet. See the in-app Model list & pricing link for Anthropic’s current lineup.

The AI Agent can read and write files in a workspace folder on your PC — useful for saving SCL migration output, exported reports, or reference documents the agent can consult. This works the same way regardless of which AI provider you choose.

Set the workspace folder in Settings → AI Agent → Workspace. The default is ~/Documents/S7 PLC Buddy.

The agent can:

  • Read files you place in the workspace (e.g. datasheet PDFs, SCL source files)
  • Write output files (migration results, structured summaries)
  • List what’s in the folder