Mage Agent Plugin Installation Guide
What It Is
The Mage Agent Plugin connects an AI agent client to Mage so the agent can work with the Mage clusters you authorize. After installation and sign-in, the agent can help inspect and operate Mage workflows, including pipelines, blocks, schedules, runs, logs, outputs, files, and other Mage project resources.Where To Download It
Download the installer from the public Mage Agent Plugin releases repository:mage-ai/agent-plugin repository is the public release-asset repository.
The plugin source and release automation are maintained in the Mage plugin
source under:
Choose The Correct Installer
Use the package that matches your agent client and operating system. macOS:Prerequisites
Before installing, make sure you have:- Access to the Mage cluster you want the agent to use.
- The cluster name or cluster URL.
- The correct agent client installed, such as Codex or Claude Code.
- For Claude Code, the Claude Code CLI must be installed and support plugins.
Install On macOS
- Open the GitHub Releases page:
- Download the correct
.pkgfile:
- Open the downloaded package.
- Follow the installer prompts.
- When the installer finishes, the Mage plugin is installed for the selected agent client.
Install On Windows
- Open the GitHub Releases page:
- Download the correct
.zipfile:
- Extract the zip file.
- Run the installer command inside the extracted folder.
Sign In To Mage
After installing, sign in to Mage and connect the plugin to a cluster. If the installer opens the sign-in flow automatically, complete the browser login and select or provide the Mage cluster. If you need to sign in manually from the plugin source checkout, run:Switch Clusters
To connect the plugin to a different Mage cluster, run:Verify The Active Cluster
Check which Mage cluster is currently connected:What Gets Saved Locally
After sign-in, the plugin stores the active Mage connection locally at:cluster_url and the token needed for the plugin
to call Mage on your behalf.
OAuth helper logs are written to:
Confirm It Works
After installation and sign-in:- Open your agent client.
- Ask the agent to use Mage.
- Try a read-only request first, such as listing available Mage pipelines or checking the current cluster.
- If the agent asks you to authenticate, complete the browser sign-in and retry the request.
Quick Checklist
- Download installer from
https://github.com/mage-ai/agent-plugin/releases. - Pick Codex or Claude package.
- Pick macOS
.pkgor Windows.zip. - Install the package.
- Sign in to Mage.
- Provide or select the Mage cluster name or URL.
- Verify the active cluster.
- Ask the agent to run a simple Mage read-only request.