
deterministic-agent-control-protocol
by elliot35·★ 86·综合分 46
一个为AI代理提供有界、可审计控制的治理网关,通过MCP代理、Shell代理和HTTP API实现。
概述
确定性代理控制协议(Det-ACP)作为AI代理的治理层,确保每个操作都是有界的、可审计的、可逆且可解释的。它透明地支持Cursor、Claude Code和Codex等流行AI编程环境,提供基于策略的执行系统,防止删除敏感文件或执行危险命令等有害操作。协议支持多种集成模式,包括透明拦截工具的MCP代理、命令治理的Shell代理以及语言无关集成的HTTP API。
试试问 AI
装完之后,这里有 5 个你可以让 AI 做的事:
什么时候选它
当您需要为AI代理实施严格的访问控制、审计跟踪和敏感操作策略时。
什么时候不要选它
如果您使用的是未连接到MCP客户端的开源LLM,或者需要最少的治理开销。
此 server 暴露的工具
从 README 抽取出 9 个工具create_sessionCreate a new governance session with a specified policy
evaluateEvaluate an action against governance policy without executing it
record_resultRecord the result of an evaluated action in the audit ledger
terminate_sessionEnd a governance session and generate an activity report
proxyStart an MCP proxy that intercepts and governs tool requests
execExecute a shell command through the governance proxy
validateValidate a policy configuration file for syntax and rules
reportGenerate an audit report from a ledger file
serveStart an HTTP session server for governance API access
说明:Tools inferred from API examples and CLI commands, as no explicit 'Tools' section was found in the documentation. The actual MCP tools would likely be the underlying tools being governed (like file operations, commands, etc.) but these are
可对比工具
安装
安装
npm install @det-acp/core快速开始
为您的AI代理初始化治理:
npx det-acp init cursor # 用于Cursor
npx det-acp init codex # 用于Codex CLI
npx det-acp init claude-code # 用于Claude Code配置Claude Desktop(如果适用):
{
"mcpServers": {
"det-acp": {
"command": "npx",
"args": ["-y", "@det-acp/core"]
}
}
}FAQ
- 哪些代理与Det-ACP兼容?
- Det-ACP支持Cursor、Claude Code、Codex以及任何MCP兼容的代理。它还通过Shell代理模式支持基于Shell的代理。
- 策略系统如何工作?
- 策略在YAML文件中定义,指定允许的工具、路径、会话限制、风险阈值和禁止模式。协议在执行前会根据这些策略评估每个操作。
Hacker News 讨论
开发者社区最近的相关讨论。
- 帖子 by elliot35 · 2026-02-10
deterministic-agent-control-protocol 对比
最后更新于 · 由 README + GitHub 公开数据自动生成。