agentleFS
MicrosoftKnown publishermicrosoft/Foundry-Agent-Solution-Templates/private-network-hosted-agent/AGENTS.md

Foundry-Agent-Solution-Templates / private-network-hosted-agent

AGENTS.md5 starsChanged 2 months agoMITView on GitHub

Preserve these invariants: - Terraform and azd are the default deployment path. Bicep remains a supported companion implementation. Keep both implementations behaviorally equivalent. - The default Hosted Agent is Python 3.13 source code with remote_build. - The opt-in ACR scenario consumes only a digest-pinned image from an existing enterprise ACR and creates only its Foundry project connection. - Public fallback, Dockerfiles, template-owned ACR resources, ACR networking, ACR IAM, App Insights, and Log Analytics are out of scope. - Do not…

  • Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.

    Of the AGENTS.md files we read, the 11,773 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 repository2 other files it gives its agents.

The file

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

4 rules. About 1 is common, 1 is distinctive, and 2 are very specific to this project.

  • ≈1

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    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:

    Do not weaken publicNetworkAccess, local-auth, CMK, private endpoint, or least-privilege defaults to make a test pass.

    line 12
  2. Common:

    Never put a site-to-site shared key in source, azd environment files, output, logs, or test fixtures.

    line 14
  3. Very specific:

    Before diagnosing an existing private ACR deployment, read docs/troubleshooting-existing-private-acr.md.

    line 18
  4. Distinctive:

    Do not claim an SLA, HA/DR, backup, continuous monitoring, compliance, production readiness, or complete CMK coverage unless current …

    line 31

≈ “Common” is an estimate: at least 1 in 5 of the 16,595 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

Contributor guidance

Preserve these invariants:

  • Terraform and azd are the default deployment path. Bicep remains a supported companion implementation. Keep both implementations behaviorally equivalent.
  • The default Hosted Agent is Python 3.13 source code with remote_build.
  • The opt-in ACR scenario consumes only a digest-pinned image from an existing enterprise ACR and creates only its Foundry project connection.
  • Public fallback, Dockerfiles, template-owned ACR resources, ACR networking, ACR IAM, App Insights, and Log Analytics are out of scope.
  • Do not weaken publicNetworkAccess, local-auth, CMK, private endpoint, or least-privilege defaults to make a test pass.
  • Never put a site-to-site shared key in source, azd environment files, output, logs, or test fixtures. Terraform necessarily records the configured value in its ignored local state and generated working files; treat both as secrets.

Before diagnosing an existing private ACR deployment, read docs/troubleshooting-existing-private-acr.md. Do not add development-only fixtures or environment-specific acceptance records to this template, publish them as template guidance, or treat their ACR, network, IAM, or Agent resources as template-owned. Review release artifacts for environment identifiers.

Customer-facing documentation must distinguish:

  • controls implemented and validated by this template;
  • capabilities, limits, privacy, and lifecycle behavior owned by Microsoft and cited from current Microsoft Learn documentation;
  • workload decisions and production evidence owned by the adopter.

Do not claim an SLA, HA/DR, backup, continuous monitoring, compliance, production readiness, or complete CMK coverage unless current Microsoft documentation and repository implementation support the exact claim.

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.