Answer: Use the action "agent: add selection to thread" (keymap name agent::AddSelectionToThread), which adds the current selection as context for threads in the agent panel.
Status: Overdue (check was due 2026-11-20T13:39:19Z and has not succeeded)
Entry: tool/zed/agents-and-automation/add-selection-to-agent-thread
Revision: 2
Digest: sha256:11b1d2cf5f42f467 (changes whenever the content changes)
Timeline:
Created: 2026-11-13T04:00:54Z
Last changed: 2026-11-19T13:39:19Z (deprecated alias: agent::QuoteSelection → assistant::QuoteSelection)
Last verified: 2026-11-19T13:39:19Z
Next check: 2026-11-20T13:39:19Z
Check interval: Daily
Expected change: No fixed schedule
Data:
Field | Value | Source | As of
action | agent: add selection to thread | [1] | 2026-11-19
description | Add the current selection as context for threads in the agent panel. | [1] | 2026-11-19
keymap name | agent::AddSelectionToThread | [1] | 2026-11-19
deprecated alias | assistant::QuoteSelection | [1] | 2026-11-19
Sources:
[1] Zed Industries. "zed.dev/docs/all-actions.md". https://zed.dev/docs/all-actions.md
Role: primary. Accessed: 2026-11-19T13:39:19Z
Quote: "agent: add selection to thread" (Supports: action)
Quote: "Add the current selection as context for threads in the agent panel." (Supports: description)
Quote: "Keymap Name: agent::AddSelectionToThread" (Supports: keymap name)
Quote: "Deprecated Alias(es): assistant::QuoteSelection, agent::QuoteSelection," (Supports: deprecated alias)
Snapshot SHA-256: 96b46610444619ce051abe85323377c4bfa91e8c44f1cb9ae16c555b47cfa6de (captured 2026-11-19T13:39:18Z)
Verification:
Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1].
Cross-check: not-available at 2026-11-19T13:39:19Z. No independent second source is configured for this entry
Last successful check: 2026-11-19T13:39:19Z
Last attempt: 2026-11-19T13:39:19Z
Notes and limitations:
Extracted automatically from a single official source (section "All Actions"). Only the first 60,000 characters of the page text were read.
Human-readable page: https://zed.dev/docs/all-actions.html
Related:
https://latestn.com/tool/zed/agents-and-automation/agent-path-vs-llm-provider What is the difference between Zed Agent and External Agents in Zed?
https://latestn.com/tool/zed/agents-and-automation/agent-paths How do I choose between the Zed Agent and external agents for agentic work?
https://latestn.com/tool/zed/agents-and-automation/agent-paths-overview What agent paths does Zed support and how do I choose between them?
https://latestn.com/tool/zed/admin-and-enterprise/prerequisites-existing-extensions Do Zed extension publishing prerequisites apply to already published extensions?
https://latestn.com/tool/zed/admin-and-enterprise/remove-member How do I remove a member from a Zed organization?
https://latestn.com/tool/zed/admin-and-enterprise/stop-maintaining-extension What should I do if I no longer want to maintain my Zed extension?
https://latestn.com/tool/ All entries in AI tools
Change log:
Time | Event | Change | Source
2026-11-19T13:39:19Z | changed | deprecated alias: agent::QuoteSelection → assistant::QuoteSelection | [1]
2026-11-13T04:00:54Z | added | Entry created | —
Changes for this entry as a feed: https://latestn.com/tool/zed/agents-and-automation/add-selection-to-agent-thread/latest
Challenge this entry:
Open challenges: None
How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so.
Form: https://latestn.com/dispute/tool/zed/agents-and-automation/add-selection-to-agent-thread
POST: https://latestn.com/dispute/tool/zed/agents-and-automation/add-selection-to-agent-thread with claim, evidence_url, and optionally field and contact (form-encoded or JSON)
GET: https://latestn.com/dispute/tool/zed/agents-and-automation/add-selection-to-agent-thread?claim={what is wrong}&evidence_url={link}
How to cite:
LatestN. (2026). How do I add the current selection as context to a thread in the Zed agent panel? Revision 2, last verified 2026-11-19T13:39:19Z. https://latestn.com/tool/zed/agents-and-automation/add-selection-to-agent-thread (accessed 2026-11-21T10:06:02Z).
@misc{LatestN_tool_zed_agents_and_automation_add_selection_to_agent_thread_r2,
title = {How do I add the current selection as context to a thread in the Zed agent panel?},
author = {{LatestN}},
year = {2026},
howpublished = {\url{https://latestn.com/tool/zed/agents-and-automation/add-selection-to-agent-thread}},
note = {Revision 2; digest sha256:11b1d2cf5f42f467; last verified 2026-11-19T13:39:19Z; accessed 2026-11-21T10:06:02Z}
}
Reuse:
License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/)
Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation.
URL: https://latestn.com/tool/zed/agents-and-automation/add-selection-to-agent-thread