sentrux
Real-time architectural sensor that helps AI agents close the feedback loop, enabling recursive self-improvement of code quality. Pure Rust.
- 3.3k stars
- 296 forks
- 34 open issues
- Language: Rust
- License: MIT
- updated
Install
git clone https://github.com/sentrux/sentrux && cp sentrux/*.md ~/.claude/agents/- Clone the repository and copy the agent .md definitions into ~/.claude/agents (or .claude/agents inside a project).
- Start a new Claude Code session to load the agents.
- Delegate work to them with the Task/Agent tool or by name.
Editor's note
Sentrux is a static analysis MCP server written in pure Rust that gives AI coding agents continuous, quantified feedback on codebase architecture as they work. The core workflow runs in a scan-score-improve loop: the tool analyzes a project using tree-sitter plugins covering 52 languages, assigns a numeric quality score, and exposes that data to agents so they can target specific structural problems and re-scan after changes. It ships three complementary interfaces: a live interactive treemap GUI for visual exploration of project structure, a `sentrux check` command for CI rule enforcement with clean exit codes, and a `sentrux gate` command that saves a quality baseline before an agent session and then compares against it afterward to catch degradation. The MCP server integrates directly with Claude Code via its plugin marketplace, and with Cursor, Windsurf, and other MCP clients through a standard JSON config block. Developers using AI agents to build or maintain codebases are the primary audience, particularly those who have noticed code quality quietly deteriorating across long agentic sessions.
1 items in this repository
Scan a project with sentrux to get structural health grades (A-F) across 14 dimensions including coupling, cycles, cohesion, dead code, and test coverage. Use when the user wants to check code quality, architecture health, or before/after an agent session.
Subagents overview
What people ask about sentrux
What is sentrux/sentrux?
sentrux/sentrux is subagents for the Claude AI ecosystem. Real-time architectural sensor that helps AI agents close the feedback loop, enabling recursive self-improvement of code quality. Pure Rust. It has 3.3k GitHub stars and its last recorded update is dated 2026-03-19.
How do I install sentrux?
You can install sentrux by cloning the repository (https://github.com/sentrux/sentrux) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.
Is sentrux/sentrux safe to use?
Our security agent has analyzed sentrux/sentrux and assigned a Trust Score of 77/100 (tier: Trusted). See the full breakdown of passed checks and flags on this page.
Who maintains sentrux/sentrux?
sentrux/sentrux is maintained by sentrux. The last recorded GitHub activity is dated 2026-03-19, with 34 open issues.
Are there alternatives to sentrux?
Yes. On ClaudeWave you can browse similar subagents at /categories/agents, sorted by popularity or recent activity.