Dify Plugin Daemon icon

Dify Plugin Daemon

Createdlanggenius

Manages the lifecycle of plugins for the Dify API server, supporting local, debug, and serverless runtimes.

About

Dify Plugin Daemon is a service responsible for managing the lifecycle of Dify plugins across various runtimes. It facilitates communication between the Dify API server and plugins, supporting local execution via subprocesses, debugging environments with TCP-based communication, and serverless deployments on platforms like AWS Lambda. The daemon handles plugin installation, status monitoring, and request invocation, adapting to different runtime types via HTTP protocol and forwarding requests accordingly.

Key Features

  • Supports local, debug, and serverless plugin runtimes
  • Uses HTTP protocol for API communication, adapting to different runtime requirements
  • Provides a CLI tool for local plugin development
  • Manages plugin lifecycle and status
  • 157 GitHub stars
  • Communicates with Dify API server to invoke plugins

Use Cases

  • Deploying Dify plugins as serverless functions on AWS Lambda
  • Debugging Dify plugins using a TCP-based connection
  • Running Dify plugins locally as subprocesses
Craft Better Prompts with AnyPrompt