# Hermes Agent + AIWG — Advanced Configuration (with delegation + toolsets)
#
# Use this ONLY after the minimal config is stable and working.
# Adds delegation model config and toolset restrictions for child agents.
#
# Prerequisites:
#   1. hermes-config-minimal.yaml is working
#   2. You have verified artifact-read/write and workflow-run
#   3. You understand the token cost implications

mcp_servers:
  aiwg:
    command: "aiwg"
    args: ["mcp", "serve"]

# Delegation config — coding model for AIWG structured output
delegation:
  model: "ollama/qwen2.5-coder:14b"
  max_iterations: 50

# Model strategy: hermes3 (parent/conversation) + qwen2.5-coder:14b (coding via delegation)
# Same compression settings as minimal config
compression:
  enabled: true
  threshold: 0.30
  summary_model: "ollama/qwen2.5-coder:7b"
  summary_provider: "custom"
  summary_base_url: "http://localhost:11434/v1"

max_tool_rounds: 10
