Open source. Built in Germany.

Better software
starts with
stronger foundations.

We build the ArchUnit library family: open-source tools that turn architecture decisions into tests. The same engineering mindset runs through everything we build at DragonSec.

Built in the open. Used in the real world.

421K+

package downloads in 30 days

1,425GitHub stars
9language ecosystems

October 15 – November 13, 2026.
Downloads across npm, PyPI, and crates.io.

See the data and methodology

Architecture as code

Make the rules
part of the build.

Dependencies grow. Boundaries drift. AI writes more code. ArchUnit gives teams a way to keep structural decisions explicit and enforce them as the codebase changes.

  • Keep business logic independent.
  • Find cycles before they become refactors.
  • Run architecture checks in your existing CI.
See how ArchUnit works
architecture.test.tsTypeScript
import { projectFiles } from 'archunit';

it('keeps the domain independent', async () => {
  const rule = projectFiles()
    .inFolder('src/domain/**')
    .shouldNot()
    .dependOnFiles()
    .inFolder('src/infrastructure/**');

  await expect(rule).toPassAsync();
});
A clear boundary. A repeatable check.

The ArchUnit family

Your language.
Your test runner. Your rules.

Start with our established TypeScript and Python libraries, explore an active preview, or help shape the next ecosystem.

TSProduction ready

TypeScript & JavaScript

ArchUnitTS

Test dependency direction, detect cycles, and enforce architectural boundaries in your existing test suite.

PYProduction ready

Python

ArchUnitPython

Write architecture rules for Python projects with static analysis and no runtime dependencies.

C#Alpha preview

.NET

ArchUnit.NET

Architecture policies for C# solutions, with adapters for major .NET testing frameworks.

RBWorking preview

Ruby

ArchUnitRuby

Language-native architecture rules for Ruby and Rails, with RSpec and Minitest integration.

RSPublished preview

Rust

ArchUnitRust

Cargo-native architecture testing with structured violations backed by source evidence.

GOMain-branch preview

Go

ArchUnitGo

Express architecture policies as Go tests, using the language toolchain to understand your project.

JVPublic beta

Java

ArchUnitJava

Architecture testing for compiled Java code, with JUnit integration and deterministic reports.

Public adoption data

Open tools.
Transparent numbers.

A dated snapshot of public package registries and repositories, checked November 14, 2026.

Downloads count package downloads, not unique developers or companies. The total covers the three registries listed here; it excludes ecosystems without comparable download data. PyPI mirror traffic is excluded.

Downloads: October 15 – November 13, 2026
PackageRegistryDownloads
ArchUnitTSnpm ↗359,778
ArchUnitPythonPyPI ↗59,591
ArchUnitRustcrates.io ↗2,013
Total421,382

1,425 GitHub stars across the nine linked repositories as of November 14, 2026. Registry endpoints may show a newer rolling window when opened.

The people behind the projects

Built by engineers.
Made better together.

Meet the team connecting open-source architecture testing with enterprise security.

Meet our team