EveryDev.ai
Subscribe
Home
Tools

3,697+ AI tools

  • New
  • Trending
  • Featured
  • Compare
  • Arena
Categories
  • Agents2189
  • Coding1574
  • Infrastructure698
  • Marketing534
  • Projects498
  • Research456
  • Design416
  • Analytics389
  • Testing296
  • MCP290
  • Security286
  • Data262
  • Integration197
  • Prompts189
  • Communication183
  • Extensions173
  • Learning170
  • Voice151
  • Commerce135
  • DevOps123
  • Web86
  • Finance26
AI Tools by Topic
  • AI Coding Assistants
  • Agent Frameworks
  • MCP Servers
  • AI Prompt Tools
  • Vibe Coding Tools
  • AI Design Tools
  • AI Database Tools
  • AI Website Builders
  • AI Testing Tools
  • LLM Evaluations
Follow Us
  • X / Twitter
  • LinkedIn
  • Reddit
  • Discord
  • Threads
  • Bluesky
  • Mastodon
  • YouTube
  • GitHub
  • Instagram
Get Started
  • About
  • Editorial Standards
  • Corrections & Disclosures
  • Community Guidelines
  • Advertise
  • Contact Us
  • Newsletter
  • Submit a Tool
  • Start a Discussion
  • Write A Blog
  • Share A Build
  • Terms of Service
  • Privacy Policy
Explore with AI
  • ChatGPT
  • Gemini
  • Claude
  • Grok
  • Perplexity
Agent Experience
  • llms.txt
