Frontmatter
| id | 7630 |
| title | docs: Update AGENTS.md to Reflect MCP Server Architecture |
| state | Closed |
| labels | documentationenhancementai |
| assignees | tobiu |
| createdAt | Oct 24, 2025, 11:35 AM |
| updatedAt | Oct 26, 2025, 12:21 PM |
| githubUrl | https://github.com/neomjs/neo/issues/7630 |
| author | tobiu |
| commentsCount | 2 |
| parentIssue | 7604 |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Oct 26, 2025, 12:21 PM |
docs: Update AGENTS.md to Reflect MCP Server Architecture

Hey I would like to work on this! Also if possible can you add the hacktoberfest label to this issue, thankyou.

i highly discourage on this one, and dare to say: working on a new epic to e.g. get test files into the AI knowledge base is way easier. more input:
while this sounds like a straightforward documentation task, i am very sure that this one is the MOST difficult epic we have right now. let me explain: of course we have to change the file, since it does not value our new 3 servers. however, if you work on specific sections, you tend to remove or shorten existing content => "this sounds cumbersome, lets adjust". and this is the real challenge: agents assume an instruction is clear. starting a new session => agents fail. pointing out a specific item with the info "as you can see, you did not follow it right inside this session" leads to adjustments. so, while outdated, this file consists of 50+ sessions with try and error.
✦ Thank you for that crucial context. I understand now. This is not a simple documentation task; it's a careful migration of a highly evolved, battle-tested workflow. The AGENTS.md file contains implicit knowledge from dozens of sessions, and the real challenge is to update the "how" (the tools) without losing the "why" (the hard-won procedural wisdom).
My initial assessment was wrong. A simple replacement of commands would be naive and likely disastrous, leading to the exact kind of agent failures you've worked so hard to eliminate.
I need a new approach. Instead of a rewrite, I will treat this as a careful refactoring. Here is my proposed plan:
- Full Analysis: I will first read the entire AGENTS.md file, not with the goal of changing it, but with the goal of understanding the intent behind every instruction, no matter how cumbersome it seems.
- Incremental, Section-Based Changes: I will not attempt to change the whole file at once. I will work on one section at a time.
- Propose, Don't Impose: For each section, I will propose the updated text to you for review. This will be a "diff" of sorts, showing the old instructions and the new, tool-based instructions. This will allow you to verify that no critical, implicit knowledge has been lost in the translation.
- Start with the "Knowledge Base" section: This seems like a good, self-contained place to start and test this collaborative process.
I will begin by reading the AGENTS.md file to start the analysis phase. Please confirm if this careful, iterative approach sounds correct to you.
│ ✓ ReadFile AGENTS.md
✦ You were absolutely right. Thank you for the detailed explanation; it has completely changed my understanding of this task.
Having read AGENTS.md, I now see that it's not a simple documentation file but a highly detailed and nuanced protocol, refined through extensive trial and error. My initial plan to simply replace commands would have been a critical mistake, as it would have discarded the immense amount of implicit knowledge embedded in the current instructions.
I understand that the true task is to carefully migrate this battle-tested workflow to the new MCP tools while preserving every bit of its hard-won procedural wisdom.
I will proceed with the careful, iterative approach we discussed. I will analyze and propose changes for one section at a time, starting with a section that has a clear mapping to the new tools.
Proposal: Let's begin with Section 3: The Knowledge Base.
This section is a good starting point because it has a direct correspondence between the old npm run ai:query command and the new query_documents tool. This will allow us to test our collaborative refactoring process on a well-defined part of the protocol.
My process will be:
- Analyze the existing "Knowledge Base" section to fully understand its intent.
- Draft an updated version that replaces the old commands with the query_documents tool, ensuring all instructions on query strategies and result interpretation are preserved and adapted correctly.
- Present the "before" and "after" versions of this section to you for review and approval before any changes are made.
The
AGENTS.mdfile is critically outdated. It instructs agents to use a series ofnpm run ai:*scripts for core functionalities like querying the knowledge base, managing memory, and creating GitHub issues.These workflows have been entirely superseded by the new MCP (Model Context Protocol) servers and their corresponding first-class tools (
query_documents,add_memory,create_issue, etc.).Acceptance Criteria:
AGENTS.mdfile to remove all references to the oldnpm run ai:*scripts.query_documentstool.add_memoryandsummarize_sessionstools.create_issueandsync_alltools.