-
Notifications
You must be signed in to change notification settings - Fork 1
Closed
Labels
coreenhancementNew feature or requestNew feature or requestsub-agentsSub-agent orchestrationSub-agent orchestration
Description
Parent: #709
Summary
Support background (non-blocking) sub-agent execution, allowing the main agent to continue interacting with the user while sub-agents work concurrently.
Scope
- Background spawn: returns immediately, sub-agent runs on separate tokio task
- Concurrent sub-agent limit (max_concurrent in SubAgentManager)
- Status polling from main agent loop
- Result notification when background sub-agent completes
- Cleanup on main agent shutdown (cancel all background sub-agents)
Acceptance Criteria
- Background sub-agent does not block main agent conversation
- max_concurrent enforced (spawn returns error if limit reached)
- Main agent can poll status of background sub-agents
- Completion notification delivered to user
- All background sub-agents cancelled on main agent shutdown
- CancellationToken propagated correctly to background tasks
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
coreenhancementNew feature or requestNew feature or requestsub-agentsSub-agent orchestrationSub-agent orchestration