Set up and package your Intellos plugins using the Command Line Interface (CLI). The CLI provides a streamlined way to manage your plugin development workflow, from initialization to packaging. This guide will instruct you on how to use the CLI for Intellos plugin development.

Prerequisites

Before you begin, ensure you have the following installed:
  • Python version 3.12
  • Intellos CLI
  • Homebrew (for Mac users)

Create a Intellos Plugin Project

Now you have successfully installed the Intellos CLI. You can verify the installation by running:
You can create a new Intellos plugin project using the following command:
Fill in the required fields when prompted:
Choose python and hit Enter to proceed with the Python plugin template.
Enter the default dify version, leave it blank to use the latest version:
Now you are ready to go! The CLI will create a new directory with the plugin name you provided, and set up the basic structure for your plugin.

Run the Plugin

Make sure you are in the hello-world directory
Edit the .env file to set your plugin’s environment variables, such as API keys or other configurations. You can find these variables in the Intellos dashboard. Log in to your Intellos environment, click the “Plugins” icon in the top right corner, then click the debug icon (or something that looks like a bug). In the pop-up window, copy the “API Key” and “Host Address”. (Please refer to your local corresponding screenshot, which shows the interface for obtaining the key and host address)
REMOTE_INSTALL_URL combines host and port in host:port form. The host and port are shown together in the API Key card on the Plugins page.
Now you can run your plugin locally using the following command:

Edit this page | Report an issue