Skip to content
dstoyanovaPublic

About

Software Architecture Intelligence Platform

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

ArchMind

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.

Vision

Give engineering teams a continuously updated understanding of their software architecture — from code structure and dependencies to architectural health and governance.

Core capabilities

  • 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.

Initial MVP

The first version focuses on TypeScript repositories:

  1. Connect a GitHub repository.
  2. Analyse its source code.
  3. Build an architecture model and dependency graph.
  4. Visualise the system structure.
  5. Identify basic architectural risks.
  6. Ask questions and receive evidence-backed answers.

Technology

  • TypeScript
  • Next.js and React
  • NestJS
  • PostgreSQL and Prisma
  • TypeScript Compiler API
  • React Flow
  • LangGraph.js
  • pnpm workspaces and Turborepo

Project status

Early development. The initial focus is building the code analysis engine and architecture model.

Development commands

pnpm install
pnpm lint
pnpm typecheck
pnpm test
pnpm format:check

Node.js 22 or newer is required (see .nvmrc). pnpm format rewrites files with Prettier; CI runs pnpm format:check.

CLI analysis

See the CLI guide for setup, analysis examples, and how to run archmind check with an optional baseline.

Local explorer API

To run the browser explorer and API together:

ARCHMIND_SNAPSHOT_DIR=/absolute/path/to/snapshots pnpm dev --filter @archmind/api --filter @archmind/web

Open 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/api

Open 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.

About

Software Architecture Intelligence Platform

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages