SuperAPI AI Directory

routemind

RouteMind is a dynamic knowledge routing system for AI agents. It does not rely on similarity retrieval; instead, a routing table is maintained manually: documents are divided into multiple regions, and each region is described in one sentence stating "when this region should be visited." The agent first reads these sentences, selects a region, and then navigates down the tree structure layer by layer to locate the specific document. The system is provided as an MCP server, with data stored in a Git repository and no database required. The project is positioned as a research prototype, suitable for scenarios where documents are highly similar and retrieval is prone to confusion, but it has high costs and depends on manual maintenance.

Open website

About this tool

RouteMind is a dynamic knowledge routing system designed for AI agents, aimed at solving the problem that traditional similarity retrieval is prone to errors when documents are highly similar. Its core idea draws on network routing: each knowledge region only "advertises" when it is relevant, rather than all of its content. Before reading documents, the agent first reads the region list (one sentence description per region), selects the most relevant region, and then proceeds down the tree structure layer by layer, ultimately locating the target document. The entire process is enforced by the MCP server, every step records the reason, and the map can replay the walking path of the last six hours.

Main capabilities include:

  • Manually maintained routing table: regions, description lines, and documents are all data, stored in the user's own Git repository, and every change is a commit.
  • MCP server: provides four tools—read the table, read a document, place a document, read another RouteMind.
  • No database: relies only on Git and two containers (ontology is responsible for API and Git operations, web provides the map and proxy).
  • Explainability: each walk starts from hop 0, every step records the reason, and the map can replay it.
  • Write decisions: when the agent archives a document, it can create containers and move sibling documents; all affected table rows must be preserved or rewritten, otherwise nothing is written.

Usage:

  • Install via Docker Compose; the containers include Python and Git. On first installation, you can choose to start from the example backend (five regions, 74 documents).
  • Agents connect via the MCP protocol; Claude Code can automatically discover the server in .mcp.json.
  • The region list appears in the server instructions, so the agent does not need to mention RouteMind in the question.

Applicable scenarios:

  • There are many similar versions, adjacent codes, or policies that differ only by conditions among documents, and traditional retrieval tends to return wrong results.
  • The team frequently answers from the wrong revision, or retrieval always returns adjacent rows.
  • Willing to invest manpower in maintaining the routing table and accept the relatively high cost per query.

Limitations and risks:

  • High cost: a walk averages 6.7 tool calls, takes 23–111 seconds, and costs $0.12–$0.28 per question, which is 20–100 times that of embedding retrieval.
  • Depends on manual maintenance: the routing table needs weekly updates; an outdated table is worse than none, because the agent will confidently follow the errors.
  • Single point of failure: a wrong sentence in the map will cause the agent to go the wrong way, with no automatic flagging.
  • Scale unverified: only small maps have been tested (5 regions vs 30); dozens of real regions or tens of thousands of documents have not yet been tested.
  • Research prototype: only one maintainer, with no known external teams running it.
  • Not suitable for scenarios where documents are not similar, retrieval is already good enough, cost-sensitive, or hosted multi-tenancy is required.

The project uses the MIT license, and all evaluation data, corpus generators, and run records are public in the repository.