360 Secure SkillHub
360 安全技能中心

Cx Agent Studio

这是Dialogflow CX演进的低代码对话Agent构建工具,核心功能含AI一键生成Agent、超低延迟双向流语音交互、异步工具调用,还支持架构设计、指令编写、工具集成、安全防护及测试评估。适用于创建对话Agent、编写结构化指令、设置示例、构建测试用例等场景,输入为目标描述、知识文档等,输出可运行的对话Agent体系。

yash-kavaiya
yash-kavaiya
热度 85.76
最近更新 2026-05-17 12:58:06
分类:开发依赖:纯提示词应用场景:API 集成 / 代码生成

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add cx-agent-studio
Metadata
name
cx-agent-studio
description
Guide and instructions for using Google Customer Experience Agent Studio (CX Agent Studio). Use when creating conversational agents, writing or structuring instructions with XML tags, setting up few-shot examples, or building evaluation test cases (Golden or Scenario).

CX Agent Studio

Customer Experience Agent Studio (CX Agent Studio) is a minimal code conversational agent builder built on the Agent Development Kit (ADK), representing the evolution of Dialogflow CX.

Core Capabilities

  • AI-Augmented Building: Generate agents using Gemini with a 1-2 sentence goal.
  • Bi-directional Streaming: Ultra-low latency voice interactions.
  • Asynchronous Tool Calling: Maintains natural conversation flow during backend calls.

Quick Actions

1. Generating an Agent with AI

To generate an agent automatically:

  • Provide a clear 1-2 sentence goal.
  • Optionally provide up to 5 knowledge documents (under 8MB total) like FAQs or tool catalogs. Note: Only works for the root agent and empty agents.

2. Architecture & Design

  • Agents: Root (steering) agents orchestrate tasks and delegate to sub-agents. Read references/agents.md.
  • Flows: Integrate legacy Dialogflow CX flows for deterministic business logic (auth, sequential validation). Read references/flows.md.
  • Variables: Store and retrieve runtime conversation data. Read references/variables.md.

3. Writing Agent Instructions

Agent instructions guide the model's behavior, persona, and tool/agent usage.

  • Syntax References:
    • Variables: {variable_name}
    • Tools: {@TOOL: tool_name}
    • Sub-Agents: {@AGENT: Agent Name}
  • For complex instructions or recommended XML formatting, read: references/instructions.md
  • Best Practices: Start simple, use specific/structured instructions, flat parameter structures. Read references/best-practices.md.

4. Tools & Callbacks

  • Tools: Connect your agent to external systems. Wrap complex APIs in Python tools to reduce context overhead. Read references/tools.md.
  • Callbacks: Advanced Python hooks (before_agent_callback, after_model_callback, etc.) to control execution, validate states, or inject custom JSON payloads. Read references/callbacks.md.

5. Guardrails & Safety

  • Guardrails: Protect against prompt attacks and enforce Responsible AI policies. Read references/guardrails.md.

6. Agent Evaluation

Evaluation ensures agent performance via automated test cases.

  • Scenario Test Cases: AI-generated simulated user conversations based on a user goal.
  • Golden Test Cases: Specific, ideal conversation paths for regression testing.
  • For detailed evaluation metrics, personas, and test case creation, read: references/evaluation.md