Repository navigation
Quotes
A quote takes something you selected in a pane and puts a precise reference to it into an agent's prompt, so you can say "fix this" and point instead of describe. You can add a message. Canopy never presses Enter for a quote, so you see exactly what the agent will get before you send it. Annotations are the exception: they are submitted.
This page is the reference for the quote menu and quote formats. For examples of quoting from each kind of pane, read Point Agents at Things.
- Select something in a pane. The quote icon appears next to the selection.
- Click the quote icon. The quote menu opens.
- Optionally type a request in Add a message (optional).
- Click an agent.
What you can select depends on the pane:
| Pane | How to select |
|---|---|
| File, or a preview in the Files panel | Select text. |
| Image | Drag a region, or click Quote image for the whole image. See Images and PDFs. |
| Turn on Highlight text, then drag across text. See Images and PDFs. | |
| Browser | Click Annotate, then click an element. Use Copy reference to copy the URL and source location or selector for the selected element. See Browser Pane. |
| Terminal | Not supported. Selecting terminal text copies it. |

The quote menu lists agents in this order:
- Wired to this pane: agents wired to the pane you quoted from. See Wiring.
- Your other running agents.
- New agent with this: your installed agents. Clicking one starts a new agent in the current space with the quote in its prompt.
Canopy expands the chosen agent's pane and pastes the quote. It waits up to 30 seconds for the agent to be ready to receive a paste. If the agent is not ready in time, nothing is sent.
Every quote starts with @ and the source: a file path (relative to the agent's folder when possible), or a URL. Your message, if you typed one, comes after a blank line.
| Source | Format |
|---|---|
| File lines |
@path:start-end, then the text in a code block. Markdown files use > lines instead. |
| Image region |
@path region x,y WxH crop-path, where crop-path is a saved copy of the region. |
| Whole image | @path |
@path page N, then the passage as > lines. |
|
Browser element from quote.send
|
@url, then the component and source file and lines when known, else a CSS selector, then the element's opening tag or text. |
For example, three lines of a Rust file with a message:
@src/api/login.rs:40-42
```rs
fn check_password(user: &User, given: &str) -> bool {
user.password == given
}
```
Use a constant-time comparison here.
Review the prompt, then press Enter in the agent to send it.
Annotations from a browser or simulator pane go straight to its sole wired agent. With none or several wired, you choose the agent with the button next to Annotate, which lists wired agents first and then the other running ones. Send does not open the quote menu, so New agent with this is not offered.
Canopy pastes the annotated screenshot as an image path, then pastes the numbered comments and submits the prompt. If the agent runs on another machine, Canopy copies the images there first. It presses Enter only once the pasted text shows in the agent's prompt, and never while the agent is waiting for an approval: answer that first, then send again. If the agent stops accepting input after the paste, the text stays in its prompt unsubmitted and the annotation closes, so it is never sent twice. Browser Pane and Simulator Devices describe the annotation tools.
- Point Agents at Things: examples for every pane kind.
- Concepts: where quotes fit among Canopy's ideas.
These pages come from docs/wiki. Change them with a pull request. Edits made on the wiki are overwritten.
Get started
Guides
The canvas
Panes
Agents
Make it yours
Reference
Help