google-gemini / google-gemini/gemini-cli

Manual backgrounding of a subagent

Open
#17,755 1 comment 0 reactions 0 assignees View on GitHub
🔒 maintainer only area/agent kind/enhancement priority/p2 status/bot-triaged workstream-rollup
Dominant language
TypeScript
Stars
107k
Forks
14.6k
Avg merge
2d 3h
Merged PRs (30d)
45

Description

A user should be able to use some keyboard shortcut to background/async a running subagent.

In this use case, we must:

- [ ] Ensure that confirmations from the async subagent are still shown to the user
- [ ] Ensure there is some visual indication for a user that an agent is running in the background
- [ ] When the subagent finishes, the results from the subagent should be naturally pulled into the context of the main agent. This could involve a system reminder appended to function responses

The exact mechanism to return context/feedback should be thought about. It could be a complete return at a correct moment in the ReAct loop, a simple context injection for the main model to go check a output log of the results that it can read, etc.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.