# agent_ui: Add a menu for inserting context \(\#47768\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 37b8f66df5d0d01ca59ccead0c1ef6d29563860e

Requested commit: 37b8f66df5d0d01ca59ccead0c1ef6d29563860e

Commit: 37b8f66df5d0d01ca59ccead0c1ef6d29563860e

Tree: ba6131b75fd24e5aed75fc86bd135800376b68d6

Author: Danilo Leal

Committer: GitHub

## Message

```
agent_ui: Add a menu for inserting context (#47768)

This PR swaps the @ icon button in the message editor for a + one, which
opens a dropdown that displays context options you can add to the agent.
Aside from removing one step if you're wanting to add context first with
the mouse (in comparison to just inserting @ in the message editor),
this menu will also house skills you've created, whenever we get to
support to that. It also works to surface images and selections in a bit
more visible way as context options. So, effectivelly, this is a bit of
foundation work for further features to come. Here's what it looks like:

<img width="500" height="586" alt="Screenshot 2026-01-27 at 11  38@2x"
src="https://github.com/user-attachments/assets/551686ba-4629-4317-9177-1e942512a23c"
/>

Note that all the options you see in the menu should also be available
through simply typing @ in the message editor.

Release Notes:

- Agent: Added a menu for inserting context more easily with the mouse
in the agent panel.
```

## Parents

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

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