白嫖 Zerops 免费容器 用Hermes对接tencent/hy3:free
前言
现在越来越多的服务针对Agent开放了API和token
如 https://zerops.io
那么, 我能不能让Agent参考教程完成整个比较"复杂"的操作呢?
以 <白嫖 Zerops 免费容器> 为例
准备前置条件
Hermes 作为 Agent 对接 tencent/hy3:free 模型
首先你要安装一个 Hermes, 常见的2G内存的VPS就够了.
和最新安装脚本相比, 部分细节有变化. 当然你也可以去搜索其它更新的安装教程.
2G内存VPS
https://1ladder.eu.org/drla888Hermes 官方提供免费的模型 tencent/hy3:free
写教程的当时, 免费模型是 mimo-v2-pro, 现在你选 hy3 就好
Github 的 API token
zerops 的 API token
注册和登录 zerops 略
点击 Generate Personal Token
向你的Agent说
你现在有 https://zerops.io 的 tokenipTD76oeYW_9MgBAYqkdQuvafPR8rdF0WWk7FPSBud58KzrVzFlNrUEm4xfkoH9g-p保存到你自己的 .env阅读官方文档, 学习API的用法
你现在有 https://github.com 的 tokenghp_Wb2HtggrKkENraKupAlZ8iid8Bq7Jg3u2sKW保存到你自己的 .env
参考 https://blog.notett.com/post/2026/07/202607-zerops-free/ 完成项目部署你自己的 .env 中有 https://zerops.io 的 token, 也有 https://github.com 的 token
然后Agent就开始忙啊忙啊, ...
这是结果:
然后 Agent 找官方文档学习了好一会, 告诉我TA有办法SSH登录进去执行命令.为什么下面的操作需要我手动? 你能帮我操作吗?Remote web terminal → npm start → 复制 base64 订阅;之后 cat .tmp/sub.txt 查看。
然后就给我 sub.txt 的内容
完
========
后记
记录一下遇到的2个问题.
1. 如果你的Agent创建项目在 EU Central (prg1)
你有2个办法可以指导TA, 选择1个办法就行:
a) 告诉你的Agent,
US West (sea1) 是可用的, 直接创建就行
b) 告诉你的Agent, 查询可用 region 的API 方法是这样的:
curl 'https://api.app-prg1.zerops.io/api/rest/public/client/{{clientId}}/settings' -H 'authorization: Bearer ***********' | jq ".locationList"
2. SSH登录进去的方法
生成 WireGuard 密钥对,POST /project/{id}/vpn 交换配置,用 wg-quick 拉起 VPN 隧道连到项目私有网(US West)。经 VPN 直接 ssh 进容器(10.1.8.10,zerops 用户;基于 VPN 身份放行,无需 SSH key)。参考文档:SSH 连接参考https://docs.zerops.io/references/networking/sshVPN 使用参考https://docs.zerops.io/references/networking/vpn
评论
发表评论