Local installation
There are two ways to work with Diagrid from your machine. You can use both.
| Your AI coding agent | The Diagrid CLI | |
|---|---|---|
| What you install | The Diagrid AI plugin (skills and the Diagrid MCP server) | The diagrid binary |
| How you work | You ask, and your agent builds, runs and inspects for you | You run each command yourself |
| Works with | Claude Code, Codex, GitHub Copilot | Any terminal |
Set up your AI coding agent
This is the recommended way to start.
Install the Diagrid AI plugin
Run the command for your agent. It installs the Diagrid AI plugin: the skills and the Diagrid MCP server:
- Claude Code
- Codex
- Copilot CLI
- macOS/Linux
- Windows
claude plugin marketplace add diagridio/diagrid-ai && claude plugin install diagrid@diagrid
claude plugin marketplace add diagridio/diagrid-ai
claude plugin install diagrid@diagrid
The plugin installs the skills, registers the Diagrid MCP server, and adds the /diagrid:try-workflow and /diagrid:try-agent commands.
- macOS/Linux
- Windows
npx skills add diagridio/diagrid-ai --agent codex --skill '*' --yes && codex mcp add diagrid --url https://mcp.cloud.r1.diagrid.io/mcp --oauth-client-id codex
npx skills add diagridio/diagrid-ai --agent codex --skill '*' --yes
codex mcp add diagrid --url https://mcp.cloud.r1.diagrid.io/mcp --oauth-client-id codex
This installs the skills into .agents/skills/ in the current project, and adds the Diagrid MCP server.
- macOS/Linux
- Windows
npx skills add diagridio/diagrid-ai --agent github-copilot --skill '*' --yes && copilot mcp add --transport http diagrid https://mcp.cloud.r1.diagrid.io/mcp
npx skills add diagridio/diagrid-ai --agent github-copilot --skill '*' --yes
copilot mcp add --transport http diagrid https://mcp.cloud.r1.diagrid.io/mcp
This installs the skills into .agents/skills/ in the current project, and adds the Diagrid MCP server. Then open ~/.copilot/mcp-config.json and add "oauthClientId": "copilot-cli" to the diagrid entry, so Copilot signs in with its registered client ID:
{
"mcpServers": {
"diagrid": {
"type": "http",
"url": "https://mcp.cloud.r1.diagrid.io/mcp",
"oauthClientId": "copilot-cli",
"tools": ["*"]
}
}
}
If you installed the plugin or the skills before they were renamed from catalyst-ai, move to the new names, so your agent doesn't see every skill twice.
Sign in
Authenticate once:
- Claude Code
- Codex
- Copilot CLI
Run /mcp, choose plugin:diagrid:diagrid, and choose Authenticate.
codex mcp login diagrid
Run /mcp, choose diagrid, and choose Authenticate.
Your browser opens. Sign in, or create a free account, then approve your agent's access. From then on, your agent acts as you.
If you just created your account, verify your email, open catalyst.diagrid.io once to finish setting it up, and then authenticate again.
Check it works
Ask your agent:
Who am I in Diagrid?
It answers with your organization and user, using the diagrid_whoami tool.
Next, try a quickstart with your agent: build a workflow or run an agent. For everything else your agent can do, see Build with an AI coding agent.
Update the plugin
claude plugin install doesn't update a plugin that's already installed. To get the latest skills in Claude Code:
claude plugin marketplace update diagrid
claude plugin update diagrid@diagrid
For Codex and the Copilot CLI, run the npx skills add command from the install step again.
The plugin was named catalyst-ai before version 0.10.0, and claude plugin update doesn't move you to the new name. If claude plugin list shows catalyst-ai@diagrid, follow Move from catalyst-ai to the diagrid plugin.
Install the Diagrid CLI
The Diagrid CLI allows you to manage and interact with your Diagrid resources. The CLI can perform most actions available in the Diagrid Web Console and provides additional utilities you can use to develop your applications using the APIs. For example, use the Diagrid CLI to:
- Create and manage apps, agents, MCP servers, components, subscriptions and more
- Invoke the Diagrid APIs and listen for incoming requests on a given app
- Connect Diagrid to your local machine to receive pubsub events, service invocations, input bindings, etc. while developing
- View workload logs
Installing the CLI
Once you have created your Diagrid account, you can access your organization at https://catalyst.diagrid.io.
Next, download and install the Diagrid CLI using the following command:
- macOS/Linux
- Windows
curl -o- https://downloads.diagrid.io/cli/install.sh | bash
Move the diagrid binary into your path so you can run it from anywhere. For example:
sudo mv ./diagrid /usr/local/bin
Support for the Diagrid CLI on Windows is experimental and we recommend installing it via WSL2 if available. The CLI on WSL2 requires https://wslutiliti.es/wslu/ to support deeper OS integration.
Download the PowerShell installer
iwr -Uri https://downloads.diagrid.io/cli/install.ps1 -OutFile install.ps1
Execute the PowerShell installer
.\install.ps1
You may need to temporarily set the PowerShell execution policy to Unrestricted to allow the installer to execute.
Set-ExecutionPolicy Unrestricted -Scope CurrentUser
.\install.ps1
Set-ExecutionPolicy Restricted -Scope CurrentUser
Move the diagrid.exe executable into your path so you can run it from anywhere. For example:
Move-Item .\diagrid.exe "$($env:USERPROFILE)\bin"
Using the CLI
The CLI is a static binary that should be executed from the command line. Help pages are available for you to navigate the command tree and see what flags are available on each command.
To login to Diagrid:
diagrid login
The Diagrid CLI works with both Diagrid and Dapr Ops Dashboard. If you have access to both, choose which set of commands to use with diagrid product use. The value catalyst selects Diagrid:
diagrid product use catalyst
To verify the current user identity and organization:
diagrid whoami
For the full command surface see the Diagrid CLI reference. If something goes wrong during install or login, check the Troubleshooting / FAQ.
Next steps
- Build your first durable agent with the agent quickstart.
- Run a workflow that survives a crash with the workflow quickstart.
- Call state, pub/sub and service invocation from your code with the Dapr API quickstarts.
- Already have an app? Connect it to Diagrid.