AgentNetworkProtocol: Instructions file for Codex

AGENTS.md

AgentNetworkProtocol AGENTS.md is an instructions file for Codex, OpenCode from agent-network-protocol/AgentNetworkProtocol. It costs 1,213 tokens per session, scanned A, original, Apache-2.0.

Repository guidelines for a project that publishes agent-network protocol documents, examples, and maintenance scripts. They describe where different kinds of files belong and which protocol changes are owned by this project.

In plain words
What is it for?
Use it when adding or editing protocol specifications, drafts, translations, examples, blog material, or maintenance scripts. It helps decide where new work belongs.
Why use it?
They reduce the risk of putting documents, profiles, or product-specific rules in the wrong place. They also clarify the boundary between shared protocol work and individual products.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md.

This is agent-network-protocol/AgentNetworkProtocol's own configuration. It tells Codex and OpenCode how to work on AgentNetworkProtocol itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything AgentNetworkProtocol configures →

About the project

AgentNetworkProtocol (ANP) is an open-source protocol suite that defines how software agents identify each other, discover services, negotiate, exchange secure messages, and collaborate. It is intended for developers building networks of interacting intelligent agents. The catalogue entries are instructions for working with ANP.

agent-network-protocol/AgentNetworkProtocol · 1,468 stars · on GitHub · agent-network-protocol.com

Reuse

Borrowing it

Nothing to install: this file belongs to agent-network-protocol/AgentNetworkProtocol. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/agent-network-protocol/AgentNetworkProtocol/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/agent-network-protocol/AgentNetworkProtocol

Made for: Codex, OpenCode.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for AgentNetworkProtocol AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/agent-network-protocol/agentnetworkprotocol/agents-md/github.svg)](https://agentmods.dev/instructions/agent-network-protocol/agentnetworkprotocol/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/agent-network-protocol/agentnetworkprotocol/agents-md"><img src="https://agentmods.dev/badge/instructions/agent-network-protocol/agentnetworkprotocol/agents-md/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for AgentNetworkProtocol AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/agent-network-protocol/agentnetworkprotocol/agents-md"><img src="https://agentmods.dev/badge/instructions/agent-network-protocol/agentnetworkprotocol/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,213 This file is loaded in full into every session.
When invoked 1,213 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.01213 $0.01213
Opus 5.5 $0.00485 $0.00485
Sonnet 5.5 $0.00243 $0.00243
Haiku 4.5 $0.00121 $0.00121

Measured 14d ago against content hash 1edf85fb5730, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

AgentNetworkProtocol AGENTS.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 14d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

AGENTS.md · 71 lines

How it starts

The opening of the file, as written. The whole thing — 71 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Repository Guidelines

Shared rules

Engineering work follows AI Coding Rules. Behavior changes and verification follow the relevant Verification Policy sections; production behavior needs owning unit coverage and applicable System/product E2E review. If Harness is absent, use local docs/tests/CI and disclose missing acceptance evidence.

Project Structure & Module Organization

  • Root contains protocol specifications and white papers (e.g., 01-*.md, 06-*.md, 07-*.md, 08-*.md).
  • Root and chinese/ hold the current ANP 1.2 core documents and the ANP-05 DID-based OAuth and VC authorization draft. ANP-05 remains v0.7 / Draft / not released and is outside ANP 1.2. message/ and chinese/message/ hold the full Messaging 1.2 catalog. ANP-06 remains a draft and P6 remains a candidate pending its registered MLS ExtensionType release gate.
  • Root vnext/ holds the ANP-01 white paper revisions and P4 group-messaging revisions in both languages. These revisions are unreleased drafts and are not part of ANP 1.2. Add a vNext copy of an existing specification or white paper only when its content changes; keep the original white papers aligned with origin/main and edit their revisions in vnext/.
  • docs/ and docs/chinese/ hold guides, links, and community operations.
  • ANP-05's detailed validation scenarios and stable AUTHZ-* identifiers live in docs/anp-05-validation-guide.md and docs/chinese/anp-05-validation-guide.md; the protocol's Section 14 retains conformance requirements and links to these guides.
  • chinese/ mirrors core documents in Chinese plus research notes and process docs.
  • blogs/ and blogs/cn/ store long-form articles; blogs/images/ holds blog assets.
  • images/ and standard/ provide shared figures and standards references.
  • examples/ contains sample ADP assets and API interface YAMLs.
  • scripts/ includes dependency-free Python and JavaScript utilities for repo maintenance.

Read the full file on GitHub · 71 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 14d ago Changed 1edf85fb5730
  2. 22d ago Changed · +12 tokens per session cdc22fd67305
  3. 1mo ago Changed · +3 lines · +225 tokens per session 739a8e49dd66
  4. 1mo ago Changed · +3 lines · +242 tokens per session 4b66fe9c3120
  5. 1mo ago Changed · +6 lines · -29 tokens per session b2ce05c42672
  6. 2mo ago Changed · +49 tokens per session 191da3bb7c0c
  7. 2mo ago First seen · 59 lines · 714 tokens per session scan A 154a16b5b15b

Subscribe to this mod's changes

AgentNetworkProtocol AGENTS.md is an instructions file published in the GitHub repository agent-network-protocol/AgentNetworkProtocol (1,468 stars, last pushed 7d ago), licensed Apache-2.0. It adds 1,213 tokens to every session, about $0.0049 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

AgentNetworkProtocol AGENTS.md compared with instructions from other repositories

AgentNetworkProtocol AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
AgentNetworkProtocol AGENTS.mdagent-network-protocol/AgentNetworkProtocolInstructions file1.5k7d agoApache-2.0A1,213Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode