Now in early access

Your architecture.
Enforced automatically.

HexPatrol is an AI agent that watches your repository around the clock — validating hexagonal architecture boundaries, catching drift the moment it happens, and auto-correcting boundary crossings before they become tech debt.

Continuous monitoring24 / 7 boundary watching
Auto-correctionFixes drift on every commit
DDD-readyPorts & adapters enforcement
Zero CI gateBackground operation, always-on
What HexPatrol does

Architecture enforcement at runtime

Traditional static analysis runs on demand. HexPatrol runs all the time — catching violations as they happen, not hours later in a CI report.

Real-time boundary validation

Every push and pull request is scanned against your ports-and-adapters contract. Violations surface as comments or CI annotations the moment a boundary is crossed — before the merge.

Autonomous drift correction

HexPatrol doesn't just flag violations — it proposes and applies corrections directly to the codebase. Boundary crossings are rewritten to respect the hexagon, keeping your architecture intact without manual intervention.

Living architecture documentation

HexPatrol generates and maintains an always-current architecture diagram from your actual code. Share it with new team members, use it in code reviews, and trust that it reflects reality — not a stale diagram in Confluence.

Domain-driven design support

Bounded contexts, aggregates, and domain events are first-class concepts. HexPatrol understands your ubiquitous language and enforces it — not just the technical hexagon, but the language your team uses to describe the domain.

Clean pull requests, always

Architecture violations never land on main. HexPatrol runs as a background guard — so your CI/CD gates stay green, reviewers focus on intent, and the main branch is always shippable.

Modular monolith ready

HexPatrol was built for the modular monolith pattern — enforcing strict boundaries inside a single deployable unit. Get the isolation of a microservice architecture without the operational overhead.

Getting started

Up and running in minutes

No agents to deploy. No CI/CD pipelines to modify. A four-step setup and HexPatrol is standing guard.

01

Connect your repository

Add HexPatrol to your GitHub or GitLab organisation and grant it read access to your repository. It needs nothing more — no secrets, no CI modification, no agent running in your environment.

02

Define your hexagon contract

Point HexPatrol at your core domain layer and your port interfaces. It maps the current structure automatically — or import your existing alders, bounded-context annotations. This becomes the contract it enforces.

03

HexPatrol watches, always-on

Every push triggers a boundary scan. Every pull request gets a pre-flight check. Violations are flagged as GitHub comments or GitLab merge request notes — with a proposed auto-fix in a single click.

04

Boundaries hold automatically

When a violation is auto-corrected, HexPatrol opens a branch, applies the fix, and pings your team for review. Your architecture diagram updates in real time. Tech debt stops accumulating on day one.

Stop defending your architecture. Start enforcing it.

Join teams already running HexPatrol in preview. Set up takes minutes. No agents to manage, no pipeline changes required.

Early access is free. No credit card required.Or talk to us →

Featured article

Why architecture drifts

Research

How architecture enforcers compare

Read a source-backed review of architecture-rule tools, dependency checks, and the limits of comparing products from documentation alone.

Explore the architecture-enforcer audit