AGENTS.md
AGENTS.md is the Bot's work rules file with the highest priority. It defines security boundaries, permission rules, reply formats, and other core behaviors.
Contents
- Security Boundaries — Define what the Bot must never do
- Permission Rules — Define permission behavior in different contexts
- Reply Format — Define the Bot's reply style and format requirements
- API Key Handling — Define how to safely handle sensitive information
Priority
AGENTS.md has higher priority than SOUL.md and system defaults. If rules in AGENTS.md conflict with SOUL.md, AGENTS.md rules take effect. This ensures security rules can't be overridden by persona settings.
How to Modify
Ask the Bot to modify the AGENTS.md file in private chat. Modify carefully, as incorrect rules may affect the Bot's normal operation.
Before modifying AGENTS.md, it's recommended to backup the current content first.