agentleFS
envoyproxyenvoyproxy/envoy/api/AGENTS.md

envoy / api

AGENTS.md29k starsChanged 13 days agoApache-2.0View on GitHub

Instructions for AI agents changing the xDS API protos under api/. These protos are consumed by many control planes and by xDS clients other than Envoy (e.g. gRPC), and the v3 API is never broken, so mistakes here are permanent. Read these in full before changing any .proto file. They are the canonical API guidance; this file deliberately does not repeat them. - API_VERSIONING.md: what counts as a breaking change. CI does not check wire or JSON compatibility, so you…

Trending

More talk lately.about the whole repository

Jan 2026: 0 mentionsFeb 2026: 0 mentionsMar 2026: 0 mentionsApr 2026: 2 mentionsMay 2026: 1 mentionJun 2026: 0 mentionsJul 2026: 1 mentionAug 2026: 1 mentionSep 2026: 0 mentionsOct 2026: 8 mentionsNov 2026: 2 mentionsDec 2026: 0 mentions
Jan 2026Jul 2026Dec 2026
Mentions a month of the envoyproxy/envoy repository that our weekly crawl found. There is no adoption data for this file yet.

Who's talking about envoyproxy/envoy

The biggest 5 of 79 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 79

Talked about on Stack Overflow, GitHub, YouTube, Hacker News and Bluesky (79 times).

On Stack Overflow · 30

25 more on Stack Overflow

On GitHub · 23

18 more on GitHub

On YouTube · 22

17 more on YouTube
  • Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.

    Of the AGENTS.md files we read, the 35,266 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.

  • In this repositoryOne other file it gives its agents.

The file

We split this AGENTS.md into the rules it gives an agent

2 rules. About 0 are common, 0 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Read these in full before changing any .proto file.

    line 9
  2. Very specific:

    Commit, then run ./tools/proto_format/proto_format.sh fix to regenerate BUILD files and formatting.

    line 22

≈ “Common” is an estimate: at least 1 in 5 of the 45,344 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
AGENTS.md

Guide for AI Agents: the xDS API (api/)

Instructions for AI agents changing the xDS API protos under api/. These protos are consumed by many control planes and by xDS clients other than Envoy (e.g. gRPC), and the v3 API is never broken, so mistakes here are permanent.

Read first

Read these in full before changing any .proto file. They are the canonical API guidance; this file deliberately does not repeat them.

  • API_VERSIONING.md: what counts as a breaking change. CI does not check wire or JSON compatibility, so you must.
  • STYLE.md: conventions, annotations, and how to document fields.
  • review_checklist.md: the questions API shepherds ask. Answer the relevant ones in the PR description.

Workflow

  1. Edit the .proto files. For a new extension, follow Adding an extension configuration to the API.
  2. Commit, then run ./tools/proto_format/proto_format.sh fix to regenerate BUILD files and formatting. The tool compares against the committed state, so commit before running it.
  3. Build the docs (./ci/do_ci.sh docs) when comments change, since RST errors only show up there.

Changing the API guidance

Copilot code review of the files under api/ is driven by .github/instructions/api-review.instructions.md. Copilot may not reliably follow links, so that file is generated by inlining API_VERSIONING.md, STYLE.md and review_checklist.md (minus procedural sections listed in tools/api/review_instructions/generate.py) after the review-specific header in tools/api/review_instructions/header.md. After editing any of them, run ./tools/proto_format/proto_format.sh fix; CI fails if the generated file is stale.

The header's applyTo: "api/**" scopes the guidance to the API files. Copilot also reviews the rest of a pull request, and pull requests without API changes, so the header must not tell it to ignore other paths: it only says that the API guidance does not apply to them.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.