Introduction
RM Context is a project intelligence toolkit for AI coding agents. It scans your repository into a knowledge base that lives in the repository itself (.rmcontext/). From there it provides:
- a knowledge graph backed by source evidence
- professional documents
- delivery plans
- an offline viewer
The core is a dependency-free Node.js CLI that works with any editor or agent. Platform integrations add specialised agents, automatic agent routing and adaptive model routing on top. Claude Code is the integration available today; others are planned (see Supported AI platforms).
Why RM Context?
- Agents forget; repositories don't. Knowledge about the project is kept in versioned files instead of being rediscovered every session.
- Claims carry evidence. Every fact in the graph points to a file and line, with a confidence of
verified, inferred or manual.
- One shared model of the project. Requirements, design, code, infrastructure and plan are linked, so you can trace a business requirement to the code, tests and tasks behind it, and see what a change affects.
- Cost-aware. Each delegated task gets the smallest model tier that can do it well.
Core capabilities
| Area | What you get |
|---|
| Scanning | Incremental scan, stack detection, routes, schemas, imports, dependencies, containers and pipelines, with secret exclusion |
| Knowledge graph | 38 node types across business, system, engineering, infrastructure and project layers; 12 relationship types; impact analysis; traceability |
| Documents | 49 templates with validation, versions, an approval gate, and HTML, PDF and DOCX export |
| Project management | Plan validation, Gantt chart, critical path, WBS, roadmap, progress based on evidence, health report |
| Viewer | Offline single-file project viewer: overview, file explorer, code, API and database explorers, eight graph views for large graphs |
| Automatic context | Claude Code hooks add a compact project summary per session, relevant knowledge per prompt, and one incremental refresh per turn |
| Routing | Task category → default agent and model tier, with escalation and metrics |
Supported AI platforms
The full breakdown is in the compatibility matrix.
Architecture overview
RM Context Core (platform-independent)
CLI · Scanner · Context store · Knowledge graph · Document engine · Plan & Gantt · Task classifier · Model router
▲ shell calls
Platform adapters (platform-specific)
Claude Code (supported) · Codex · OpenCode · Cursor (planned)
agents · commands · model selection · hooks · permissions
Business logic lives in the core. Adapters translate a platform's agent invocation and model selection into the shared workflow. See docs/INTEGRATION_ARCHITECTURE.md.
Professional AI teams
Requires a platform adapter: currently Claude Code.