Zed/agent
Open the agent panel with a prompt
Opens Zed's agent panel with a prompt already in the composer.
Format
zed://agent?prompt={prompt}Try it
zed://agent?prompt=Read+https%3A%2F%2Fclerk.com%2Fdocs%2Fexpo%2Fgetting-started%2Fquickstart.mdOpenWhat you supply
{prompt}optionalText to place in the agent composer.
Form-encoded, so
+is a space. A literal+must be written%2B. Encode:and/as%3Aand%2Fwhen the prompt contains a URL.
zed://agent/?prompt=… works identically — the trailing slash is optional, and a bare
zed://agent opens the panel with an empty composer.
The prompt is treated as coming from an external source, which is a distinct state inside Zed rather than just pre-filled text. That is the mechanism behind the pattern this link is built for: pointing an agent at a documentation URL and letting it read its way in.
Because the value is form-encoded, a prompt containing a URL needs its : and / escaped, or
the query parser will cut the prompt short at the first &.