> ## Documentation Index
> Fetch the complete documentation index at: https://dify-6c0370d8-docs-new-agent-experience.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Overview

> Run your Dify apps from terminals, scripts, CI pipelines, and AI agents with the official Dify command-line interface `difyctl`

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.

Dify CLI (difyctl) closes that gap: anything that can run a shell command can run your Dify apps.

## 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`](/en/cli/install). Then follow the [Quick Start](/en/cli/quick-start) to sign in and run your first app.

<Tip>
  Want an AI agent to run your Dify apps as tools? Once `difyctl` is installed, start with [Integrate Your Agents with Dify](/en/cli/integrate-agents/overview).
</Tip>
