Guide

Build a Plugin

Extend AgentAGI with custom capabilities.

Overview

Plugins let you add custom tools, event hooks, and agent definitions to AgentAGI. The plugin framework includes a plugin manager (340 lines), loader, and security system.

Quick Start

my-plugin/ ├── plugin.json # Plugin manifest ├── index.ts # Entry point ├── tools/ # Custom tools │ └── my-tool.ts └── README.md

plugin.json

{ "name": "my-plugin", "version": "1.0.0", "description": "My custom plugin", "capabilities": ["tool:my_tool"], "permissions": ["api:read"] }

Installing

Upload your plugin through the Plugins page in your dashboard, or use the API: POST /api/plugins.

For the full SDK reference, see the Plugin SDK docs.