Skip to content

Reframe agent as orchestrator that delegates to subagents by default#177

Merged
rockfordlhotka merged 1 commit intomainfrom
orchestrator-first-subagents
Mar 20, 2026
Merged

Reframe agent as orchestrator that delegates to subagents by default#177
rockfordlhotka merged 1 commit intomainfrom
orchestrator-first-subagents

Conversation

@rockfordlhotka
Copy link
Member

Summary

  • Rewrites agent directives to make subagent delegation the default execution mode instead of a fallback for large tasks
  • Updates SubagentToolSkillProvider tool guide to reinforce orchestrator identity
  • While the primary agent runs tool calls directly, the Blazor UI input is locked — delegating to subagents returns control to the user immediately

Changes

  • directives.md: "Single-session tasks" now routes through subagents; "Background subagents" replaced with "Orchestrator-first execution" with decomposition patterns and delegation workflow
  • SubagentToolSkillProvider.cs: Tool guide opens with orchestrator framing and includes decomposition patterns

Test plan

  • dotnet build passes
  • dotnet test passes (all 427 tests)
  • Deployed to k8s and verified directive file on PVC
  • Manual testing: send requests via Blazor UI and verify agent delegates to subagents instead of executing directly

🤖 Generated with Claude Code

…default

The primary agent's directives and tool guide now treat subagent delegation as
the default execution mode rather than a fallback for large tasks. While the
agent executes tool calls directly, the Blazor UI input is locked; delegating
to subagents returns control to the user immediately.

Key changes to directives.md:
- Single-session tasks route through subagents instead of sequential execution
- "Background subagents" section replaced with "Orchestrator-first execution"
- Delegation is the default for any task involving tool calls (including single
  MCP calls); direct execution limited to zero-tool or single-local-lookup cases
- Added decomposition patterns (single, parallel fan-out, sequential pipeline)
- Added delegation workflow and subagent instruction-writing guidance

SubagentToolSkillProvider updated to reinforce orchestrator identity in the
tool guide the LLM sees at runtime.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@rockfordlhotka rockfordlhotka merged commit fe657ae into main Mar 20, 2026
2 checks passed
@rockfordlhotka rockfordlhotka deleted the orchestrator-first-subagents branch March 20, 2026 06:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant