How can I prevent Autonomy from looking at certain files or folders?

Last updated: May 6, 2025

TL;DR

Use .autonomyignore to specify files or folders that AutonomyAI should never parse or include in ACE.

More info

The .autonomyignore is an optional file you can add that functions similarly to .gitignore, but it is specifically for AutonomyAI. It allows you to explicitly define files or folders that should be excluded from Autonomy’s Agentic Context Engine (ACE). Any path listed in this file will be ignored during context mapping, meaning Autonomy will not read, analyze, or rely on those files for code generation or understanding. This is useful for excluding legacy files, experimental code, or any areas of the codebase that should be off-limits for the agent. Simply list the relative paths in .autonomyignore, and Autonomy will respect those exclusions consistently.