> 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.

[Agent Mode](/agent-platform/local-agents/interacting-with-agents/) can leverage your [Warp Drive](/knowledge-and-collaboration/warp-drive/) contents to tailor responses to your personal and team developer workflows and environments.

## 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
