Agent Context
How to attach various forms of multi-modal context directly to Warp's Agent within a prompt.
In Warp, you can pass different types of input directly to the Agent to guide its behavior and improve response quality. These inputs are known as Agent Context: ad-hoc pieces of information you manually supply during a session.
You can attach context in several ways:
Blocks as Context - share output from your terminal to help the Agent understand errors, logs, or previous commands.
Images as Context - include screenshots, diagrams, or other visuals to provide additional clarity.
URLs as Context - attach public webpages so the Agent can extract and reference their content.
Selection as Context - attach code snippets from the editor or review panel to enrich your prompts with precise context.
Using @ to Add Context - reference files, folders, code symbols, or Warp Drive objects directly in your prompts.
This is distinct from other persistent or automatic sources of context, such as Rules, Warp Drive as Agent Mode Context, and Model Context Protocol (MCP), which the Agent also uses when available.
Last updated
Was this helpful?