百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
S

sentrux

> AI 编程
开源

实时架构传感器,帮助AI代理闭合反馈回路,实现代码质量的递归自我改进。纯Rust。

2.6K stars0 点赞3 次浏览
访问官网GitHub

工具介绍

实时架构传感器,帮助AI代理闭合反馈回路,实现代码质量的递归自我改进。纯Rust。


工作原理

快速开始

安装(macOS · Linux · Windows)

macOS

bash
brew install sentrux/tap/sentrux

Linux

bash
curl -fsSL https://raw.githubusercontent.com/sentrux/sentrux/main/install.sh | sh

Windows — 从 Releases 下载,或:

bash
curl -L -o sentrux.exe https://github.com/sentrux/sentrux/releases/latest/download/sentrux-windows-x86_64.exe

纯 Rust。单一二进制文件。无运行时依赖。通过 tree-sitter 插件支持 52 种语言。可在 macOS、Linux 和 Windows 上运行。

运行它

bash
sentrux                    # open the GUI — live treemap of your project
sentrux /path/to/project   # open GUI scanning a specific directory
sentrux check .            # check rules (CI-friendly, exits 0 or 1)
sentrux gate --save .      # save baseline before agent session
sentrux gate .             # compare after — catches degradation

连接到你的 AI 代理(可选)

通过 MCP 为你的代理提供实时的结构健康访问。

Claude 代码:

/plugin marketplace add sentrux/sentrux
/plugin install sentrux

Cursor / Windsurf / OpenCode / OpenClaw / 任何 MCP 客户端 — 添加到你的 MCP 配置中:

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

从源码构建 / 升级 / 故障排除

bash
# Build from source
git clone https://github.com/sentrux/sentrux.git
cd sentrux && cargo build --release

# Upgrade
brew update && brew upgrade sentrux
# or re-run the curl install — it always pulls the latest release

Linux GPU 问题? 如果应用无法启动,sentrux 会自动尝试多种 GPU 后端(Vulkan → GL → 回退)。你也可以强制指定一种:

bash
WGPU_BACKEND=vulkan sentrux    # force Vulkan
WGPU_BACKEND=gl sentrux        # force OpenGL

没人谈论的问题

你用 Claude Code 或 Cursor 开始一个项目。第一天很神奇。代理写出干净的代码,理解你的意图,快速交付功能。

然后,情况发生了变化。

代理开始幻觉出不存在的函数。它把新代码放到了错误的地方。

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Rustagentharnessarchitecturecobolcobol-language

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类AI 编程
定价开源

> 相关工具

G
GitHub Copilot
GitHub 官方 AI 编程助手,覆盖补全、Chat 与 Agent 模式。
C
Cursor
AI 原生代码编辑器,对话改代码、多文件 Agent 与规则体系是其核心。
S
skills
Skills for Real Engineers. Straight from my .agents directory.