# Model Builder — managed-agent cookbook

name: model-builder
model: claude-opus-4-7

system:
  file: ../../plugins/agent-plugins/model-builder/agents/model-builder.md
  append: "You are running headless. Produce files in ./out/; do not assume an open Office document."

tools:
  - type: agent_toolset_20260401
    default_config: { enabled: false }
    configs:
      - { name: read,  enabled: true }
      - { name: grep,  enabled: true }
      - { name: glob,  enabled: true }
  - { type: mcp_toolset, mcp_server_name: capiq,   default_config: { enabled: true } }
  - { type: mcp_toolset, mcp_server_name: daloopa, default_config: { enabled: true } }

mcp_servers:
  - { type: url, name: capiq,   url: "${CAPIQ_MCP_URL}" }
  - { type: url, name: daloopa, url: "${DALOOPA_MCP_URL}" }

skills:
  - { from_plugin: ../../plugins/agent-plugins/model-builder }

callable_agents:
  - { manifest: ./subagents/data-puller.yaml }
  - { manifest: ./subagents/builder.yaml }       # only leaf with Write
  - { manifest: ./subagents/auditor.yaml }
