使用场景智能体
可以追踪、限制和停止的智能体。
一次智能体运行包含几十次模型调用和工具调用。把它们通过同一个网关密钥和同一个追踪 id 发送:每一步都在同一条时间线上,每个工具都来自你批准的定义,并有运行无法越过的支出限额。
步骤 1 · 模型claude-sonnet-5.5 · 200 · 1.8 s
步骤 2 · 工具github_list_issues · 200 · 0.6 s
步骤 3 · 工具github_close_issue · 已拒绝,未授权
步骤 4 · 模型claude-sonnet-5.5 · 200 · 1.1 s
运行示例。INFRO 不执行任何工具;你的 MCP 服务器及其账号仍归你所有。
问题所在
没有控制平面
- 每个智能体都在自己的配置中持有每个工具服务器的令牌。
- 工具的定义可以在服务器上改变,而智能体会跟着改变。
- 循环运行的任务是在发票上才被发现的。
使用 INFRO
- 工具凭据留在 INFRO;智能体发送它们的网关密钥。
- 工具由管理员批准并固定的定义提供。
- 每个智能体密钥都有限额,每次运行是一条追踪记录。
运作方式
一次性登记你的工具服务器
管理员添加每个 MCP 服务器及其令牌,并批准工具。智能体永远看不到服务器的凭据。
按密钥授权
默认拒绝:给智能体的密钥授予某个服务器的只读工具、全部工具,或指定的几个。轮换密钥后,授权仍然保留。
发送一个追踪 id
带有相同 X-INFRO-Trace-Id 的模型调用和工具调用,会作为一次运行从 GET /v1/traces 返回,每一步都带有结果、延迟和成本。
你能得到什么
每一项都有文档说明,并注明包含它的套餐。未注明套餐的,所有套餐都提供。
每次运行一条追踪记录
带有相同追踪 id 的模型调用和工具调用会作为一次运行返回,每一步都带有结果和延迟。
文档已批准、已固定的工具Business 起
智能体拿到的是管理员批准的定义;服务器上发生变化的工具在有人审核之前会被拒绝。
文档按密钥授权Business 起
默认拒绝。给密钥授予某个服务器的只读工具、该服务器的全部工具,或指定的几个工具。
文档每个智能体一项限额
智能体的密钥有运行无法越过的上限;下一个请求会在调用提供商之前被拒绝。
文档护栏Business 起
对提示词、响应、工具参数和结果的模式检查:阻断、脱敏或标记。检测可能漏掉一些东西。
文档所有套餐都有紧急开关
通过一次有审计记录的操作,即可停用服务器、阻止工具或停止所有工具流量。关闭访问从来不受套餐限制。
文档
适用对象
- 智能体开发者每次运行一条时间线,而不是五个仪表盘,工具访问权限定义在智能体代码之外。
- 平台团队工具凭据集中在一处,按密钥授权,并记录每次调用。
- 安全工具定义不会在未经审核的情况下在智能体之下发生变化,每次调用都可以被关闭。
实战指南
- 实战指南MCP gateway: one governed entry point for agent toolsEvery MCP server an agent can reach is code and credentials you now depend on. This guide covers the incidents that made that clear, what a gateway in front of your tool servers can and cannot control, and the INFRO MCP gateway's endpoint, security model, limits and errors.
- 实战指南MCP and tool calling in production: failure modes and fixesTool calling moves the risk from what a model says to what your code does. This guide lists the ways MCP and function-calling integrations fail in production, the signal each leaves, and a wrapper that fixes them.
- 实战指南MCP vs CLI: where agent tool tokens go, and how to cut themThe MCP versus CLI debate is about one mechanism: tool definitions ride along in every request, while a CLI or a skill loads only when used. How to measure the overhead, five patterns that reduce it, and the cases where MCP still wins.