Skip to content

Introducing AGENTS.md#48

Open
vinaysrao1 wants to merge 1 commit intomainfrom
vinaysrao1-introducing-agents-md
Open

Introducing AGENTS.md#48
vinaysrao1 wants to merge 1 commit intomainfrom
vinaysrao1-introducing-agents-md

Conversation

@vinaysrao1
Copy link

No description provided.

…to bbuild on top of Agentic AI Foundation standard
@annebdh
Copy link
Member

annebdh commented Mar 24, 2026

This document seems to be more about how we view writing a good AGENTS.md file, versus being one itself that should be applied org wide (eg via .github). If that's the case, I think we want to move this into project convention documentation, and then have the appropriate in-repo AGENTS.md files.

As an in-repo example from Apache Airflow: https://github.com/apache/airflow/blob/main/AGENTS.md


### File setup
- Place an `AGENTS.md` at the repo root alongside `README.md`.
- Create symlinks for tools that use their own filenames: `ln -s AGENTS.md CLAUDE.md` and `ln -s AGENTS.md .github/copilot-instructions.md`.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice, this is something i was going to suggest though wasn't sure if it worked or not. looks like it does!!

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

symlinks can be challenging Git + symlink behavior varies by configuration and OS - so using them in this way can lead to inconsistent experiences for developers.

That said - I think this is a reasonable approach for now and we can always look at alternatives if it becomes a problem in future.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This has worked for me. If there are better methods, please let me know and I can update.

### File setup
- Place an `AGENTS.md` at the repo root alongside `README.md`.
- Create symlinks for tools that use their own filenames: `ln -s AGENTS.md CLAUDE.md` and `ln -s AGENTS.md .github/copilot-instructions.md`.
- For monorepos, place additional `AGENTS.md` files in subdirectories. Agents read the nearest file in the directory tree; the closest one takes precedence.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i assume you should also remember to symlink these files as well to the appropriate spot

@tpepper
Copy link
Contributor

tpepper commented Mar 25, 2026

This document seems to be more about how we view writing a good AGENTS.md file, versus being one itself that should be applied org wide (eg via .github). If that's the case, I think we want to move this into project convention documentation, and then have the appropriate in-repo AGENTS.md files.

Agree and feels like we need both: a functional doc which is default baseline and symlinkable, and the philosophy / design doc guiding future mutations to the functional and customizations where not symlinking.


### File setup
- Place an `AGENTS.md` at the repo root alongside `README.md`.
- Create symlinks for tools that use their own filenames: `ln -s AGENTS.md CLAUDE.md` and `ln -s AGENTS.md .github/copilot-instructions.md`.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

symlinks can be challenging Git + symlink behavior varies by configuration and OS - so using them in this way can lead to inconsistent experiences for developers.

That said - I think this is a reasonable approach for now and we can always look at alternatives if it becomes a problem in future.

| CD | Release process, semver tagging convention, environments. What agents must not touch (e.g. production deploy scripts, release signing) | P1 |
| Security | No secrets in code, no disabling lint rules, check new packages for CVEs. Link to `SECURITY.md` if present | P0 |
| Dependencies | Rules for adding new deps (license, review process). What requires human approval | P1 |

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggest adding some guidance on things not to do like:

  • Don’t change license headers / legal text without human approval
  • Don’t modify release/signing/deploy workflows unless explicitly asked
  • Don’t add new dependencies without confirming license

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ack, will add

@vinaysrao1
Copy link
Author

This document seems to be more about how we view writing a good AGENTS.md file, versus being one itself that should be applied org wide (eg via .github). If that's the case, I think we want to move this into project convention documentation, and then have the appropriate in-repo AGENTS.md files.

Agree and feels like we need both: a functional doc which is default baseline and symlinkable, and the philosophy / design doc guiding future mutations to the functional and customizations where not symlinking.

Agreed. To anne's point, we do need agents.md for Coop and Osprey. They are diff codebases, diff languages etc. Once we agree on this, I am happy to write the AGENTS.md file for each. I would also be very keen to see if folks have something that works really well for them esp given that I am not a node.js or Typescript expert.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants