← 返回
开发者工具 中文

Dialogflow CX to CX Agent Studio Migration Skill

Migrate Dialogflow CX agents to CX Agent Studio (CES) using official REST/RPC APIs. Exports full CX agent packages, validates components (intents, entities,...
使用官方 REST/RPC API 将 Dialogflow CX 代理迁移至 CX Agent Studio (CES),导出完整 CX 代理包,校验意图、实体等组件。
yash-kavaiya
开发者工具 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 549
下载
💾 7
安装
1
版本
#cx#dialogflow#latest

概述

Dialogflow CX → CX Agent Studio Migration

Use this skill when you need to migrate a Dialogflow CX agent into CX Agent Studio (Gemini Enterprise for Customer Engagement / CES). It exports the full CX agent package, enumerates all components (intents, entities, flows, pages, webhooks, route groups, etc.), and creates a CES app + agent that runs the CX agent as a remote Dialogflow agent.

What this does

  1. Exports the DFCX agent as a JSON package via the v3beta1 REST API.
  2. Parses & indexes all exported components (agents, intents, entity types, flows, pages, webhooks, transition route groups, test cases, playbooks, etc.).
  3. Creates a CES app and a CES agent (remote Dialogflow agent) via CES v1beta REST API.
  4. Sets root agent on the CES app and emits a migration report with component counts and resource names.

Scripts

  • scripts/migrate.py — end‑to‑end migration + report generation

Usage

python skills/dialogflow-cx-to-studio-migration/scripts/migrate.py \
  --dfcx-agent projects/PROJECT/locations/LOCATION/agents/AGENT_ID \
  --studio-project PROJECT \
  --studio-location LOCATION \
  --studio-app-display-name "My CX Studio App" \
  --studio-agent-display-name "My CX Agent (Remote DFCX)"

Export only (no CES changes):

python skills/dialogflow-cx-to-studio-migration/scripts/migrate.py \
  --dfcx-agent projects/PROJECT/locations/LOCATION/agents/AGENT_ID \
  --export-only

Use existing CES app:

python skills/dialogflow-cx-to-studio-migration/scripts/migrate.py \
  --dfcx-agent projects/PROJECT/locations/LOCATION/agents/AGENT_ID \
  --studio-app projects/PROJECT/locations/LOCATION/apps/APP_ID

Outputs

  • dfcx_migration_output/dfcx_agent_export.zip — DFCX JSON package
  • dfcx_migration_output/export/ — extracted export folder
  • dfcx_migration_output/migration_report.json — migration report with component counts

Authentication

Use ADC (recommended):

gcloud auth application-default login

Ensure the caller has:

  • Dialogflow CX permissions (export/list)
  • CES permissions (create app/agent)

Scopes used:

  • https://www.googleapis.com/auth/cloud-platform
  • https://www.googleapis.com/auth/dialogflow
  • https://www.googleapis.com/auth/ces

Notes & Limitations

  • The CES agent is created as RemoteDialogflowAgent (official CES support). This preserves all DFCX components without lossy conversion.
  • The script indexes all components from the JSON package and writes a report for auditing.
  • If you need direct LLM-native agents/tools in CES, plan a follow‑up conversion step.

References (load as needed)

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-30 09:21 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

developer-tools

CodeConductor.ai

larsonreever
AI驱动平台,提供快速全栈开发、智能体、工作流自动化及低代码AI集成的可扩展产品创建。
★ 68 📥 180,206
developer-tools

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 668 📥 324,196
developer-tools

Gog

steipete
Google Workspace 命令行工具,支持 Gmail、日历、云端硬盘、通讯录、表格和文档。
★ 921 📥 185,804