# Agent Mode Context

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

- 网址：https://funcoding.ai/agents/warp/knowledge-and-collaboration/warp-drive/agent-mode-context/
- 来源：Warp 官方文档原文（英文），MIT 许可，同步于 2026-10-11
- 官方原文：https://docs.warp.dev/knowledge-and-collaboration/warp-drive/agent-mode-context/

---
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](https://funcoding.ai/agents/warp/agents/capabilities/rules/))
* **MCP Servers** - External tools and data sources (see [MCP](https://funcoding.ai/agents/warp/agents/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](https://funcoding.ai/agents/warp/knowledge-and-collaboration/warp-drive/ai-objects/) - Overview of all AI-related objects in Warp Drive
