Claude Code 2.1.277 Adds AGENTS.md Support Via New Mods System
Anthropic engineer Thariq Shihipar announced that Claude Code version 2.1.277 now supports AGENTS.md files as a fallback when no CLAUDE.md is present. The feature is implemented through Claude Code mods, a new customization system for the coding agent's harness.
Anthropic has added support for AGENTS.md files to Claude Code, starting in version 2.1.277. According to Thariq Shihipar, an Anthropic engineer who announced the change on Twitter/X, Claude Code will now check for and use an AGENTS.md file in a folder if no CLAUDE.md file is present there.
What changed
CLAUDE.md has been Claude Code's standard mechanism for giving the coding agent persistent context and instructions about a project. AGENTS.md is a competing convention used by other coding agent tools to serve the same purpose: a plain-text file, typically placed at the root of a repository, that describes project structure, conventions, and instructions for an AI agent to follow.
With this update, Claude Code no longer requires developers to maintain a Claude-specific file if their repository already has an AGENTS.md from working with other tools. If both files are absent, or if CLAUDE.md exists, Claude Code's existing behavior is unchanged — AGENTS.md is only checked as a fallback.
Built on a new mods system
Shihipar's post notes that the AGENTS.md support is implemented through "Claude Code mods," described as an upcoming way to customize the Claude Code harness. The source code for the AGENTS.md mod is publicly available on GitHub in the anthropics/claude-code repository, and Anthropic has published additional mods in the same repository's mods directory.
Details on what mods are and how developers will be able to build their own remain limited. Anthropic has not published formal documentation on the mods architecture, its API surface, or when the system will be officially released as a general customization tool. The AGENTS.md integration currently appears to serve as a demonstration of the mods concept rather than a fully documented feature.
What this means
AGENTS.md's use has spread across multiple coding agent products — including tools from companies like Cursor's maker Anysphere, Cline, and others — as an attempt at a shared convention for agent instructions, similar to how README.md became a de facto standard for repository documentation. Anthropic's decision to support it as a fallback, rather than requiring CLAUDE.md exclusively, reduces friction for teams that already maintain AGENTS.md files for other tools and use Claude Code alongside them.
The more significant detail may be the mods system itself. If Anthropic opens up the Claude Code harness to third-party or user-defined customization, it could allow developers to modify how Claude Code parses configuration, handles context files, or integrates with existing workflows without waiting for Anthropic to ship each capability directly. That would mark a shift from Claude Code as a closed tool toward one with an extensible plugin-like architecture, though Anthropic has not yet detailed the scope of what mods will support at general availability.
Related Articles
Anthropic Relaunches Claude Code Projects to Coordinate Multiple Cloud Agents
Anthropic has relaunched Projects in Claude Code, letting users direct multiple AI agent 'threads' that work in parallel under a coordinating agent. The beta feature rolls out today to select Claude Pro and Max subscribers, with broader access planned later.
Anthropic Rebuilds Claude Code Projects to Run Parallel AI Agent Threads
Anthropic has rebuilt Claude Code's Projects feature so a coordinator agent splits user goals into parallel cloud-based threads, each capable of opening pull requests and running tests. The beta is limited to select Pro and Max subscribers, with Team, Enterprise, and local execution support coming later.
Anthropic Merges Claude Cowork Into Chat, Cuts Product Down to Two Modes
Anthropic is merging Claude Cowork with its standard chat interface, dropping Claude from three modes down to two: Chat and Code. The change rolls out to Pro and Max subscribers over the coming weeks, with Claude Docs, Claude Slides, and Claude Design now available directly inside conversations.
Anthropic Merges Claude Chat and Cowork Into Single Unified Product
Anthropic is merging Claude Chat and Cowork into one interface, letting Claude automatically determine task complexity instead of forcing users to switch environments. The update also adds Claude Docs and Claude Slides for creating and exporting documents and presentations directly in chat.
Comments
Loading...