Configure Open SWE with project-specific rules using AGENTS.md
AGENTS.md
” quick action which will insert a predefined prompt into the input. This prompt has been designed to generate a well-formatted AGENTS.md
file from the agent.
AGENTS.md
?AGENTS.md
is a markdown file that tells Open SWE about your project’s:
<general_rules>
yarn test
to run tests”, or “Run yarn build
to build the project”
<repository_structure>
packages
directory.”
<dependencies_and_installation>
package.json
unless adding a resolution.”
<testing_instructions>
yarn test
after making changes.”
<pull_request_formatting>
Testing Steps
section which includes bullet points describing how to test the changes.”
AGENTS.md
(recommended)AGENT.md
CLAUDE.md
CURSOR.md
AGENTS.md
as the standard filename for consistency across projects.<general_rules>
<repository_structure>
<dependencies_and_installation>
<testing_instructions>
<pull_request_formatting>
AGENTS.md
file should look like: