Skip to content

Rules and preferences

Rules and preferences say how workers do the work. Each value shows where it comes from: you, your team, a project, the organization or the platform.

The pageLink to The page

Rules & Preferences has the tabs Preferences, Rules, Rulebook, Rails and Export. Pick a project, or no project for the organization's and your own values.

Add a ruleLink to Add a rule

  • Add a rule from a sentence: write the rule in your own words; Agent drafts it.
  • New rule: write it in full.
  • Add a file .agents/rules/<name>.md to a repository.

Where values come fromLink to Where values come from

Each preference shows the layer it comes from. A more specific layer wins: the run, the item, your private presets, the project, you, your team, the organization and the platform.

ExportLink to Export

Export to other tools writes files for other coding tools. Your own rules and private presets are never exported.

Rules and policiesLink to Rules and policies

Rules say how to do the work. Policies say what workers may do. See Policies.

Checked against the product on 2026-10-05.

Was this helpful?