docs: add tool-agnostic AGENTS.md for AI coding agents#1469
docs: add tool-agnostic AGENTS.md for AI coding agents#1469jsonmp-k8 wants to merge 3 commits intokagent-dev:mainfrom
Conversation
There was a problem hiding this comment.
Pull request overview
Replaces the repository’s AI-agent guidance by removing CLAUDE.md and introducing a new consolidated AGENTS.md guide for agents working in the kagent repo.
Changes:
- Delete the existing
CLAUDE.mddevelopment guide. - Add
AGENTS.mdwith expanded project architecture, repo layout, build/test commands, and conventions. - Document CI/CD pipeline expectations and key architectural patterns (MCP, memory, SDK, etc.).
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
CLAUDE.md |
Removes the previous AI-agent development guide. |
AGENTS.md |
Adds a new, expanded AI-agent repository guide (commands, conventions, architecture, CI overview). |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
Can you please structure the diff such that it’s more apparent what changed? Maybe moving the file and then editing |
888df2c to
134a735
Compare
Added the rename and changes into two different commits. Other than formatting, My changes were this https://github.com/kagent-dev/kagent/pull/1469/changes#diff-a54ff182c7e8acf56acfd6e4b9c3ff41e2c41a31c9b211b2deb9df75d9a478f9R239-R254 |
134a735 to
8728936
Compare
|
8728936 to
b9db9c6
Compare
|
Iirc Claude doesn’t pick up agents.md, has that been fixed? If not I think we might need a solution that works for Claude code |
Added a link to the claude.md file to be on the safer side and Agents.md file can be the default file referred by all AI tools |
Rename to a tool-agnostic filename that works across all AI coding agents, not just Claude Code. Signed-off-by: Jaison Paul <paul.jaison@gmail.com>
…ions - Add code reuse section to discourage duplicating functions/utilities - Add naming conventions section requiring descriptive variable and function names across all languages - Expand repo structure with docker, contrib, design, docs, scripts, test - Add per-language development details (Go modules, Python tooling, UI stack) - Add CI/CD pipeline breakdown and architectural patterns (MCP, memory, SDK) - Fix make lint description to clarify it only covers Go + Python - Add separate UI lint command (npm -C ui run lint) Signed-off-by: Jaison Paul <paul.jaison@gmail.com>
Ensures Claude Code automatically loads AGENTS.md instructions by adding a CLAUDE.md pointer file. Signed-off-by: Jaison Paul <paul.jaison@gmail.com>
aebc134 to
2dcb526
Compare
Thank you, so the latest change should help |
Summary
AGENTS.mdthat works across all AI coding agents (Claude Code, Cursor, Copilot, etc.)CLAUDE.mdpointer file so Claude Code automatically loadsAGENTS.mdinstructionsChanges
AGENTS.mdwith the following sections:CLAUDE.mdthat referencesAGENTS.md, ensuring Claude Code automatically picks up the instructionsTest plan
AGENTS.mdrenders correctly on GitHubCLAUDE.mdcauses Claude Code to loadAGENTS.mdinstructions