AGENTS.md vs CLAUDE.md?
AGENTS.md is the cross-tool standard; CLAUDE.md is Claude Code's equivalent. Keep both thin or converge on AGENTS.md with tool-specific files for extras.
Glossary · AGENTS.md
One instruction file every agent reads.
Direct answer
AGENTS.md is the cross-tool standard for repo-wide agent instructions (donated to the Linux Foundation's Agentic AI Foundation, Dec 2025): conventions, stack, test/build commands, architectural invariants — read by Cursor, Codex, OpenCode, Anvaya, and more. Measured impact: ~29% lower median runtime and ~17% fewer output tokens on PR-sized tasks. Rules: only what the agent can't infer from code, short, versioned in PRs, pruned ruthlessly; nested files merge with specific-wins.
In Anvaya
Questions
AGENTS.md is the cross-tool standard; CLAUDE.md is Claude Code's equivalent. Keep both thin or converge on AGENTS.md with tool-specific files for extras.
Stack + versions, test/lint/build commands, non-obvious conventions, hard constraints. Not: codebase tours the agent can read itself.
Nested files: root holds universal truths, packages hold specifics, specific-wins merging. Scope rules by glob so agents load only their package.
One binary. 11+9 Rust crates. 545 tests. Hand-written HNSW index. Three transport modes. Four providers, Ollama, Anthropic, OpenAI, Siemens. Zero API keys required to start. Mind remembers everything after the first session.