全部技能
mantis-configure
配置 workflow.json 的沙箱、AI 模型和凭据,并运行 1–2 秒的预检。
- 属于 google/mantis
- 14次安装
- 安全 · 安全审计
适合什么时候用
你已装好 Mantis 并有 workflow.json,但还没选定沙箱或模型,想在开始安全审查前确认凭据可用。
举个例子
你对 AI 说
用 mantis-configure 把我的 Mantis workflow.json 配成连接本地 vLLM 服务 http://localhost:8000/v1、模型 openai/my-model,沙箱保持 static-only,然后跑一次预检。
你会拿到
- 更新后的 workflow.local.json
- 预检结果
它会怎么做
- --auto 会检测主机的 /dev/kvm、docker/runsc 和 gcloud,自动选择可用的沙箱。
- --probe 会发送一个最小测试提示,确认 LLM 端点和凭据确实能响应。
- --dry-run 只展示改动,不写入任何文件。
安装前须知
gvisor 沙箱需要注册了 runsc 的 docker 或 podman;microsandbox 需要 /dev/kvm 读写权限;gce 需要 gcloud CLI 及有效的 GCP 登录和项目。