You build Dify apps in the browser, but the work that needs them often lives somewhere else: a shell script, a CI pipeline, an AI agent deciding which tool to call.
With difyctl, anything that can run a shell command can run your Dify apps.
difyctl currently supports self-hosted Dify Community Edition only.
What You Can Do
- Run any Dify app from your terminal and capture its output.
- List the apps in your workspace and inspect the inputs each one expects.
- Stream long responses live, or get structured JSON for scripting.
- Sign in once with OAuth, then automate without storing passwords or API keys in scripts.
- Let your AI agents discover and call your Dify apps as tools.
Get Started
First, install difyctl. Then follow the Quick Start to sign in and run your first app.