Implementation:23blocks OS Ai maestro Install Plugin
| Knowledge Sources | |
|---|---|
| Domains | Installation, Plugin_Management |
| Last Updated | 2026-10-26 18:00 GMT |
Overview
Concrete tool for installing the AI Maestro default plugin (AMP, Agent Identity, Agent Actions, memory/code/docs search, agent management) into Claude Code, provided by AI Maestro's `install-plugin.sh`.
Description
The install-plugin script installs the 23blocks default AI Maestro plugin, which provides the Agent Messaging Protocol (AMP — local + federated messaging), Agent Identity Protocol (AID — OAuth 2.0 with Ed25519 keys), Agent Actions Protocol (AAP — canvas interactions and UI actions), memory search, code graph, docs search, and agent management tools. It supports interactive mode (default) and non-interactive mode (`-y`), and a `--migrate` option for migrating from the old messaging system. The installer builds the plugin from `plugin/build-plugin.sh` and copies the output into `~/.claude/plugins/`.
Usage
Run `./install-plugin.sh` (interactive) or `./install-plugin.sh -y` (non-interactive). Use `--migrate` to migrate from the old messaging system only.
Code Reference
Source Location
- Repository: ai-maestro
- File: install-plugin.sh
- Lines: L1-L1122
Signature
./install-plugin.sh # Interactive mode
./install-plugin.sh -y # Non-interactive (install all, assume yes)
./install-plugin.sh --migrate # Migrate from old messaging system only
./install-plugin.sh -h # Help
Import
# Shell script — invoked directly, not imported
./install-plugin.sh -y
I/O Contract
Inputs
| Name | Type | Required | Description |
|---|---|---|---|
| \| --yes | flag | No | Non-interactive mode |
| --migrate | flag | No | Migrate from old messaging system only |
Outputs
| Name | Type | Description |
|---|---|---|
| installed plugin | directory | `~/.claude/plugins/ai-maestro/` with skills, scripts, CLI tools |
| exit code | 1 | Success or failure |
Usage Examples
Install the default plugin
# Non-interactive install (used by update-aimaestro.sh)
./install-plugin.sh -y