Warp documentation
  • Getting Started
    • Quickstart Guide
    • What is Warp?
    • Supported shells
    • Migrate to Warp
    • Keyboard Shortcuts
    • Changelog
  • Agents
    • Warp AI
      • Agent Mode
  • Active AI
  • Generate
  • Voice
  • Terminal
    • Appearance
      • Themes
      • Custom Themes
      • Prompt
      • Input Position
      • Text, Fonts, & Cursor
      • Size, Opacity, & Blurring
      • Pane Dimming & Focus
      • Blocks Behavior
      • Tabs Behavior
      • App Icons
    • Blocks
      • Block Basics
      • Block Actions
      • Block Sharing
      • Block Find
      • Block Filtering
      • Background Blocks
      • Sticky Command Header
    • Modern Text Editing
      • Alias Expansion
      • Command Inspector
      • Syntax & Error Highlighting
      • Vim Keybindings
    • Command Entry
      • Command Corrections
      • Command Search
      • Command History
      • Synchronized Inputs
      • YAML Workflows
    • Command Completions
      • Completions
      • Autosuggestions
    • Command Palette
    • Session Management
      • Launch Configurations
      • Session Navigation
      • Session Restoration
    • Window Management
      • Global Hotkey
      • Tabs
      • Split Panes
    • Warpify
      • Subshells
      • SSH
    • More Features
      • Accessibility
      • Files, Links, & Scripts
      • Markdown Viewer
      • Working Directory
      • Smart-Select
      • Full-screen Apps
      • Notifications & Audible Bell
      • Settings Sync (Beta)
      • Quit Warning
      • URI Scheme
      • Linux
    • Comparisons
      • Performance
      • Terminal features
  • Integrations
  • Knowledge & Collaboration
    • Warp Drive
      • Notebooks
      • Workflows
      • Prompts
      • Environment Variables
      • Warp Drive on the Web
    • Model Context Protocol
    • Rules
    • Teams
    • Session Sharing
  • Privacy
    • Privacy
    • Secret Redaction
    • Network Log
  • Community
    • Refer a Friend & Earn Rewards
    • Warp Preview & Alpha Program
  • Support & Billing
    • Sending Feedback & Logs
    • Plans & Pricing
    • Updating Warp
    • Using Warp Offline
    • Logging out & Uninstalling
    • Known Issues
    • Troubleshooting Login Issues
    • Open Source Licenses
Powered by GitBook
On this page
  • How to access Rules
  • Managing Rules
  • Rules as Agent Mode context
  • Rules Privacy

Was this helpful?

  1. Knowledge & Collaboration

Rules

Provide more context to your Agent Mode interactions.

PreviousModel Context ProtocolNextTeams

Last updated 14 days ago

Was this helpful?

Warp's Rules feature allows you to create and store rules that provide context to Agent Mode interations for smarter and more tailored assistance. Warp can also suggest rules to you based on your interactions with Agent Mode. These rules can include:

  • Coding standards and best practices

  • Project and workspace guidelines

  • User-specific preferences

How to access Rules

  • From the > Personal > Rules

  • From the , search for "Open AI Rules"

  • From the Settings panel, Settings > AI > Knowledge > Manage Rules

  • From the macOS Menu, AI > Open Rules

Managing Rules

In the Rules pane, users can add, edit, delete any number of rules. Each rule includes a name (optional) and description.

Rules as Agent Mode context

Agent Mode can leverage the rules you created to tailor its responses. Rules that are pulled as context will be displayed in the conversation as a citation under "References" or "derived from".

Rules Privacy

See our for more information on how we handle data with Rules.

Privacy Page
Warp Drive
Command Palette
Rules Demo
Derived from rules
Rules as references
Context derived from memory
Context derived from memory