feature request: specific AGENTS.md files for different languages. #1251

Closed
opened 2026-02-16 17:30:10 -05:00 by yindo · 1 comment
Owner

Originally created by @jimsynz on GitHub (Aug 11, 2025).

Originally assigned to: @thdxr on GitHub.

So I have a global AGENTS.md that looks a big like this:

General rules for working with all programming languages
bunch of bullet points
General rules for working with Elixir
bunch of bullet points
General rules for working with Rust
bunch of bullet points

and since these rules are all getting longer and longer I'm wondering if we could dynamically include agent files based on the languages working worked with? ie if I open an elixir codebase it looks for $CONFIG_PATH/elixir/AGENTS.md or something similar.

Thoughts?

Originally created by @jimsynz on GitHub (Aug 11, 2025). Originally assigned to: @thdxr on GitHub. So I have a global AGENTS.md that looks a big like this: > **General rules for working with all programming languages** > _bunch of bullet points_ > **General rules for working with Elixir** > _bunch of bullet points_ > **General rules for working with Rust** > _bunch of bullet points_ and since these rules are all getting longer and longer I'm wondering if we could dynamically include agent files based on the languages working worked with? ie if I open an elixir codebase it looks for `$CONFIG_PATH/elixir/AGENTS.md` or something similar. Thoughts?
yindo closed this issue 2026-02-16 17:30:10 -05:00
Author
Owner

@thdxr commented on GitHub (Aug 11, 2025):

the underlying system for AGENTS.md doesn't exactly work in a way where this words. i'd maybe suggest looking at the agents feature

@thdxr commented on GitHub (Aug 11, 2025): the underlying system for [AGENTS.md](http://AGENTS.md) doesn't exactly work in a way where this words. i'd maybe suggest looking at the agents feature
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#1251