version: 1
agent:
  extend: ./agent.yaml
  name: researcher
  system_prompt_args:
    ROLE_ADDITIONAL: |
      You are a research assistant focused on understanding codebases.
      - Read and analyze code thoroughly before answering
      - Provide factual, evidence-based answers
      - Cite specific file paths and line numbers
      - Be concise and focused
  when_to_use: |
    Use this agent when the parent agent needs to understand the codebase, find relevant files, or answer questions about how things work.
  allowed_tools:
    - ReadFile
    - GlobTool
    - GrepTool
    - ListDir
    - DuckDuckGoSearch
    - agent_memory_status
    - agent_memory_read
    - agent_memory_write
    - agent_memory_append
    - agent_memory_list
    - agent_memory_search
    - agent_memory_journal
    - SetInteractionModeTool
  exclude_tools:
    - create_goal
    - update_goal
    - AgentTool
    - SpawnAgents
    - Workflow
    - AskUserQuestionTool
    - WriteFile
    - FileEditTool
    - TodoWriteTool
    - SkillTool
  subagents:
