AGENTS.md@javaA

AGENTS.md@java from github/copilot-sdk is an AGENTS.md file: the standing instructions coding agents read in that repo.

Install it, pinned
mdr add github/copilot-sdk/java/AGENTS.md@git:20261004.6b4f3a3

Pins git:20261004.6b4f3a3 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 14 of 14 checks passed
Kind
AGENTS.md file
Repository
github/copilot-sdk
Path
java/AGENTS.md
Versions recorded
4
Latest version
git:20261004.6b4f3a3, committed Oct 4, 2026
First version recorded
Sep 22, 2026
Size
4,450 bytes
Repository stars
10,564
License
MIT

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

<!-- Copyright (c) Microsoft Corporation. All rights reserved. -->

# Java SDK

This directory is the Java SDK's Maven reactor. Paths and commands below are
relative to this directory, whether it is nested at `src/sdk/java` or exported
as `java`. Keep API usage examples in [README.md](README.md), the
[SDK documentation](../docs/getting-started.md), and public Javadoc rather than
duplicating them in these contributor instructions.

## Layout and compatibility

- `sdk/src/main/java/` contains the handwritten client, session, and RPC APIs.
  `sdk/src/test/java/` contains unit and integration tests.
- `sdk/src/generated/java/` contains generated protocol and event types.
- `copilot-native/` packages platform-specific runtime artifacts separately
  from the pure-Java SDK.
- Build with **JDK 25 or later**, as required by [sdk/pom.xml](sdk/pom.xml).
  The base sources target Java 17; Java 25-specific implementations belong in
  the existing `sdk/src/main/java25/` multi-release overlay. Do not raise the
  base target or introduce newer APIs into the Java 17 sources.

## API conventions

- Preserve the `CompletableFuture`-based asynchronous API and fluent setters
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add github/copilot-sdk/java/AGENTS.md@sha256:9b9abc8f23ca9c08

The line at the top of this page pins the label git:20261004.6b4f3a3, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_vceohmvqt2fv5c5l.svg)](https://markdownregistry.com/a/art_vceohmvqt2fv5c5l)

4 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 4 versions of this file, between Sep 22, 2026 and Oct 4, 2026, about one every 4 days.

versioncommittedcommitsizeaudit
git:20261004.6b4f3a3 latest2026-10-04 6b4f3a3 4,450 BA view · diff
git:20260930.5792c402026-09-30 5792c40 4,474 BA view · diff
git:20260922.cb6fc662026-09-22 cb6fc66 4,321 BA view · diff
git:20260922.51a03942026-09-22 51a0394 3,945 BA view

Audit of the latest version

A  14 of 14 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Size between 200 bytes and 200 KB (4450 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

github/copilot-sdk · 10,564 stars · license MIT · pushed 2026-10-21 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_vceohmvqt2fv5c5l
GET https://markdownregistry.com/api/v1/resolve?ref=github/copilot-sdk/java/AGENTS.md
GET https://markdownregistry.com/api/v1/blob/9b9abc8f23ca9c083b2959566de23c405e0a260b7ba2320fb202615c89733b1f

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: how to write a good AGENTS.md · AGENTS.md vs CLAUDE.md · which agent file does what.

More from github/copilot-sdk

AGENTS.md@docs AGENTS.md file
github/copilot-sdk · docs/AGENTS.md
git:20260922.51a0394 · audit A · 10,564 stars
AGENTS.md@dotnet/test/E2E AGENTS.md file
github/copilot-sdk · dotnet/test/E2E/AGENTS.md
git:20260922.51a0394 · audit A · 10,564 stars
AGENTS.md@rust AGENTS.md file
github/copilot-sdk · rust/AGENTS.md
git:20261021.15fe467 · audit A · 10,564 stars

Every file in github/copilot-sdk

Browse by kind, by grade A, or by owner.