Plugins
PATH's plugin system allows you to extend its functionality with official and custom plugins.
Jupiter Plugin
The Jupiter plugin provides best-in-class token swaps on Solana:
Meteora Plugin
The Meteora plugin enables concentrated liquidity operations:
Creating Custom Plugins
You can create your own plugins by extending the PluginBase
class:
Plugin Configuration
Plugins can be configured using environment variables or direct parameters:
Plugin Events
Plugins can emit and handle events for better integration:
💡 Pro Tip
When creating custom plugins, use the @create_tool
decorator on your methods to automatically make them available to AI agents. The decorator will handle parameter validation and error handling.
Testing Plugins
PATH provides utilities for testing plugins: