> For the complete documentation index, see [llms.txt](/llms.txt).
> Markdown versions of each page are available by appending .md to any URL.

# Agent Mode Context

Agents use your Warp Drive content—Workflows, Notebooks, Rules, MCP Servers, and Environment Variables—for context-aware responses.

Warp’s agents automatically pull context from your Warp Drive contents, including Workflows, Notebooks, Environment Variables, Rules, and MCP Servers, to generate responses tailored to your personal and team developer workflows. Referenced objects appear as citations in the conversation.

## Objects used as context

Agents can automatically pull in relevant context from:

-   **Workflows** - Saved commands and scripts
-   **Notebooks** - Documentation and notes
-   **Environment Variables** - Configuration values
-   **Rules** - Guidelines that shape agent behavior (see [Rules](/agent-platform/capabilities/rules/))
-   **MCP Servers** - External tools and data sources (see [MCP](/agent-platform/capabilities/mcp/))

When a Warp Drive object is pulled as context, it will be displayed in the conversation as a citation under “References” or “Derived from”.

## Settings

Enabled by default, this can be toggled in **Settings** > **Agents** > **Knowledge** > **Warp Drive as Agent Mode Context**.

## Related

-   [AI-Integrated Objects](/knowledge-and-collaboration/warp-drive/ai-objects/) - Overview of all AI-related objects in Warp Drive
