Skip to content

Optional subagent dispatch strategy #660

Description

@nikolap

With 5089805 we included two PoC plugin examples for subagent dispatch strategy coding and added tool access / improved context mgmt for subagents.

The next step is to build a dispatch based strategy, where the main thread is holding the context of what needs to be done (researched, written, etc.) and it serves purely to coordinate tasks and dispatch / reconcile them to subagents.

This strategy must be able to:

  • Repair failed subagent dispatches
  • Reconcile multiple changes
  • Handle both readwrite and read only requirements
    • i.e. it ought to be able to both write code, but also dispatch multiple reviewers of the same code, then reason about the outputs
  • Wait for long running subagents to complete (on complete all subagents trigger?)
  • Summarize the work done internally at each turn before deciding how to proceed
    • Optionally, share the summary with the user if the main thread task is complete

Should be a config json flag, subagent_dispatch_strategy: Strategy where Strategy is one of full | optional | off and default is off

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions