Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

17.1 KB
Raw Blame
{
  "config": "Inspect or update Agent Soul-backed config assets through the Agent Stub.\n\nUsage:\n  dify-agent config [command]\n\nAvailable Commands:\n  env         Update config env variables visible to the current run.\n  files       Pull or update config files through the Agent Stub.\n  manifest    Show the current visible Agent config manifest as JSON.\n  note        Pull or update the current config note.\n  prompt      Pull or replace the raw system prompt, including mention markers.\n  skills      Pull or update config skills through the Agent Stub.\n\nFlags:\n  -h, --help   help for config\n\nUse \"dify-agent config [command] --help\" for more information about a command.",
  "config env": "Update config env variables visible to the current run.\n\nUsage:\n  dify-agent config env [command]\n\nAvailable Commands:\n  push        Set or delete config env entries from one local dotenv file or stdin.\n\nFlags:\n  -h, --help   help for env\n\nUse \"dify-agent config env [command] --help\" for more information about a command.",
  "config env push": "Set or delete config env entries from one local dotenv file or stdin.\n\nUsage:\n  dify-agent config env push PATH|- [flags]\n\nFlags:\n  -h, --help   help for push",
  "config files": "Pull or update config files through the Agent Stub.\n\nUsage:\n  dify-agent config files [command]\n\nAvailable Commands:\n  delete      Delete one or more config files by name without touching local files.\n  pull        Pull one or all visible config files into ./.dify_conf/files by default.\n  push        Upload one or more local files into the current config manifest.\n\nFlags:\n  -h, --help   help for files\n\nUse \"dify-agent config files [command] --help\" for more information about a command.",
  "config files delete": "Delete one or more config files by name without touching local files.\n\nUsage:\n  dify-agent config files delete NAME... [flags]\n\nFlags:\n  -h, --help   help for delete",
  "config files pull": "Pull one or all visible config files into ./.dify_conf/files by default.\n\nUsage:\n  dify-agent config files pull [NAME]... [flags]\n\nFlags:\n  -h, --help        help for pull\n      --json        Emit the pull result as JSON.\n      --to string   Local directory for pulled config files.",
  "config files push": "Upload one or more local files into the current config manifest.\n\nUsage:\n  dify-agent config files push PATH... [flags]\n\nFlags:\n  -h, --help   help for push",
  "config manifest": "Show the current visible Agent config manifest as JSON.\n\nUsage:\n  dify-agent config manifest [flags]\n\nFlags:\n  -h, --help   help for manifest",
  "config note": "Pull or update the current config note.\n\nUsage:\n  dify-agent config note [command]\n\nAvailable Commands:\n  pull        Export the current config note into ./.dify_conf/note.md by default.\n  push        Replace the current config note from one local text file or stdin.\n\nFlags:\n  -h, --help   help for note\n\nUse \"dify-agent config note [command] --help\" for more information about a command.",
  "config note pull": "Export the current config note into ./.dify_conf/note.md by default.\n\nUsage:\n  dify-agent config note pull [flags]\n\nFlags:\n  -h, --help        help for pull\n      --to string   Local markdown file path.",
  "config note push": "Replace the current config note from one local text file or stdin.\n\nUsage:\n  dify-agent config note push [PATH|-] [flags]\n\nFlags:\n  -h, --help   help for push",
  "config prompt": "Pull or replace the raw system prompt, including mention markers.\n\nUsage:\n  dify-agent config prompt [command]\n\nAvailable Commands:\n  pull        Export the raw system prompt into ./.dify_conf/prompt.md by default.\n  push        Replace the build-draft prompt from a UTF-8 file or stdin; empty text clears it.\n\nFlags:\n  -h, --help   help for prompt\n\nUse \"dify-agent config prompt [command] --help\" for more information about a command.",
  "config prompt pull": "Export the raw system prompt into ./.dify_conf/prompt.md by default.\n\nUsage:\n  dify-agent config prompt pull [flags]\n\nFlags:\n  -h, --help        help for pull\n      --to string   Local UTF-8 text file path.",
  "config prompt push": "Replace the build-draft system prompt from a UTF-8 file or stdin (-). Defaults to ./.dify_conf/prompt.md and prints the saved prompt as JSON. Empty text clears the prompt. Only subsequent run requests built from this draft use the saved prompt; already-built run requests keep their prompt.\n\nUsage:\n  dify-agent config prompt push [PATH|-] [flags]\n\nFlags:\n  -h, --help   help for push",
  "config skills": "Pull or update config skills through the Agent Stub.\n\nUsage:\n  dify-agent config skills [command]\n\nAvailable Commands:\n  delete      Delete one or more config skills by name without touching local directories.\n  pull        Pull one or all visible config skills into ./.dify_conf/skills by default.\n  push        Upload one or more local skill directories into the current config manifest.\n\nFlags:\n  -h, --help   help for skills\n\nUse \"dify-agent config skills [command] --help\" for more information about a command.",
  "config skills delete": "Delete one or more config skills by name without touching local directories.\n\nUsage:\n  dify-agent config skills delete NAME... [flags]\n\nFlags:\n  -h, --help   help for delete",
  "config skills pull": "Pull one or all visible config skills into ./.dify_conf/skills by default.\n\nUsage:\n  dify-agent config skills pull [NAME]... [flags]\n\nFlags:\n  -h, --help        help for pull\n      --json        Emit the pull result as JSON.\n      --to string   Local directory for pulled config skills.",
  "config skills push": "Upload one or more local skill directories into the current config manifest.\n\nUsage:\n  dify-agent config skills push PATH... [flags]\n\nFlags:\n  -h, --help   help for push",
  "connect": "Establish one Agent Stub connection using the current environment.\n\nUsage:\n  dify-agent connect [ARGV]... [flags]\n\nFlags:\n  -h, --help   help for connect\n      --json   Emit the connection response as JSON.",
  "file": "Upload or download workflow files through the Agent Stub.\n\nUsage:\n  dify-agent file [command]\n\nAvailable Commands:\n  download    Download one workflow file mapping into the local sandbox directory.\n  public-url  Create a browser-visible download URL for an existing ToolFile reference.\n  upload      Upload one sandbox-local file as a ToolFile output reference.\n\nFlags:\n  -h, --help   help for file\n\nUse \"dify-agent file [command] --help\" for more information about a command.",
  "file download": "Download one workflow file mapping into the local sandbox directory.\n\nUsage:\n  dify-agent file download TRANSFER_METHOD REFERENCE_OR_URL [flags]\n\nFlags:\n  -h, --help        help for download\n      --to string   Local directory for the downloaded file.",
  "file public-url": "Create a browser-visible download URL for an existing ToolFile reference.\n\nUsage:\n  dify-agent file public-url REFERENCE [flags]\n\nFlags:\n  -h, --help   help for public-url",
  "file upload": "Upload one sandbox-local file as a ToolFile output reference.\n\nUsage:\n  dify-agent file upload PATH [flags]\n\nFlags:\n  -h, --help               help for upload\n      --no-download-link   Skip creating a public download link after upload.",
  "knowledge": "Autonomously inspect read-only Agent Knowledge Base evidence. All results are JSON.\n\nUsage:\n  dify-agent knowledge [flags]\n  dify-agent knowledge [command]\n\nAvailable Commands:\n  capabilities Inspect this Agent Knowledge Base's current capabilities (no model credentials).\n  cat          Read a page of text. Raw manifests and binary artifacts are not exposed.\n  diff         Compare two readable paths without an LLM semantic-diff call.\n  find         Find /knowledge entries whose names contain the query.\n  grep         Search text inside /knowledge with a bounded server timeout.\n  image        Deliver one bounded image to a vision-capable Agent via the trusted runtime channel.\n  images       List image items and captions from a receipt's immutable document artifact.\n  ls           List a bounded page of /knowledge entries.\n  open         Open a node ID or validate/reopen a trusted evidence receipt.\n  search       Retrieve evidence using the knowledge base profile; no nested planner or generated answer.\n  spaces       List only Agent Knowledge Bases bound to this Agent and their current availability.\n  stat         Inspect safe metadata for one /knowledge path.\n  tree         Browse a bounded /knowledge subtree.\n\nFlags:\n  -h, --help               help for knowledge\n      --protocol-version   Print the locally supported knowledge protocol version.\n\nUse \"dify-agent knowledge [command] --help\" for more information about a command.",
  "knowledge capabilities": "Inspect this Agent Knowledge Base's current capabilities (no model credentials).\n\nUsage:\n  dify-agent knowledge capabilities [flags]\n\nFlags:\n      --command-id string   Logical UUID for this command; generated by default. Reusing it will not repeat retrieval.\n  -h, --help                help for capabilities\n      --json                Emit complete JSON (always enabled). (default true)\n      --space string        Agent Knowledge Base bound to this Agent.",
  "knowledge cat": "Read a page of text. Raw manifests and binary artifacts are not exposed.\n\nUsage:\n  dify-agent knowledge cat [flags]\n\nFlags:\n      --command-id string   Logical UUID for this command; generated by default. Reusing it will not repeat retrieval.\n      --cursor string       Knowledge command cursor.\n  -h, --help                help for cat\n      --json                Emit complete JSON (always enabled). (default true)\n      --limit int           Maximum returned items/segments (1–50); retrieval depth still belongs to the knowledge base profile. (default 10)\n      --path string         Canonical read-only /knowledge path. (default \"/knowledge\")\n      --space string        Agent Knowledge Base bound to this Agent.",
  "knowledge diff": "Compare two readable paths without an LLM semantic-diff call.\n\nUsage:\n  dify-agent knowledge diff [flags]\n\nFlags:\n      --command-id string   Logical UUID for this command; generated by default. Reusing it will not repeat retrieval.\n  -h, --help                help for diff\n      --json                Emit complete JSON (always enabled). (default true)\n      --new-path string     Knowledge command new-path.\n      --old-path string     Knowledge command old-path.\n      --space string        Agent Knowledge Base bound to this Agent.",
  "knowledge find": "Find /knowledge entries whose names contain the query.\n\nUsage:\n  dify-agent knowledge find [flags]\n\nFlags:\n      --command-id string   Logical UUID for this command; generated by default. Reusing it will not repeat retrieval.\n      --cursor string       Knowledge command cursor.\n  -h, --help                help for find\n      --json                Emit complete JSON (always enabled). (default true)\n      --limit int           Maximum returned items/segments (1–50); retrieval depth still belongs to the knowledge base profile. (default 10)\n      --path string         Canonical read-only /knowledge path. (default \"/knowledge\")\n      --query string        Knowledge command query.\n      --space string        Agent Knowledge Base bound to this Agent.",
  "knowledge grep": "Search text inside /knowledge with a bounded server timeout.\n\nUsage:\n  dify-agent knowledge grep [flags]\n\nFlags:\n      --command-id string   Logical UUID for this command; generated by default. Reusing it will not repeat retrieval.\n      --cursor string       Knowledge command cursor.\n  -h, --help                help for grep\n      --json                Emit complete JSON (always enabled). (default true)\n      --limit int           Maximum returned items/segments (1–50); retrieval depth still belongs to the knowledge base profile. (default 10)\n      --path string         Canonical read-only /knowledge path. (default \"/knowledge\")\n      --query string        Knowledge command query.\n      --space string        Agent Knowledge Base bound to this Agent.",
  "knowledge image": "Deliver one bounded image to a vision-capable Agent via the trusted runtime channel.\n\nUsage:\n  dify-agent knowledge image [flags]\n\nFlags:\n      --command-id string   Logical UUID for this command; generated by default. Reusing it will not repeat retrieval.\n  -h, --help                help for image\n      --item-id string      Knowledge command item-id.\n      --json                Emit complete JSON (always enabled). (default true)\n      --receipt string      Knowledge command receipt.\n      --space string        Agent Knowledge Base bound to this Agent.",
  "knowledge images": "List image items and captions from a receipt's immutable document artifact.\n\nUsage:\n  dify-agent knowledge images [flags]\n\nFlags:\n      --command-id string   Logical UUID for this command; generated by default. Reusing it will not repeat retrieval.\n      --cursor string       Knowledge command cursor.\n  -h, --help                help for images\n      --json                Emit complete JSON (always enabled). (default true)\n      --limit int           Maximum returned items/segments (1–50); retrieval depth still belongs to the knowledge base profile. (default 10)\n      --receipt string      Knowledge command receipt.\n      --space string        Agent Knowledge Base bound to this Agent.",
  "knowledge ls": "List a bounded page of /knowledge entries.\n\nUsage:\n  dify-agent knowledge ls [flags]\n\nFlags:\n      --command-id string   Logical UUID for this command; generated by default. Reusing it will not repeat retrieval.\n      --cursor string       Knowledge command cursor.\n  -h, --help                help for ls\n      --json                Emit complete JSON (always enabled). (default true)\n      --limit int           Maximum returned items/segments (1–50); retrieval depth still belongs to the knowledge base profile. (default 10)\n      --path string         Canonical read-only /knowledge path. (default \"/knowledge\")\n      --space string        Agent Knowledge Base bound to this Agent.",
  "knowledge open": "Open a node ID or validate/reopen a trusted evidence receipt.\n\nUsage:\n  dify-agent knowledge open [flags]\n\nFlags:\n      --command-id string   Logical UUID for this command; generated by default. Reusing it will not repeat retrieval.\n  -h, --help                help for open\n      --json                Emit complete JSON (always enabled). (default true)\n      --node-id string      Knowledge command node-id.\n      --receipt string      Knowledge command receipt.\n      --space string        Agent Knowledge Base bound to this Agent.",
  "knowledge search": "Retrieve evidence using the knowledge base profile; no nested planner or generated answer.\n\nUsage:\n  dify-agent knowledge search [flags]\n\nFlags:\n      --command-id string           Logical UUID for this command; generated by default. Reusing it will not repeat retrieval.\n  -h, --help                        help for search\n      --image-file-id stringArray   Authorized upload UUID or local_file dify-file-ref from inputs; repeat at most four times, never a URL.\n      --json                        Emit complete JSON (always enabled). (default true)\n      --limit int                   Maximum returned items/segments (1–50); retrieval depth still belongs to the knowledge base profile. (default 10)\n      --query string                Knowledge command query.\n      --space string                Agent Knowledge Base bound to this Agent.",
  "knowledge spaces": "List only Agent Knowledge Bases bound to this Agent and their current availability.\n\nUsage:\n  dify-agent knowledge spaces [flags]\n\nFlags:\n      --command-id string   Logical UUID for this command; generated by default. Reusing it will not repeat retrieval.\n  -h, --help                help for spaces\n      --json                Emit complete JSON (always enabled). (default true)",
  "knowledge stat": "Inspect safe metadata for one /knowledge path.\n\nUsage:\n  dify-agent knowledge stat [flags]\n\nFlags:\n      --command-id string   Logical UUID for this command; generated by default. Reusing it will not repeat retrieval.\n  -h, --help                help for stat\n      --json                Emit complete JSON (always enabled). (default true)\n      --path string         Canonical read-only /knowledge path. (default \"/knowledge\")\n      --space string        Agent Knowledge Base bound to this Agent.",
  "knowledge tree": "Browse a bounded /knowledge subtree.\n\nUsage:\n  dify-agent knowledge tree [flags]\n\nFlags:\n      --command-id string   Logical UUID for this command; generated by default. Reusing it will not repeat retrieval.\n      --cursor string       Knowledge command cursor.\n      --depth int           Maximum tree depth (1–4). (default 2)\n  -h, --help                help for tree\n      --json                Emit complete JSON (always enabled). (default true)\n      --limit int           Maximum returned items/segments (1–50); retrieval depth still belongs to the knowledge base profile. (default 10)\n      --path string         Canonical read-only /knowledge path. (default \"/knowledge\")\n      --space string        Agent Knowledge Base bound to this Agent."
}