Make software architecture observable, understandable and continuously improvable.
ArchMind is an architecture intelligence platform that helps engineering teams understand their software systems, identify architectural risks and make better design decisions.
Give engineering teams a continuously updated understanding of their software architecture — from code structure and dependencies to architectural health and governance.
- System Explorer — Explore components, dependencies and system structure.
- Architecture Governance — Define and evaluate architectural rules and principles.
- Change Impact Analysis — Understand the architectural impact of code changes.
- Architecture Health — Identify coupling, complexity and architectural risks.
- AI Architecture Assistant — Ask questions, explore trade-offs and get evidence-based recommendations.
The first version focuses on TypeScript repositories:
- Connect a GitHub repository.
- Analyse its source code.
- Build an architecture model and dependency graph.
- Visualise the system structure.
- Identify basic architectural risks.
- Ask questions and receive evidence-backed answers.
- TypeScript
- Next.js and React
- NestJS
- PostgreSQL and Prisma
- TypeScript Compiler API
- React Flow
- LangGraph.js
- pnpm workspaces and Turborepo
Early development. The initial focus is building the code analysis engine and architecture model.
pnpm install
pnpm lint
pnpm typecheck
pnpm test
pnpm format:checkNode.js 22 or newer is required (see .nvmrc). pnpm format rewrites files with Prettier; CI runs pnpm format:check.
See the CLI guide for setup, analysis examples, and how to run archmind check with an optional baseline.
To run the browser explorer and API together:
ARCHMIND_SNAPSHOT_DIR=/absolute/path/to/snapshots pnpm dev --filter @archmind/api --filter @archmind/webOpen the explorer. The Theme control follows your system by default. Choose Light or Dark to save an override in your browser, or System to follow your device again. The web app forwards explorer requests to the local API at http://127.0.0.1:3001; set ARCHMIND_API_ORIGIN if the API uses a different port.
Use Snapshot overview for analysis metadata, resolution statistics, and diagnostics. Select a component in the graph or use Show component list to open its details, inspect dependency evidence, or drill down to the file graph.
Point the read-only API at an existing directory of CLI-generated snapshot JSON files:
ARCHMIND_SNAPSHOT_DIR=/absolute/path/to/snapshots pnpm dev --filter @archmind/apiOpen Swagger UI to browse the API. It listens only on 127.0.0.1, defaults to port 3001 (PORT overrides it), and disables CORS unless ARCHMIND_WEB_ORIGIN specifies one exact origin, such as http://localhost:3000. This is a local development service, not an authenticated deployment.
Files ending in .evaluation.json and symlinks are ignored. Snapshot files over 16 MiB, invalid documents, and files with a mismatched content hash are reported in the snapshot list rather than served.
For a production bundle, run pnpm build --filter @archmind/api, then ARCHMIND_SNAPSHOT_DIR=/absolute/path/to/snapshots pnpm --filter @archmind/api start.