ArchDrift is an architectural intelligence layer for TypeScript teams — detecting layer violations, cyclic dependencies, and technical debt with a financial cost model. The first tool to turn code health into a trackable drift metric.
AI generates code. ArchDrift makes sure it doesn't quietly break your architecture.
The Problem
Linters catch syntax. Type checkers catch types. Nothing tells you whether your architecture is eroding — until it already has.
Domain code calling infrastructure directly. Service layer importing presentation logic. These violations compound silently across hundreds of commits, making large refactors progressively more expensive.
Circular imports lock teams into a ball of mud. They break tree-shaking, make testing impossible, and spread across files like mold — undetected until deployment breaks.
Engineering managers cannot prioritise refactors without financial framing. "We have tech debt" is ignored. "$18,400 principal accruing $920/month" triggers budget conversations.
Every existing tool gives a point-in-time snapshot. No tool tracks whether architectural quality is improving or degrading sprint-over-sprint — until ArchDrift.
Product
The headline number no other tool tracks. A production-only percentage showing how far your architecture has moved from its baseline — improving or degrading over time.
Full workspace graph with TS path alias resolution, barrel handling, and Tarjan SCC cycle detection. Cyclic clusters injected as first-class issues.
Analyse architecture without source code. Hash-based skeleton files <10% of source size. Orphan detection with entry point exclusions. Unique competitive differentiator.
The first architectural tool that speaks CFO language. Git blame maps violations to teams. CostConfig converts findings to dollar figures — principal debt + monthly interest accrual.
Blocks cyclic/layer violations before AI agents commit them. First-mover in agentic architecture guardrails.
Inline diagnostics + "Generate Workspace Report" command. Published on VS Code Marketplace. Benchmarked on 43 real repos.
Integrate into any CI pipeline. archdrift scan . --full outputs HTML + JSON. Windows-compatible with archdrift.cmd helper.
Engineering Roadmap
Every phase was built test-first with integration verification. No mock data, no stubs in production paths.
Market Opportunity
Competitive landscape
| Tool | Layer | Cycles | Drift | Cost | MCP |
|---|---|---|---|---|---|
| ArchDrift | ✓ | ✓ | ✓ | ✓ | ✓ |
| ArchLintor | ✓ | ✗ | ✗ | ✗ | ✗ |
| Architex | ~ | ✗ | ✗ | ✗ | ✗ |
| SonarQube | ~ | ✗ | ~ | ✗ | ✗ |
| ESLint | ✗ | ✗ | ✗ | ✗ | ✗ |
✓ native ~ partial/paid ✗ absent
Defensible Moat
archdrift-engine has zero VS Code API dependencies. The same core powers CLI, MCP, LSP, and future integrations — a platform, not just a plugin.
The concept of architectural drift as a trackable, comparable number is novel. First-mover advantage compounds as teams build institutional workflows around the score.
With AI agents writing more code daily, architectural guardrails at the MCP layer become critical infrastructure. ArchDrift is the only tool positioned here today.
Calibrated against React, Prisma, Supabase, Storybook, Angular — not toy examples. This benchmark corpus is proprietary signal that trains scoring credibility.
AI writes code with no architectural memory. Every Cursor or Copilot session drifts slightly further from your intended structure — silently. ArchDrift is the watchdog that AI can't be for itself. As AI coding adoption compounds, so does the drift problem — and so does ArchDrift's relevance.
Live Evidence
ArchDrift ran against 50 production-grade open-source repos — axios, React, Node.js, TypeScript, VS Code, Bun, NestJS, and more — with zero configuration. These are the raw results.
| Repository | SII Score | Violations | Prod LOC | N+1 | God Classes | Layer Violations |
|---|---|---|---|---|---|---|
| axios | 100.0% | 0 | 661 | — | — | — |
| express | 100.0% | 0 | 1,139 | — | — | — |
| fastify | 100.0% | 0 | — | — | — | — |
| lucide | 100.0% | 0 | 3,450 | — | — | — |
| deno | 100.0% | 0 | — | — | — | — |
| solid | 100.0% | 1 | 5,110 | — | 1 | — |
| trpc | 96.9% | 2 | 26,887 | 1 | 1 | — |
| shadcn-ui | 99.0% | 1 | 23,682 | 1 | — | — |
| create-t3-app | 98.7% | 2 | 15,146 | 2 | — | — |
| pnpm | 98.7% | 9 | 95,837 | 3 | 6 | — |
| svelte | 97.6% | 6 | 45,557 | — | 6 | — |
| angular | 97.7% | 36 | 255,652 | 4 | 31 | 1 |
| hono | 96.6% | 7 | 37,570 | 2 | 5 | — |
| nest | 95.9% | 7 | 40,585 | — | 2 | 5 |
| zod | 95.8% | 12 | 48,985 | — | 12 | — |
| tanstack-query | 93.9% | 14 | 42,777 | 10 | 4 | — |
| react | 93.7% | 51 | 253,532 | 2 | 49 | — |
| node | 93.2% | 41 | 145,609 | 2 | 39 | — |
| remix | 92.1% | 5 | 23,814 | — | 5 | — |
| vscode | 91.6% | 270 | 1,037,500 | 40 | 230 | — |
| vite | 91.0% | 14 | 47,054 | 1 | 13 | — |
| playwright | 89.2% | 29 | 215,035 | 8 | 21 | — |
| bun | 83.3% | 39 | 110,780 | 6 | 33 | — |
| typescript | 75.6% | 68 | 258,489 | — | 68 | — |
| esbuild | 75.4% | 1 | 5,000 | — | 1 | — |
| lodash | 74.0% | 1 | 80,000 | — | 1 | — |
| nocodb | 73.7% | 213 | 256,827 | 157 | 56 | — |
| directus | 72.0% | 180 | 180,000 | 15 | 40 | 125 |
Investor Enquiries
ArchDrift is raising a pre-seed round to accelerate distribution, CLI-first monetisation, and enterprise team features. Request the full deck or book a 30-minute demo.
Direct: prajeesh@meethale.com