ailinks:

Zed/agent

Open the agent panel with a prompt

Opens Zed's agent panel with a prompt already in the composer.

macos · linux · windows · updated 2026-07-12

Format

zed://agent?prompt={prompt}

Try it

zed://agent?prompt=Read+https%3A%2F%2Fclerk.com%2Fdocs%2Fexpo%2Fgetting-started%2Fquickstart.mdOpen

What you supply

{prompt}optional

Text to place in the agent composer.

Form-encoded, so + is a space. A literal + must be written %2B. Encode : and / as %3A and %2F when 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 &.