mirror of
https://github.com/open-webui/computer.git
synced 2026-11-05 01:17:24 +00:00
[GH-ISSUE #253] feat: visibility and control over background subagents (list, open, cancel) #168
Labels
No labels
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
open-webui/computer#168
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @1-kabir on GitHub (Sep 5, 2026).
Original GitHub issue: https://github.com/open-webui/computer/issues/253
feat: visibility and control over background subagents (list, open, cancel)
Feature description
When the agent dispatches background subagents (via
delegate_task), there isno way to see them, open the underlying chat, or cancel a runaway one. They
run invisibly in the background.
Proposed solution
GET /api/chats/{id}/subagentsandPOST /api/chats/{id}/subagents/{delegation_id}/cancel(ownership-checked like the rest of the chat router).cancel_async_subagentand aparent_chat_idfilter, plus a socket push (e.g.chat:subagents) on state changes.delegate_taskreturning the same JSON shape as background dispatches (delegation_id+subagent_chat_id) so every delegation is clickable.events:chatsocket channel, same pattern aschat:tasks.delegate_tasktool calls that carry a subagent chat id get an Open button; the background completion row gets an "Open sub-agent chat" action.Additional context
Implemented on a fork; can share implementation notes.
@owui-terminator[bot] commented on GitHub (Sep 5, 2026):
🔍 Related Issues Found
I found some existing issues that might be related. Please check if any of these are duplicates or contain helpful solutions:
🟢 #220 bug: Chat ends when Claude Code agent spawns a background agent and never resumes
This reports the same core problem that background subagents are spawned invisibly and the parent chat flow cannot properly track or resume them. It overlaps with the new issue’s goal of exposing background subagents and making them actionable from the UI.
by JKGeovision
🟣 #195 bug: the
claudeCLI subprocess is torn down at the end of every turn, killing in-flight background agentsThis closed issue is directly about in-flight background agents being killed, which is closely related to the new request for cancel/control over background subagents. It provides important context on lifecycle handling for delegated background work.
by penradioGables
🟢 #213 bug: a stalled agent session hangs the chat task forever, and the whole transcript is lost if you kill it
This discusses agent runs getting stuck and lacking a way to stop them cleanly, which aligns with the new issue’s need for cancel controls over runaway subagents. The persistence/data-loss aspect is broader, but the lack of cancellation is relevant.
by ThalynLabs
💡 If your issue is a duplicate, please close it and add any additional details to the existing issue instead.
This comment was generated automatically. React with 👍 if helpful, 👎 if not.