Theme
With AI, Everyone is a Dev. EveryDev.ai © 2026
    1. Home
    2. Tools
    3. ArchSentry
    ArchSentry icon

    ArchSentry

    Code Review

    Enforce your team's architectural contracts on every pull request using deterministic pattern, AST, and import boundary rules — with optional AI remediation hints at zero scan token cost.

    Visit Website

    At a Glance

    Pricing
    Open Source

    Fully free and open source under the MIT License. No cost to scan, no token cost for deterministic checks.

    Engagement

    Available On

    CLI
    API

    Resources

    WebsiteDocsGitHubllms.txt

    Topics

    Code ReviewAutomated TestingCI/CD Tools

    Alternatives

    ContinueCodecovHaystack
    Developer
    comerade2134comerade2134 builds ArchSentry, an open-source architectural…

    Listed Aug 2026

    About ArchSentry

    ArchSentry is an open-source CLI tool and GitHub App that enforces custom architectural contracts on every pull request. Built in TypeScript and published on npm, it runs deterministic scans in under 100ms with zero token cost, then optionally calls an LLM to generate targeted remediation hints only when a violation is found. The latest release is v0.4.0, published August 23, 2026, adding an Import Boundary Engine and multi-line matching.

    What It Is

    ArchSentry is a code architecture enforcement tool that sits between standard linters (ESLint, Biome) and AI review bots (Copilot PR, Codium). Where linters focus on style and syntax and SAST tools target known CVEs, ArchSentry enforces team-defined architectural invariants — rules like "controllers must not write directly to the database" or "module A may not import from module B." Rules are declared in a YAML file (archsentry.yml) at the repo root and evaluated deterministically on every scan.

    Two-Phase Architecture

    ArchSentry's design separates the expensive from the cheap:

    • Deterministic Phase: Every file is matched against YAML contracts using sub-millisecond regex, glob-aware pattern matching, or AST queries via Semgrep. No LLM tokens are consumed here.
    • Explanation Phase (optional): When a violation is detected, a short code snippet is sent to a configured LLM provider to generate a concise, contextual fix hint. This phase is opt-in via the --explain flag and supports OpenRouter (with free-tier models), OpenAI, local Ollama, or a built-in offline template engine as a zero-cost fallback.

    Rule Types and Schema

    Three rule engine backends are supported, each declared under rules[] in archsentry.yml:

    • pattern — Zero-dependency substring/token matching across file paths defined by globs. Supports multiline: true for constructs that span multiple lines.
    • semgrep — AST-aware queries using native Semgrep rule syntax (pattern, pattern-either, languages). Auto-upgrades when the Semgrep CLI is available on the host.
    • import — Dependency boundary enforcement. Resolves relative imports to project paths before matching, so ../repositories/user from a controller is caught even without file extensions. Supports forbid, allow, and optional regex mode.

    Each rule carries an id, description, severity (error or warn), and an optional remediation string that serves as ground truth for the AI explainer.

    Deployment Models

    ArchSentry supports three usage modes:

    • Local CLI via npx — No installation required. Run npx archsentry scan --config archsentry.yml --path . in any repository. Exit codes are CI-standardized: 0 for clean, 1 for violations, 2 for runtime errors.
    • GitHub Actions — Drop a workflow YAML into .github/workflows/ to gate pull requests. The OPENROUTER_API_KEY secret is optional and only needed for AI hints.
    • GitHub App (Probot) — A self-hosted webhook listener that automatically reviews PRs, posts inline architectural remediation comments, and cleans up stale comments on subsequent pushes. Supports a ARCHSENTRY_FAIL_CLOSED=1 mode that posts a warning comment when rules cannot be verified, treating unverified rules as a blocker.

    Update: v0.4.0 — Import Boundary Engine & Multi-Line Matching

    The v0.4.0 release (August 23, 2026) introduced the Import Boundary Engine (type: import) and multi-line pattern matching (multiline: true). The import engine resolves relative specifiers to project paths before matching, closing a gap where indirect imports from forbidden modules could previously go undetected. Multi-line matching allows pattern rules to catch constructs like multi-line fetch() calls that span across lines in a file. The project is actively maintained with 13 open issues tracked on GitHub.

    ArchSentry - 1

    Community Discussions

    Be the first to start a conversation about ArchSentry

    Share your experience with ArchSentry, ask questions, or help others learn from your insights.

    Pricing

    OPEN SOURCE

    Open Source

    Fully free and open source under the MIT License. No cost to scan, no token cost for deterministic checks.

    • Unlimited deterministic scans at zero cost
    • Pattern, Semgrep AST, and import boundary rule engines
    • GitHub Actions integration
    • GitHub App (Probot) deployment
    • Optional AI remediation hints via OpenRouter free tier, OpenAI, or Ollama

    Capabilities

    Key Features

    • Deterministic architectural contract enforcement via YAML rules
    • Zero scan token cost — LLM only invoked on violations with --explain flag
    • Pattern matching engine (substring/token, glob path filtering, multiline support)
    • AST-aware Semgrep engine integration (auto-upgrades when Semgrep CLI available)
    • Import boundary enforcement with relative import resolution
    • GitHub Actions integration with CI-standardized exit codes
    • GitHub App (Probot) for automated PR inline comments
    • AI remediation hints via OpenRouter, OpenAI, Ollama, or offline template fallback
    • Fail-closed mode for unverified rule sets
    • Sub-100ms scan latency
    • npx zero-install execution
    • Git diff filtering to scope findings to modified lines only

    Integrations

    GitHub Actions
    GitHub App (Probot)
    OpenRouter
    OpenAI
    Ollama
    Semgrep
    npm/npx
    pnpm
    API Available
    View Docs

    Ratings & Reviews

    No ratings yet

    Be the first to rate ArchSentry and help others make informed decisions.

    Developer

    comerade2134

    comerade2134 builds ArchSentry, an open-source architectural enforcement tool for development teams. The project is written in TypeScript, published on npm, and licensed under MIT. It focuses on deterministic, config-first code architecture validation that integrates natively with GitHub Actions and the GitHub App ecosystem.

    Read more about comerade2134
    WebsiteGitHub
    1 tool in directory

    Similar Tools

    Continue icon

    Continue

    Source-controlled AI checks that run on every pull request as native GitHub status checks, enforcing your engineering standards automatically.

    Codecov icon

    Codecov

    Codecov is a code coverage and quality platform that measures test coverage, flags flaky tests, and uses AI to generate unit tests and review pull requests.

    Haystack icon

    Haystack

    AI-powered code review inbox that triages every pull request, surfaces only the ones that need attention, and automates merges with a built-in merge queue.

    Browse all tools

    Related Topics

    Code Review

    Tools that help review, analyze, and improve code quality.

    104 tools

    Automated Testing

    AI-powered platforms that automate end-to-end testing processes with intelligent test case generation, execution, and reporting for faster, more reliable software delivery.

    143 tools

    CI/CD Tools

    AI-powered continuous integration and continuous deployment platforms that automate testing, building, and releasing software with intelligent insights and optimization.

    39 tools
    Browse all topics
    Back to all toolsSuggest an edit
    ratings
    discussions