AGENTS.md vs HUMANS.mdOne file for the code, one for you.

AGENTS.md tells agents how to work on your code. HUMANS.md tells them how to work with you.

They serve different purposes: repository instructions and portable, owner-declared preferences. Personal instructions and memory can also express preferences.

Two files, side by side

repo/AGENTS.mdillustration

## Build and test
Run npm test before every commit.

## Conventions
TypeScript, strict mode.

## Deploys
Ask before you deploy.

The repository: what an agent may do here.

~/.humans/HUMANS.mdthe real example

reading:  lead_with: tldr  max_words: 149  visual: [table, example]deciding:  reversible: decide_and_report  batch_questions: end_of_task  default_answer: always  question_style: yes_confirms_recommendationinterrupting:  interrupt_for: blocking_only

You: how it writes to you, asks, interrupts.

AGENTS.mdHUMANS.md
What it describesA codebase: build, tests, conventionsA person: what they read, what they decide, when to interrupt them
Who writes itThe maintainers of a repositoryAn agent or the person may draft it; the person it describes approves every field
Who reads itCoding agents working in that repositoryA compatible integration working for that person or writing to them, subject to visibility
Where it livesAt the root of a repository, nested per package~/.humans/HUMANS.md for you, like ~/.codex/AGENTS.md; humans/<id>.md to share it in a team repository
FormatFree Markdown, no required fieldsStructured YAML preferences and voluntary notes; schema and consumer checks
Free textAll of it is free textSource processed by the provider during hosted compilation; chosen notes may reach recipients
PermissionsCan tell agents what they may runExpresses consultation preferences; grants no permission
When both disagreeWins on what an agent may do in the repositoryAdapts presentation within repository and harness rules

Use both

An AGENTS.md best practice: keep it about the repository, and keep how you like to work out of it. Write your personal source in ~/.humans/source.md, review the compiled profile and who can read it, then use a compatible integration to pass a validated projection as data. A hosted compilation provider processes your source; recipients receive the approved profile data, including voluntary notes where allowed.

No diagnosis is required or inferred. You may choose to retain personal or medical information. See integration paths and verification status.

When they disagree

The repository wins on what an agent may do. If an AGENTS.md says “ask before you deploy”, the agent asks, even if your HUMANS.md says to decide reversible things alone. Within those rules, HUMANS.md expresses how you prefer the agent to talk to you: what comes first in a message, how questions are grouped, and when it may interrupt you. The rule is in § 4 of the spec.

Other files with the same name or idea

None of these is a profile:

  • Contributor lists, in the spirit of humans.txt: the people behind a project.
  • attogram/agents: guidance for people who work alongside an AI assistant.
  • ayghri/i-have-adhd: an output-style skill for coding agents; you change it by editing its SKILL.md.
  • thellmwhisperer/human.md: a working-hours guard; your own agent stops outside allowed hours, breaks and session limits.
  • hehamalainen/Humans.md: collaboration rules for one repository, with approvals, risk gates and a verification plan.
  • Arcadi4/HUMANS.md: notes that agents are denied access to.

A HUMANS.md profile describes one person, for agents, and follows that person across repositories. It is the file whose YAML frontmatter declares humans: "0.3", or "0.2" for a profile written under the previous draft; conforming consumers treat every other file as absent. The full comparison is in § 1 of the spec.

Write yours.

Three steps, about ten minutes, nothing to install until you check the result.

Start with your own wordsRead the example profile