name: trend_agent
agent_type: trend_analysis
version: "1.0.0"
description: "趋势洞察Agent：分析品牌引用趋势、识别热点话题、推断变化原因并生成建议"
task_mode: tool_call
supported_tasks:
  - trend_insight
  - trend_hotspot
max_concurrency: 2

intent:
  keywords: ["趋势", "热点", "洞察", "trend", "hotspot", "insight"]
  description: "用户需要分析品牌趋势、识别热点话题或获取行业洞察"
  examples:
    - "分析品牌趋势"
    - "最近的热点话题是什么"
    - "趋势洞察"

input_schema:
  type: object
  required:
    - brand_id
  properties:
    brand_id:
      type: string
      description: 品牌ID
    days:
      type: integer
      description: 分析天数
      default: 30
    platforms:
      type: array
      items:
        type: string
      description: 平台列表
    keywords:
      type: array
      items:
        type: string
      description: 关键词列表

output_schema:
  type: object
  properties:
    brand_id:
      type: string
    trends:
      type: array
    hotspots:
      type: array

tools:
  - trend_insight
  - trend_hotspot
  - baidu_search
  - web_crawl

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