Rules & instructions Official

Windsurf Rules and Memories

Windsurf Cascade rules: global, workspace and enterprise rule files plus AGENTS.md support and auto-generated memories.

Author
Windsurf (Cognition)
Works with
Windsurf
Documented
Oct 2, 2026

What Windsurf Rules and Memories is

Rules tell Cascade how to behave. Global rules sit in global_rules.md, workspace rules in .devin/rules/*.md (legacy .windsurf/rules/), with enterprise system rules deployed by IT. AGENTS.md is processed by the same engine. Docs now brand the product Devin Desktop.

What it does

How Windsurf Rules and Memories plugs in: which agents run it and what it addsRUNS INYour agentWindsurfone host documentedRULES · OFFICIALWindsurf Rules and MemoriesProject instructions the agent re…4 install stepsno extra permissions listedWHAT IT ADDSWhat it doesWorkspace rules with activation m…Global rules file limited to 6,00…AGENTS.md: root is always-on, sub…Enterprise system-level rules, re…agent → extension → new capability · from the official repository or docs
Where Windsurf Rules and Memories runs and what it adds, from its documentation
  • Workspace rules with activation modes always_on, glob, model_decision, manual
  • Global rules file limited to 6,000 characters; workspace files 12,000 each
  • AGENTS.md: root is always-on, subdirectories auto-glob
  • Enterprise system-level rules, read-only for users
  • Auto-generated memories stored locally (legacy Cascade agent only)

When to use it

Good fit

  • Enforce coding conventions in Cascade
  • Share rules via the repo with AGENTS.md

Not for

  • Durable team knowledge in memories: they stay on your machine; docs recommend rules or AGENTS.md

How to install Windsurf Rules and Memories

You need: Windsurf / Devin Desktop

  1. Create .devin/rules/.md in the workspace (or legacy .windsurf/rules/)
  2. Set an activation mode for the rule
  3. Or add AGENTS.md in the repo
  4. Global: ~/.codeium/windsurf/memories/global_rules.md

Limitations

  • Character limits per rule file
  • Memories do not apply to the Devin Local agent

Tools it extends

No user reviews yet

AI coding IDE, formerly Windsurf, now Devin Desktop: manage local and cloud coding agents inside a full IDE.

Free stops at: Light quota for agent usage, resets daily and weekly, Limited model availability

Listed Not yet reviewed

Verified windsurf.com (opens Devin Desktop (formerly Windsurf) website in a new tab)

Frequently asked questions

Where do Windsurf workspace rules live?

In .devin/rules/*.md, with .windsurf/rules/*.md as fallback. source

Does Windsurf support AGENTS.md?

Yes, root AGENTS.md is always-on and subdirectory ones auto-glob. source

What are Windsurf rule size limits?

6,000 characters for global rules and 12,000 per workspace rule file. source

Are Windsurf memories shared with my team?

No, they are local to your machine and workspace. source

Sources and gaps

Not stated by the maintainers: repo_url is placeholder: product is closed source; Docs describe rebranding to Devin Desktop; Public source repository (closed source or not verified).

More extensions to look at