MariaDB Shell Agent
An AI agent for MariaDB inside Visual Studio Code (and Theia-based IDEs such as the MariaDB Cloud
Workbench): a chat panel, native diffs and workspace context. The extension bundles the agent's
CLI, so nothing else needs to be installed.
MariaDB Shell Agent is a MariaDB build of Qwen Code, kept in
sync with upstream.
Features
- Chat panel: open it from the MariaDB icon in the activity bar or the command palette
- Native diffing: review, edit and accept changes in VS Code's diff view
- Auto-accept edits mode: apply changes as they are made
- File context: @-mention files, attach files and images, share the active file and selection
- Sessions: conversation history and several sessions at once
Requirements
- Visual Studio Code 1.96.0 or newer, or a compatible editor
Commands
| Command |
Description |
MariaDB Shell Agent: Open |
Open the MariaDB Shell Agent chat panel |
MariaDB Shell Agent: Run |
Launch a classic terminal session with the bundled CLI |
MariaDB Shell Agent: Accept Current Diff |
Accept the currently displayed diff |
MariaDB Shell Agent: Close Diff Editor |
Close/reject the current diff |
Settings live in ~/.mariadb-shell-agent/settings.json (per project: .mariadb-shell-agent/), project
instructions in MARIADB-SHELL-AGENT.md (AGENTS.md is read too), and ignore rules in
.mariadb-shell-agentignore. The bundled CLI is available as mariadb-shell-agent (short: msa).
MariaDB dev plugin
The extension comes with MariaDB's dev plugin
(mariadb/ai-plugins): MariaDB skills and the MariaDB MCP
server for the agent. On its first start it installs the plugin into
~/.mariadb-shell-agent/extensions/dev, and again when an extension update brings a new version
of it. If you uninstall the plugin, it stays uninstalled. If the install fails, the next start
tries again.
On every start the extension also updates the extensions installed with auto-update. A failed
update is retried on the next start. To turn off both the install and the updates, turn off
mariadb-shell-agent.installMariaDbPlugin.
The plugin also brings a language server for .sql files. Language servers only start with the
experimental LSP support: turn on mariadb-shell-agent.experimentalLsp and reload the window.
License
Apache-2.0, like upstream Qwen Code. The third-party packages the extension bundles and their
license terms are listed in its NOTICES.txt. The MariaDB dev plugin is GPL-2.0, with its own
LICENSE.