title: Desktop App description: Install Spring AI Playground from the desktop installer - platform install notes, configuration walkthrough, MCP tools curation, and environment secrets.
The desktop installer is the recommended default. It wraps the Electron launcher, the JVM, and the Spring Boot fat JAR into a single platform installer (DMG / EXE / DEB / RPM) - no separate Java toolchain, no manual Docker setup. Compared with Docker or From Source, the desktop path adds a built-in configuration editor with provider starter templates, OS-encrypted secret storage for API keys, and an Ollama model manager.
For Docker or source / fat-JAR runs instead of the desktop installer, see Alternative Runtimes. For universal post-install steps (Your First Five Tasks, model configuration, telemetry), see Getting Started.
Pick your installer from the Home page. Each badge resolves to the latest published release automatically and opens a confirm dialog with filename, size, and the typical OS save path. If you prefer the raw asset list, browse the Releases page directly.
The desktop package wraps the launcher and the backend runtime together, so this is the simplest way to get started without manually running Docker or Maven.
Want to confirm the file you downloaded is genuine? See Verify Your Download on the hub page.
If you install from a DMG, drag the app into Applications before launching it. Do not run it directly from the mounted DMG, and eject the DMG after copying.
Gatekeeper may block the install flow in two places:
When you open the downloaded DMG, macOS may show a warning such as “cannot be opened because the developer cannot be verified.”
If you trust the release source:
After copying Spring AI Playground.app into /Applications, macOS may block the first app launch again.
If that happens:
If the app still doesn’t open because it remains quarantined, and you trust the app, one practical workaround is:
xattr -dr com.apple.quarantine "/Applications/Spring AI Playground.app"
The most common warning appears when you run the downloaded installer (.exe).
If Microsoft Defender SmartScreen shows a warning such as “Windows protected your PC” or says the app is unrecognized:
In most cases, the installer is the main warning point. Repeated blocking after installation is less common than on macOS.
Separate Gatekeeper- or SmartScreen-style reputation warnings are uncommon.
Install the package using the format that matches your distribution:
.deb for Debian or Ubuntu-based systems.rpm for Fedora, RHEL, Rocky Linux, AlmaLinux, openSUSE, and similar RPM-based systemsYou usually only need to complete the normal package-install confirmation steps, which may include an administrator password.
The desktop launcher includes a built-in configuration editor. In practical terms, that means:
The launcher does not expose the entire built-in config directly. Instead, the editor shows only the override YAML for the selected setting, and at launch that override is merged on top of the bundled default configuration.
That behavior is reflected in the desktop UI:
Ollama, OpenAI, OpenAI-CompatibleSave AsSave and LaunchThis makes it much easier to keep multiple clean launch profiles without hand-managing full runtime configuration files.
Preset selection for the built-in MCP server happens inside the configuration editor, on the Default MCP Tools card (step 8 of the walkthrough below). The first launch opens Configure Spring AI Playground; pick a preset before clicking Save and Launch and that choice is written to <home>/spring-ai-playground/tool/save/default-tools-preference.json. Without an explicit pick the app falls back to Starter 5 - the cross-locale defaults that need no API keys.
The card writes default-tools-preference.json; the same preference can also be pinned via CLI / yaml. The app reads it at startup to decide which built-in tools are Local-Passed (active). Tool Studio’s Built-in MCP Server Native Tools drawer is a separate concern - it picks which Local-Passed tools the built-in MCP server exposes, not which are active.
The five presets:
Starter 5 (default, no API keys) - getCurrentTime, getWeather, searchWikipedia, extractPageContent, evalExpression.Dev Essentials - local dev utilities (uuid, hash, base64, jwtDecode, regexExtract) plus getCurrentTime and evalExpression.Korea Toolkit (free) - free Korean services (Upbit, Bithumb, iTunes K-pop, K-beauty search) plus getCurrentTime and evalExpression.File Toolkit - filesystem pipeline (readTextFile, listDir, grepFile, findFiles, sliceFile, sortFile, cutFileFields) plus getCurrentTime and evalExpression. Set TOOL_STUDIO_FS_BASE to pin a custom workspace root.Everything - exposes every default tool. Heavy MCP catalog.The non-Starter presets each carry only getCurrentTime and evalExpression from Starter 5 by design - they do not stack on top of it.
Advanced curation stays folded by default in the editor - you click Show to open it. The details below mirror that folded section:
??? note “Show details”
Clicking **Advanced curation → Show** expands an Include / Exclude pair: add tools by tag, by category, or by name; remove tools by tag or by name. The chip pickers populate from the live catalog when the section opens (a brief flash of `Loading...` is normal - that's the IPC fetch).

*The same card with `Advanced curation` expanded - Include (`+`) on the left adds tools matching any rule; Exclude (`-`) on the right removes them. Rules layer in this order: name-add → tag-add → category-add → name-remove → tag-remove → category-remove.*
For the full preset contents, the CLI override, and the migration note from the prior defaultToolOverrides.json, see Tool Studio → Pre-built Example Tools.
The launcher’s Configure Spring AI Playground screen opens on the very first launch and any later launch where you re-enter configuration mode. Once you have saved a configuration and chosen a preset, subsequent launches reuse them automatically and skip straight to the app.
The first card is Current Config and Setup Notes. It explains the active setting before you edit the YAML below.

Selected Config: the active saved setting nameBase Setup: the launcher hides bundled defaults and only lets you edit overridesHow It Runs: the selected YAML is applied on top of the built-in default configuration at launchIf the selected setting includes an embedding model, the launcher also shows an Embedding model warning. That warning matters because changing the embedding model after documents were already indexed can leave existing vector data inconsistent until you re-import or rebuild the vector database.
The main editor card is Spring AI Playground Config.

Within that card, Config Type chooses the backend family for the current setting:
OllamaOpenAIOpenAI-CompatibleThis selector changes the kind of starter setting you are working with. It does not expose the full bundled configuration. It switches the saved-setting list and the override YAML editor to the selected backend family.
Setting Name selects a saved launcher profile for the chosen config type.

In the current desktop build:
Ollama starts with the built-in Ollama settingOpenAI starts with the built-in OpenAI settingOpenAI-Compatible starts with built-in compatible profiles such as OpenAI Compatible - Ollama, OpenAI Compatible - llama.cpp, OpenAI Compatible - TabbyAPI, OpenAI Compatible - LM Studio, and OpenAI Compatible - vLLMOpenAI-Compatible is intended for servers that expose an OpenAI-style API but are not the official OpenAI endpoint. For the base URL and YAML each compatible runtime expects (LM Studio, vLLM, llama.cpp, TabbyAPI), see External Connections → OpenAI-compatible servers.
You manage settings without ever editing the bundled base configuration. Two buttons sit on the Spring AI Playground Config card itself (next to the Save As field, shown in the screenshot in step 2):
Save As - creates a new saved setting from the current YAML and launcher state; type a name in the field firstDelete - removes the currently selected saved settingEvery other action lives in the action bar pinned to the bottom of the screen, which stays visible no matter which cards are expanded. The numbered markers on the screenshot match the list below:

Config export intentionally leaves out local environment-variable values for safety.
The YAML editor is intentionally scoped to override content, not the full base file. At launch, the selected YAML is merged on top of the bundled default configuration.
That design keeps the common configuration flow simpler:
For every property the bundled configuration supports and its default value, see the Configuration reference.
When Config Type is set to Ollama, the launcher shows an additional Ollama Startup section.

That section shows:
The action area also includes:
Check ConnectionOpen Ollama Download PageDownload and Manage Ollama Models: opens the separate Download and Manage Ollama Models guide belowDo not check Ollama at startupThis section is currently shown for the Ollama config type. Even if an OpenAI-Compatible profile still uses Ollama for embeddings, the dedicated Ollama startup card is not shown automatically in this first-page flow.
On Apple Silicon the model names shown here are the MLX-optimized builds (for example qwen3.5:4b-mlx); see Apple Silicon and MLX models for why.
The Download and Manage Ollama Models button on the Ollama Startup card above opens a separate model-manager window. This is where you pull the chat and embedding models your setting needs before you launch. The window starts with profile context at the top: the selected config name, Ollama install status, endpoint, and current connection state.

The Download by model name field takes an exact Ollama model identifier (model or model:tag) and queues a download. The reliable way to get that identifier right is to copy it straight from the model’s tag list on ollama.com.
Find on Ollama opens the Ollama model search in your browser, pre-filled with whatever you typed. Open the model you want - for example qwen3.6 - then open its Tags list. Every variant is listed there, and hovering a row reveals a copy button at the end of it. For an Apple-Silicon build, hover the -mlx tag you want (for example qwen3.6:27b-mlx) and click its copy button (marker 1):

Then it is just copy and paste:
Download by model name - keep only the model identifier (for example qwen3.6:27b-mlx)Queue download - to add it to the queueQueuing only pulls the model into Ollama; it does not change the current YAML profile by itself. To make a downloaded model the default, set it in the config YAML (step 2 of the walkthrough).
The default Recommended tab lists the embedding model configured for the current profile first, then the chat models from the active YAML profile:

Each row shows whether the model is already downloaded, badges such as Embedding, Chat, Default embedding, and Current chat model, and a per-model download button that queues that model when it is not yet available locally.
The Downloaded tab focuses on models that already exist in the local Ollama store, grouped by type:

Copy model as... duplicates a model under a new Ollama nameDelete model removes the selected model from the local Ollama storeAnything you queue - from Download by model name, the Recommended tab, or a per-model download button - lands in the Download Tasks panel at the top of the manager. Downloads run one at a time.

Each task shows a live progress bar, the downloaded / total size, and a status badge (Queued, Preparing, Downloading, Completed, Canceled, or Failed). While a task is still Queued, Preparing, or Downloading, the Cancel (x) button stops it; a Failed task shows a Retry button instead. Canceling the running download lets the next queued model start.
The next card down the screen is Default MCP Tools. It chooses which preset of built-in tools the MCP server exposes the moment it boots.

Pick a preset - the default Starter 5 needs no API keys. The full per-preset tool lists, the include / exclude Advanced curation rules, and the CLI / YAML equivalents are all covered in Default MCP Tools Curation above; the tools themselves live in Tool Studio.
When the selected setting or bundled tools need secrets, the launcher shows an Environment Variables section. This is where you keep API keys and tool secrets out of YAML. For the full list of configuration knobs (beyond secrets) and how each maps to a property or env var, see the Configuration reference.

Typical entries include:
OPENAI_API_KEYGOOGLE_API_KEYGOOGLE_PSE_IDSLACK_WEBHOOK_URLAdd Environment VariableThe launcher behavior is important here:
The card also shows the current secret-storage mode:
safeStorage API is using the platform secure store under the hood: macOS Keychain, Windows DPAPI (current-user scope), or libsecret / GNOME Keyring / KWallet on Linux. The launcher writes the ciphertext to <userData>/spring-ai-playground/config/secrets.store on disk; the decryption key never leaves the OS keychain.The launcher’s secret workflow is the same in both modes:
configId keyed)secrets.json.enc from older versions is auto-renamed to secrets.store on first readchmod 600) so other accounts on the machine cannot read itThis is why the env-var pathway is the recommended place for OPENAI_API_KEY, SLACK_WEBHOOK_URL, GOOGLE_API_KEY, and any other tool-side secret - the value reaches Tool Studio and the bundled tools through System.getenv() rather than through a config file checked into git.
The resolved value is also masked from console.log output in Tool Studio’s Debug Console and in Agentic Chat’s tool-call trace - any tool that references the env var as a static variable (or builds a string containing its resolved value) sees the secret substring replaced before the line surfaces in the UI. See Tool Studio → Built-in JavaScript Helpers - console.log for the masking rule details (anchored full-string env-refs are auto-collected; substring-concatenated values are masked best-effort).
For the current desktop behavior:
OpenAI requires OPENAI_API_KEY before launchOpenAI-Compatible can show an API key field, but it is only needed when that compatible server expects oneOllama usually does not require an API key for the backend itself, but optional tool integrations may still use environment variablesThe JVM Settings card stays folded by default in the editor - you click Show to open it - because most launches do not need it. The details below mirror that folded card:
??? note “Show details”
The desktop editor includes a **JVM Settings** section for launch-time runtime options.

