name: competitor_analyzer
agent_type: competitor_analysis
version: "1.0.0"
description: "竞品策略分析Agent：对比品牌与竞品的引用数据，识别差距领域，发现机会点，生成策略建议"
task_mode: tool_call
supported_tasks:
  - competitor_analyze
  - competitor_gap_analysis
max_concurrency: 2

intent:
  keywords: ["竞品", "对比", "竞争", "competitor", "gap", "分析"]
  description: "用户需要分析竞品策略、对比品牌差距或发现竞争机会"
  examples:
    - "分析我的竞品策略"
    - "对比我和竞品的差距"
    - "竞品分析"

input_schema:
  type: object
  required:
    - brand_id
  properties:
    brand_id:
      type: string
      description: 品牌ID
    analysis_types:
      type: array
      items:
        type: string
      description: 分析类型列表
    period_days:
      type: integer
      description: 分析周期（天）
      default: 30

output_schema:
  type: object
  properties:
    brand_id:
      type: string
    analysis:
      type: object
    recommendations:
      type: array

tools:
  - competitor_analyze
  - competitor_gap_analysis
  - baidu_search
  - web_crawl

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