Skip to main content
AS

ArchSentinal

Static architecture risk analysis for real-world monoliths.

Architecture risk analysis for real codebases

Understand Your Codebase
Before It Understands You.

ArchSentinal analyzes your repository and exposes architectural risk, hidden coupling, and blast radius in seconds — before they turn into production incidents and stalled teams.

Runs entirely on your machine. No cloud, no telemetry.

archsentinal scan ./services/billing

$ archsentinal scan ./services/billing --json

✓ analyzed 412 files · 2,931 edges

risk_score: 71.3 (medium-high)

cycles: 9 · files_in_cycles: 37

god_files: 4 · dead_files: 23

tip: open the desktop app to explore cycles, god files and impact graph interactively.

The problems hiding in large codebases

Hidden dependency cycles

Circular imports and tangled modules make refactors risky, slow and surprisingly hard to reason about. Most teams don't know how many they have.

God files & hotspots

A few massive files quietly accumulate more and more responsibilities. Every change touches them, and every bug seems to start there.

High blast-radius changes

Tiny edits cascade through dozens of modules. Without a view of reverse dependencies, you're always guessing at the impact.

How ArchSentinal works

ArchSentinal walks your repository, builds a dependency graph, and runs a set of focused analyses — cycles, god files, dead code and impact — to give you a structural risk score you can actually act on.

$ archsentinal scan ./monolith

root_path: ./monolith

total_files: 1,284

total_edges: 9,437

cycles: 14 (52 files)

god_files: 6 (loc > 700)

dead_files: 41

dependency_density: 0.057

average_out_degree: 7.4

Risk score, not vibes

ArchSentinal turns these metrics into a single 0–100 risk score so you can track architectural health over time and compare modules or services objectively.

Cycles & density

Penalizes deep dependency tangles and unusually dense subgraphs.

God files & hotspots

Highlights overgrown files and high-impact orchestrators.

Built for engineers who own the architecture

Dependency graph analysis

File-level graph built from your imports, ready for cycle detection and impact analysis.

Risk scoring engine

Opinionated but transparent scoring, so you can explain the result to your team.

Impact analysis

See which files depend (directly and transitively) on a given module before you touch it.

JSON export

Pipe analysis into your own dashboards, CI checks or notebooks with --json.

Desktop visualizer

Tauri-based desktop app for exploring cycles, hotspots and impact with an interactive graph.

Designed for serious engineering teams

Built in Rust

The analysis engine is written in Rust for predictable performance and memory safety on large repositories.

Local-first by design

No code leaves your machine. Perfect for regulated environments and sensitive client projects.

Works where you work

Drop it into existing CI pipelines, or run it locally before big refactors and dependency upgrades.

Start understanding your architecture today.

Point ArchSentinal at your largest service or monolith and get a structural risk report in minutes — no migrations, no agents, no cloud.