The expanded section has two fields:
- **JVM Options** - flags passed to the Java process, such as `-Xmx2g` to raise the heap limit
- **Application Args** - Spring Boot arguments appended to the launch, such as `--logging.level.root=INFO`
These are launch-time settings, not provider secrets. The action row beneath every card - `Export`, `Import`, `Factory Reset`, `Save`, and `Save and Launch` - stays visible regardless of which sections are expanded.
For a clean first launch:
Ollama, OpenAI, or OpenAI-CompatibleOllama, make sure Ollama is installed, running, and has the models you selectedSave and LaunchAfter you click Save and Launch, the launcher opens a separate startup window while Spring AI Playground boots in the background.

That startup window has four read-only fields:
Current Config - the saved setting being launchedConfig File - the resolved YAML file path used for this launchFinal Launch Command - the full Java command the launcher built for Spring AI PlaygroundLaunch Log - live startup output: Ollama checks, config resolution, server readiness messages, and (on Apple Silicon) the MLX upgrade lineThe numbered markers on the screenshot point to the controls along the action row:
QuitIf startup takes longer than expected, the launcher stays open and keeps streaming logs instead of failing immediately. This is especially helpful when local models are still warming up or downloads are still completing.
On Apple Silicon Macs, the launcher automatically prefers Apple’s MLX-optimized Ollama model builds, which run significantly faster than the generic builds on M-series hardware. You do not need to enable anything - the launcher handles it whenever the config type is Ollama and it detects an arm64 machine.
-mlx model variants: the default chat model is qwen3.5:4b-mlx, and the spring.ai.playground.chat.models list is the -mlx build of each suggested model (qwen3.5:2b-mlx, qwen3.5:9b-mlx, gemma4:e4b-mlx, and so on). The Ollama Startup card and the Ollama model manager then surface those -mlx builds.Launch-time upgrade. When you click Save and Launch, the launcher looks at the configured chat model. If a matching -mlx build is already installed in Ollama, it transparently upgrades the launch to that build and records it in the Launch Log:
Apple Silicon: upgraded chat model qwen3.5:4b to MLX build qwen3.5:4b-mlx for launch.
Only plain -mlx builds are auto-selected; -mlx-bf16 variants are left untouched. If the -mlx build is not installed locally, the configured model launches unchanged.
Because the launcher owns this decision, it passes --spring.ai.playground.ollama.mlx-auto-select=false to the JVM so the backend does not resolve the model a second time. On Intel Macs, Windows, and Linux the configured model name is used as-is.
To install the -mlx builds, open Download and Manage Ollama Models; the Recommended tab lists the -mlx models for the active profile.
The desktop app can transcribe voice input for Agentic Chat on-device - it runs a local Whisper model on your machine, set up here in the config editor, so audio never leaves your machine. This is a desktop-only capability; in a browser the chat mic falls back to the cloud-backed Web Speech API instead.
Speech-to-text is off by default, and the model is not bundled with the app - you opt in and download a model once from the config editor’s Local Speech-to-Text card:

Pick a model. Larger models are more accurate but use more disk and memory:
| Model | Download | Notes |
|---|---|---|
tiny |
~74 MB | English only in practice, short utterances |
base / small |
~141 / ~465 MB | multilingual, basic to fair |
medium-q5 |
~514 MB | multilingual, good |
large-v3-turbo-q5 |
~547 MB | recommended - multilingual, best speed/quality balance |
large-v3 |
~2.9 GB | most accurate, slowest |
~/.spring-ai-playground/whisper/.The card also offers Refresh (re-check installed models), Set active (switch to an already-downloaded model), and Open folder (reveal the Whisper directory). A model uses extra memory only while it is transcribing, so the runtime memory cost scales with the model you choose.
Voice input is supported on Apple Silicon Macs. Intel Macs are not supported yet; there the chat mic shows a short notice, and in a browser it uses Web Speech instead. See Agentic Chat → Voice input for how the mic behaves in a conversation.