# agent_ui: Display an activity bar for subagents waiting for permission \(\#52460\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/d3f5fc8466444c21332bfd70ba709d92c1903c88)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: d3f5fc8466444c21332bfd70ba709d92c1903c88

Requested commit: d3f5fc8466444c21332bfd70ba709d92c1903c88

Commit: d3f5fc8466444c21332bfd70ba709d92c1903c88

Tree: ac7214f91f10fa982b328cfa3cabd61aee072de0

Author: Danilo Leal

Committer: GitHub

## Message

```
agent_ui: Display an activity bar for subagents waiting for permission (#52460)

Closes https://github.com/zed-industries/zed/issues/52346

Given the parallel nature of subagents calls, it's possible that there
is a subagent way out of view that's waiting for the user to give
permissions. Right now, it's kind of hard to know this and you may think
something wrong is happening given the thread generation isn't making
any progress.

This PR adds an "activity bar" to the thread view that displays
subagents on a "waiting for confirmation" status. We display the
subagent's summary label as well as allow clicking on it to quickly
scrolling to that subagent.

<img width="500" height="1100" alt="Screenshot 2026-03-25 at 10  09@2x"
src="https://github.com/user-attachments/assets/17d2d398-25fc-4660-85c2-bf66ec98c1f1"
/>

Release Notes:

- Agent: Improved the experience of interacting with subagents waiting
for confirmation.
```

## Parents

- [086bece3f11a91679b046d9139d398c54059a0b2](https://git.cafe/gitcafe/zed/commit/086bece3f11a91679b046d9139d398c54059a0b2?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/d3f5fc8466444c21332bfd70ba709d92c1903c88?format=markdown)
