Terminal configurations across engineering teams used to be an exercise in dotfile synchronization, Slack snippets, and broken runbooks. When AI agents entered the command line, that fragmentation got worse: five engineers working in the same monorepo would receive five completely different shell suggestions because none of their AI prompts shared context.
Warp addresses this by splitting shared knowledge into two distinct operational layers: git-versioned repository rules for project behavior, and cloud-synced Warp Drive assets for interactive team workflows, prompts, and MCP integrations.
365Finds has evaluated this hybrid setup across complex team environments. Getting it right requires understanding where to draw the boundary between your git tree and Warp's cloud drive.
1. Project-Level AI Rules: AGENTS.md vs. WARP.md
The first place to standardize team context is directly in the codebase. Warp reads repository instructions through Markdown rule files committed to version control. This ensures every developer—and the terminal AI agent—inherits the exact same build constraints, linting rules, and execution boundaries the moment they check out a branch.
File Naming and Precedence
Warp looks for two specific filenames at the repository root or within subdirectories:
AGENTS.md: The modern, cross-tool standard recommended by Warp for all new setups.WARP.md: The legacy configuration file, maintained for backwards compatibility.
Crucial Pitfall: Filenames must be strictly uppercase (
AGENTS.mdorWARP.md). If you name the fileagents.mdorWarp.md, Warp silently ignores it without warning. If both exist in the same directory,WARP.mdtakes precedence overAGENTS.md.
Creating and Structuring Project Rules
To initialize a baseline file, run the following slash command inside Warp's agent interface:
/init
Or open the existing rules file directly in Warp's side editor:
/open-project-rules
A clean, production-grade AGENTS.md should stay under 200 lines to avoid consuming excessive context tokens. 365Finds recommends structuring the file with concrete constraints:
# Repository Agent Guidelines
## Tech Stack & Tooling
- Package manager: Always use `pnpm`, never `npm` or `yarn`.
- Runtime: Node.js 22 LTS / TypeScript 5.6.
- Testing: Execute tests via `pnpm test:unit` before proposing file changes.
## Terminal Guardrails
- Never execute destructive database migrations without `--dry-run`.
- Do not suggest `rm -rf` commands targeting top-level build artifacts; use `pnpm clean`.
- Docker containers must be referenced by compose service names, not raw hash IDs.
## Code Generation Conventions
- Follow standard ESLint and Prettier configs in the repo root.
- All new API endpoints in `/src/routes` must export an OpenAPI schema definition.
Monorepo Scoping
In monorepos, place a global AGENTS.md at the repository root for organization-wide rules, and localized AGENTS.md files inside specific subdirectories (e.g., apps/web/AGENTS.md and services/worker/AGENTS.md). Warp evaluates root rules first, then layers subdirectory rules on top when your active shell session navigates into those paths.
2. Team Context Sharing with Team Warp Drive
While AGENTS.md handles passive constraints within code repositories, engineering teams need active, shared primitives: reusable prompts, parameterized commands, and external tool integrations. Warp provides this through Team Warp Drive, a cloud-synchronized workspace embedded in the terminal sidebar.
Invoking and Navigating Warp Drive
- Open the left sidebar in Warp or trigger the shortcut (
Cmd + Shift + Don macOS,Ctrl + Shift + Don Linux). - Locate the workspace switcher at the top. Toggle from Personal to your Team workspace.
- The Team section contains dedicated folders for Workflows, Prompts, Notebooks, and MCP Servers.
3. Creating Shared AI Prompts
Teams waste hours formulating one-off prompts for routine tasks like diagnosing failing test suites, parsing container logs, or drafting conventional commit messages.
Saving a Team Prompt
- In the Team section of Warp Drive, right-click Prompts and select New Prompt (or search "Create Prompt" in the Command Palette via
Cmd + P/Ctrl + P). - Define a title, descriptive trigger, and prompt body.
- Example: A standard PR triage prompt:
Title: Triage Staged Diff Description: Reviews git diff against repository standards Content: Inspect git diff --staged. Check for: 1. Unintentional console.log or debugger statements. 2. Missing unit test files for newly added business logic. 3. Adherence to conventional commit formats. Summarize your findings in three bullet points and propose a commit message. - Once saved in Team Warp Drive, any team member can invoke this prompt in Warp's AI Agent panel by typing
@or selecting it from the prompt menu. Updates made by a tech lead sync instantly to all team seats.
4. Standardizing Team Workflows
Workflows in Warp turn long, error-prone shell commands into parameterized forms that developers can execute without copying and pasting risky snippets from company wikis.
Defining Parameterized Workflows
To save a command as a shared workflow:
- Under Team > Workflows, click New Workflow.
- Supply a command string utilizing
{{argument_name}}syntax:docker compose exec {{service_name=api}} pnpm run migrate:up --target={{migration_version}} - Set descriptions and default values.
- Team members run workflows via the Command Palette (
Ctrl + RorCmd + P), which renders an interactive form prompt where arguments can be filled or kept at defaults before execution.
5. Sharing Model Context Protocol (MCP) Servers Safely
When engineering teams connect terminal agents to internal services—such as internal documentation APIs, GitHub issues, or PostgreSQL schemas—they configure MCP servers. Warp allows MCP configurations to be shared across a team while preventing credential leaks.
- Navigate to
Settings > Agents > Knowledge > MCP Serversor the Team > MCP Servers folder in Warp Drive. - Add the MCP server definition (specifying command, arguments, and required environment variables).
- Secret Hygiene: When you share an MCP server to your team, Warp automatically strips plaintext tokens and secrets. When a teammate opens the shared server definition, Warp prompts them to input their own personal access token locally.
6. 365Finds Assessment & Operational Trade-offs
365Finds strongly favors Warp's decision to support the open AGENTS.md format. Rather than locking project context into a proprietary database, keeping rules in git means you can change terminal emulators or integrate multi-agent CLI tooling down the line without rewriting team guidelines.
However, several operational trade-offs demand deliberate handling:
| Context Layer | Storage Location | Best Used For | Key Trade-off / Caution |
|---|---|---|---|
Project Rules (AGENTS.md) | Git Repository (Root/Subdirectory) | Toolchain mandates, linting rules, destructive command bans | Must be strictly uppercase; large files degrade LLM response speed |
| Team Prompts | Warp Drive (Cloud) | Standardized debugging routines, PR analysis, code review templates | Requires active team subscription; updates sync cloud-wide |
| Team Workflows | Warp Drive (Cloud) | Multi-flag deployment commands, database sync scripts, test runners | Developers must keep parameter defaults updated across releases |
| Shared MCP Servers | Warp Drive (Cloud) | Connecting AI to GitHub, database introspectors, internal tool APIs | Individual developers must still supply their own auth keys locally |
What frustrates 365Finds in practice is the silent failure of case mismatches on AGENTS.md and the lack of a terminal-level linting warning when rules conflict between root and deeply nested directories.
To maintain clean team operations, 365Finds recommends establishing a strict team rule: commit core technical boundaries and environment constraints to AGENTS.md in git, and reserve Team Warp Drive strictly for interactive prompts, runbooks, and parameterized commands.