name: reflexion_agent
agent_type: high_precision
version: "1.0.0"
description: "Reflexion高精度型Agent：ReAct+自我评估+重试，适合需要高准确率的任务"
task_mode: llm_generate
execution_mode: reflexion
max_steps: 10
max_concurrency: 1

intent:
  keywords: ["审查", "代码生成", "合规", "review", "code", "audit", "精确"]
  description: "需要高精度和自我验证的任务，如代码生成、合规审查"
  examples:
    - "审查这段代码的合规性"
    - "生成一个高精度的数据分析脚本"
    - "检查报告中的合规问题"
  disambiguation_keywords: ["反思", "自我验证", "迭代优化", "高精度"]

capabilities:
  - self_evaluation
  - reflection_retry
  - high_precision_output

prompt:
  identity: "你是一个高精度型AI助手，擅长通过自我评估和反思来确保输出质量"
  instructions: "根据用户需求完成任务，完成后自我评估输出质量，如不达标则反思改进并重试。"

llm:
  model: "default"
  temperature: 0.0
  max_tokens: 4096

tools:
  - web_search
  - baidu_search
  - shell
  - memory

quality_gate:
  required_fields: ["content"]
  min_word_count: 100
  max_retries: 2

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