.firebender/rules/*.mdc for straightforward use cases.
AGENTS.md files are plain markdown with no frontmatter required. Perfect for simple, readable instructions.
File Locations
Firebender searches for AGENTS.md files in the following order:- Project directory (and parent directories):
.firebender/AGENTS.mdorAGENTS.md - Personal defaults:
~/.firebender/AGENTS.md
Format
AGENTS.md is a plain markdown file with no frontmatter required:AGENTS.md
Automatic Application
AGENTS.md files automatically apply to all conversations. You don’t need to specify file patterns or configuration - just write your instructions in plain markdown.Examples
Android App Guidelines
Android App Guidelines
AGENTS.md
Library/SDK Project
Library/SDK Project
AGENTS.md
Discovery
AGENTS.md files are automatically discovered when you start a conversation. No configuration infirebender.json is required.
Search Order
Firebender searches for AGENTS.md in this order:.firebender/AGENTS.mdin project rootAGENTS.mdin project root.firebender/AGENTS.mdin parent directories (walking up the tree)AGENTS.mdin parent directories (walking up the tree)~/.firebender/AGENTS.md(personal fallback)
Live Reload
AGENTS.md files are automatically reloaded when you save changes. The updated instructions take effect immediately - no need to restart or create a new chat.
Version Control
AGENTS.md files can be committed to version control to share instructions across your team:.gitignore if you want project-specific personal instructions:
When to Use AGENTS.md vs Rules
Related Documentation
- Rules - Structured rules with glob patterns and metadata
- Global Rules - Overview of rules system
- Commands - Custom AI commands for your workflow