Hedera Plugin Creation
Installation
SKILL.md
Creating Hedera Agent Kit Plugins
This skill provides guidance for creating custom plugins that extend the Hedera Agent Kit. Plugins allow adding new tools for Hedera network interactions—token operations, account management, consensus service, smart contracts, and custom integrations.
Quick Start
To create a Hedera plugin in 5 steps:
- Install dependencies: Set up a TypeScript project with
@hashgraph/hedera-agent-kitand@hiero-ledger/sdk - Create plugin structure: Create an
index.tswith the plugin definition and atools/directory - Define tools: Each tool is a class extending
BaseTool— this opts the tool into the hooks/policies lifecycle - Export properly: Export the plugin object and tool name constants
- Register with agent: Import and pass the plugin in the toolkit
configuration.pluginsarray
Plugin Interface
Every Hedera plugin implements this interface from @hashgraph/hedera-agent-kit: