AGENTS.md@templates/agent-memoryA

AGENTS.md@templates/agent-memory from mex-memory/mex is an AGENTS.md file: the standing instructions coding agents read in that repo.

Install it, pinned
mdr add mex-memory/mex/templates/agent-memory/AGENTS.md@git:20260909.d038eea

Pins git:20260909.d038eea in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 14 of 14 checks passed
Kind
AGENTS.md file
Repository
mex-memory/mex
Path
templates/agent-memory/AGENTS.md
Versions recorded
5
Latest version
git:20260909.d038eea, committed Sep 9, 2026
First version recorded
May 14, 2026
Size
3,463 bytes
Repository stars
1,794
License
MIT

Always-loaded operating contract for a persistent AI agent workspace.

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

# [Agent / Workspace Name]

## What This Is
<!-- One sentence. What environment or agent does this scaffold describe? -->

## Non-Negotiables
<!-- 3-5 hard safety/operational rules the agent must never violate. -->

## Commands
<!-- Exact commands for health checks, service status, restart/recovery, and mex maintenance. -->

Use the smallest relevant structured resolver. For Inbox or Relay mutations, resolve only the intended action with `mex inbox contract --action <command-id> --json` or `mex relay contract --action <command-id> --json`; use `mex capabilities --json` only for broader capability discovery. If the user explicitly asks to create, save, or draft a checkout-local Inbox or Relay draft, preview and apply that exact draft without asking for redundant confirmation. Deleting a local draft, or publishing, approving, rejecting, withdrawing, marking stale, repairing, taking or acknowledging, or closing, requires fresh explicit confirmation after semantic preview. Treat Git commit, push, and pull as separate actions requiring their own authorization.

## GROW
After meaningful work:
- Ground: what changed in reality?
- Record: update `ROUTER.md` and relevant `context/` files
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add mex-memory/mex/templates/agent-memory/AGENTS.md@sha256:778cb5757f9ae086

The line at the top of this page pins the label git:20260909.d038eea, 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_ap5bribp2gnjw3zo.svg)](https://markdownregistry.com/a/art_ap5bribp2gnjw3zo)

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

Versions

The registry has recorded 5 versions of this file, between May 14, 2026 and Sep 9, 2026, about one every 30 days.

versioncommittedcommitsizeaudit
git:20260909.d038eea latest2026-09-09 d038eea 3,463 BA view · diff
git:20260908.d5542582026-09-08 d554258 3,243 BA view · diff
git:20260901.206ac892026-09-01 206ac89 2,312 BA view · diff
git:20260826.464e2e32026-08-26 464e2e3 1,136 BA view · diff
git:20260514.612a4d02026-05-14 612a4d0 938 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 (3463 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

mex-memory/mex · 1,794 stars · license MIT · pushed 2026-11-04 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_ap5bribp2gnjw3zo
GET https://markdownregistry.com/api/v1/resolve?ref=mex-memory/mex/templates/agent-memory/AGENTS.md
GET https://markdownregistry.com/api/v1/blob/778cb5757f9ae08677e39b9df7613cc646300e77ec7cb375c553b945d2e8bef8

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 mex-memory/mex

mex-inbox SKILL.md skill
mex-memory/mex · .agents/skills/mex-inbox/SKILL.md · Draft and review contributions to existing MEX project knowledge. Use when the user asks to capture a discussion or…
git:20260909.d038eea · audit A · 1,794 stars
mex-relay SKILL.md skill
mex-memory/mex · .agents/skills/mex-relay/SKILL.md · Prepare and manage durable MEX team handoffs. Use when the user asks to hand work to a person or team, prepare an…
git:20260909.d038eea · audit A · 1,794 stars
mex-inbox SKILL.md skill
mex-memory/mex · .claude/skills/mex-inbox/SKILL.md · Draft and review contributions to existing MEX project knowledge. Use when the user asks to capture a discussion or…
git:20260909.d038eea · audit A · 1,794 stars
mex-relay SKILL.md skill
mex-memory/mex · .claude/skills/mex-relay/SKILL.md · Prepare and manage durable MEX team handoffs. Use when the user asks to hand work to a person or team, prepare an…
git:20260909.d038eea · audit A · 1,794 stars
.cursorrules Cursor rule
mex-memory/mex · .mex/.tool-configs/.cursorrules · Always-loaded project anchor. Read this first. Contains project identity, non-negotiables, commands, and pointer to…
git:20260917.1d4bff8 · audit A · 1,794 stars
CLAUDE.md@.mex/.tool-configs CLAUDE.md file
mex-memory/mex · .mex/.tool-configs/CLAUDE.md · Always-loaded project anchor. Read this first. Contains project identity, non-negotiables, commands, and pointer to…
git:20261028.a318e2d · audit A · 1,794 stars
AGENTS.md@.mex AGENTS.md file
mex-memory/mex · .mex/AGENTS.md · Always-loaded project anchor. Read this first. Contains project identity, non-negotiables, commands, and pointer to…
git:20261008.fbc29a8 · audit A · 1,794 stars
AGENTS.md AGENTS.md file
mex-memory/mex · AGENTS.md
git:20261028.a318e2d · audit A · 1,794 stars
CLAUDE.md CLAUDE.md file
mex-memory/mex · CLAUDE.md
git:20261028.a318e2d · audit A · 1,794 stars
mex-inbox SKILL.md skill
mex-memory/mex · skills/mex-inbox/SKILL.md · Draft and review contributions to existing MEX project knowledge in the repo wiki. Use when the user wants to capture a…
git:20260925.e6fa172 · audit A · 1,794 stars
mex-relay SKILL.md skill
mex-memory/mex · skills/mex-relay/SKILL.md · Prepare and manage durable MEX team handoffs in git-native project memory. Use when the user asks to hand work to a…
git:20260925.e6fa172 · audit A · 1,794 stars
mex-statechart SKILL.md skill
mex-memory/mex · skills/mex-statechart/SKILL.md · Explain complicated existing behavior using checked state diagrams. Use when asked for a state diagram, to diagram the…
git:20261028.a318e2d · audit A · 1,794 stars

Every file in mex-memory/mex

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