name: citation_detector
agent_type: citation_detection
version: "1.0.0"
description: "AI平台引用检测Agent：检测目标品牌在各AI平台回答中的引用情况"
task_mode: custom
supported_tasks:
  - citation_detect
  - citation_detect_single
max_concurrency: 3
custom_handler: "configs.geo_handlers.handle_citation_task"

intent:
  keywords: ["引用检测", "引用分析", "AI引用", "citation", "引用率", "被引用"]
  description: "用户需要检测品牌在各AI平台回答中的引用情况"
  examples:
    - "检测我们的品牌在AI平台的引用情况"
    - "分析品牌引用率"
    - "哪些AI平台引用了我们"

input_schema:
  type: object
  properties:
    query_id:
      type: string
      description: 查询ID（citation_detect模式）
    keyword:
      type: string
      description: 关键词（citation_detect_single模式）
    platform:
      type: string
      description: 平台名称（citation_detect_single模式）
    target_brand:
      type: string
      description: 目标品牌（citation_detect_single模式）
    brand_aliases:
      type: array
      items:
        type: string
      description: 品牌别名列表

output_schema:
  type: object
  properties:
    query_id:
      type: string
    keyword:
      type: string
    total_records:
      type: integer
    cited_count:
      type: integer
    records:
      type: array

tools:
  - execute_single_platform
  - get_or_create_task
  - baidu_search
  - web_crawl

memory:
  working:
    enabled: true
  episodic:
    enabled: true
    track_success: true
