Skip to content
sentrux treemap demo

sentrux

The sensor that helps AI agents close the feedback loop.
Recursive self-improvement of code quality.

import { Card, CardGrid } from ‘@astrojs/starlight/components’;

You start a project with Claude Code or Cursor. Day one is magic. The agent writes clean code, ships features fast.

Then something shifts. The agent starts hallucinating functions that don’t exist. It puts new code in the wrong place. You’re spending more time fixing the agent’s output than writing it yourself.

Everyone assumes the AI got worse. It didn’t. Your codebase did.

The code your AI writes today is the context it reads tomorrow. Every AI session silently degrades your architecture. Every degradation makes the next session harder. Without a sensor, nobody notices until it’s too late.


Live treemap with dependency edges. Files glow when the agent modifies them. See your entire architecture at a glance. 5 root cause metrics, one score 0–10,000. Modularity, acyclicity, depth, equality, redundancy. Ungameable by design. Quality gate catches regression. Rules engine enforces constraints. The agent knows the boundaries before it writes. Your AI agent calls sentrux directly via MCP. Scan, measure, improve, rescan. The feedback loop closes automatically.
Terminal window
# macOS
brew install sentrux/tap/sentrux
# Linux
curl -fsSL https://raw.githubusercontent.com/sentrux/sentrux/main/install.sh | sh
# Run it
sentrux # open live treemap
sentrux check . # CI quality gate
sentrux --mcp # MCP server for AI agents

Claude Code:

/plugin marketplace add sentrux/sentrux
/plugin install sentrux

Cursor / Windsurf / any MCP client:

{
"mcpServers": {
"sentrux": {
"command": "sentrux",
"args": ["--mcp"]
}
}
}

Pure Rust. Single binary. No runtime dependencies. Tree-sitter plugins for every major language — from Rust and Python to COBOL and Solidity. Works on macOS, Linux, and Windows.

Quality Signal panel