drtikov/microbrainsforagents
在工具执行前本地拦截危险命令与泄漏的确定性策略引擎
解决什么问题
没有它,语法错误、破坏性命令和密钥外泄只能靠多轮报错重试发现,浪费提示词与时间。
- 执行前拦截破坏性命令
- 检测密钥外泄与语法错误
- 支持严格/开发策略配置
适用客户端
- cursor
- vscode
- cline
- cli
安装命令
pip install -e . pip install -e ".[router]" # Optional NumPy ToolRoutingMoE + conformal router pip install -e ".[mcp,ast]" # MCP tools + tree-sitter polyglot AST grammars pip install -e ".[server,guard-ml]" # FastAPI worker + ONNX semantic guard 一键配置
{
"mcpServers": {
"microbrains": {
"command": "aetheris-mcp",
"deferred": true,
"enabledTools": [
"microbrain_health",
"microbrain_preflight_check",
"microbrain_scrub_and_scan",
"microbrain_scan_mcp_tools",
"microbrain_narrow_tools",
"microbrain_audit_explain"
]
}
}
} 安全标记
- 需要 API Key: 未标注
- 本地运行: 是
- 访问网络: 是
- 需要 root: 是
维护状态
| 最近提交 | 2026-12-04(0d) |
|---|---|
| Star | 57 |
| 待处理 issue | 0 |
| 协议 | Apache-2.0 |
| 已归档 | 否 |
| 数据抓取于 | 2026-12-05 |
原文摘录
以下为仓库 README 原文,未做改写,用于核对上面的摘要。
It sits directly in front of tool execution and shell invocation.