The open-source format for guiding any coding agent consistently
T

The open-source format for guiding any coding agent consistently

The open-source format for guiding any coding agent consistently

UI
22,651 stars
N/A forks
N/A contributors

README

Project documentation from GitHub

Agents.md: The Open-Source Format for Guiding AI Coding Agents

If you've ever tried to get an AI coding assistant to follow a specific set of instructions, style guidelines, or project rules, you know the drill. You write a detailed prompt, paste it in, and hope for the best. But on the next interaction, you're back to square one, repeating yourself or watching the agent forget your project's naming conventions. It's a consistent headache in an otherwise powerful workflow.

What if you could define those rules once, in a simple, portable file, and have any coding agent understand and follow them? That's the core idea behind Agents.md. It's an open-source specification aiming to bring consistency to how we instruct AI coding assistants, turning scattered prompts into a reusable project asset.

What It Does

Agents.md proposes a standardized markdown format for creating a guidance file—typically named AGENTS.md—that sits in your project's root directory. This file contains structured instructions, rules, and context that any compatible AI coding agent can read and adhere to. Think of it as a README.md for the AI, detailing how it should behave when working on your specific codebase.

The format covers the essentials you'd want to communicate: project overview, coding style (linting rules, naming conventions), architectural patterns to use or avoid, and even specific tasks or goals for the agent. It's a way to encapsulate your project's "personality" for an AI.

Why It's Cool

The clever part isn't just the idea of a guidance file; it's the push for an open standard. Right now, every AI coding tool has its own way of ingesting context (if it has one at all). Agents.md proposes a common language. If this gains traction, the same AGENTS.md file could work across different agents, IDEs, and platforms, making your project's guidelines truly portable.

It also tackles the "prompt amnesia" problem head-on. By placing the instructions in a persistent, version-controlled file, the core rules are always in scope, reducing the need for repetitive priming in every chat session. This makes interactions more efficient and the agent's output more consistent.

For teams, the potential is huge. You can onboard a new AI agent (or a new team member using one) by simply pointing it to the project's AGENTS.md. It ensures everyone's AI helper is playing by the same house rules, maintaining code consistency automatically.

How to Try It

The project is in its early stages, which is the perfect time to get involved. Head over to the Agents.md GitHub repository to see the full specification and examples.

  1. Read the Spec: Start by browsing the repo's RE

Did you like this issue?

Join our weekly newsletter

Related Projects

Love discovering amazing projects?

Help us continue bringing you the best open-source discoveries every week.

Back to Projects
Last updated: Jan 31, 2026