Model Configuration Support for Sub Agents

Resolved 💬 3 comments Opened Jul 27, 2025 by bartolli Closed Aug 1, 2025

Feature Request
Model Field for Claude Code Sub Agents

Could you add a model field to sub agent frontmatter configuration? This would allow specifying different Claude models for different agent use cases - e.g., using Opus 4 for complex coding agents and Sonnet 4 for code review agents. This would optimize both performance and cost based on task complexity.

Current frontmatter format:

---
name: agent-name
description: Agent purpose
tools: tool1, tool2
---

Requested addition:

---
name: agent-name
description: Agent purpose  
tools: tool1, tool2
model: opus  # or sonnet
---

This would enable cost optimization by using the appropriate model tier for each agent's complexity level.

Environment Info

  • Platform: darwin
  • Terminal: vscode
  • Version: 1.0.61
  • Feedback ID: b8f31ecd-7907-4e49-b76b-412a060cd490

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