用途:当目标 URL 需要用户已注册的认证时,用 agent-deepweb 发起请求,而不暴露密钥。无认证 URL 仍应使用 curl、WebFetch 等常规工具。
主要能力:支持 fetch、graphql、template run;可带 --profile 调用已注册身份,支持 GET/POST、--json、--data、--form、--file 多部分上传;template run 只允许填参数,方法、URL、请求头与请求体结构均已冻结;--profile none 用于显式匿名并保留审计脱敏;--track 保存完整脱敏重放记录,--hide-response/--hide-request 可裁剪输出控制 token 消耗;--cookiejar 可用于自管的多步流程。
使用方式:先运行 agent-deepweb profile list 查看可用 profile,再用 agent-deepweb fetch <url> --profile <name> 发起请求;错误以脱敏 JSON 输出到 stderr,含 hint 与 fixable_by(agent/human/retry),据此修复、请求用户处理或退避重试。
限制:无法新增删除 profile、扩大允许列表、修改外发头、启用 http、轮换密钥、解除脱敏、直读加密 jar、执行登录或改配置;这些操作需要用户持有的 --passphrase,误操作会被拒绝并审计。缺少事实的部分暂未提供。