# agent: Support initial prompt via zed://agent URL schema \(\#47959\) · gitcafe/zed

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

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

Visibility: public

Requested revision: ad69357968abf8d06ce7fd34b2554f70143cebe9

Requested commit: ad69357968abf8d06ce7fd34b2554f70143cebe9

Commit: ad69357968abf8d06ce7fd34b2554f70143cebe9

Tree: 0eefd6a478dca3398197eaa3fb3d6ec5e2f50b2f

Author: Smit Barmase

Committer: GitHub

## Message

```
agent: Support initial prompt via zed://agent URL schema (#47959)

Adds `zed://agent?prompt=<url_encoded_text>` URL support to open the
Agent Panel with a pre-filled prompt.

Release Notes:

- Added support for opening the Agent Panel with an initial prompt via
`zed://agent?prompt=<url_encoded_text>` URL.
```

## Parents

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

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