1. 选择系统并下载
Linux x64
下载
.tar.gzmacOS Apple Silicon
下载
.tar.gzmacOS Intel
下载
.tar.gzWindows x64
下载
.zip- macOS / Linux
- Windows PowerShell
agentbeat eval-run。bin/ 中的两个原生可执行程序都要保留:agentbeat 是产品前门,promptbeat-go 是共享 Go 评测引擎。AgentBeat 路径调用 RunAgentEvaluation,不使用 Promptfoo。
2. 运行本地契约探针
包内探针使用固定的本地 Target 与 Judge stub。它需要 Python 3.11+,只监听127.0.0.1:39103/39104,不需要 API Key,也不调用模型 Provider。它只验证协议与打包,不代表模型质量或安全效果。
终端 1:
py -3 examples\local-probe\serve.py。终端 2(PowerShell):
cmd /c 重定向可避免不同 PowerShell 版本转换 JSON 编码。Windows/macOS 包仅经交叉构建,尚未在原生系统运行;Linux 已跑过固定本地探针。请保留两个程序。此最小预览包覆盖 eval-run,不包含旧 run --adapter 所需环境。
打开 result.json。应看到 execution_route: "go_core_business_http"、一次 Target 调用、一次合成 Judge 调用、观测层级 L1,以及 official_benchmark: false。
3. 真实评测前准备
你需要:- 满足下方调用契约的隔离 HTTP Agent;
- 由服务端管理的 Deployment Registry 条目;
- OpenAI-compatible Judge endpoint 与模型;
- 对模型费用和 Target 副作用的明确批准。
4. 暴露 L1 Target 协议
AgentBeat 默认 Connector 向POST /v1/agent/invocations 发送一次同步请求。L1 无需 SDK。
run_id 与 case_id:
target.mjs,然后在单独终端中启动:
5. 注册 Deployment
保存为agent-target-registry.json。完整 JSON 默认收起,便于先浏览整体流程。
完整 Registry JSON
完整 Registry JSON
6. 准备一条完整评测请求
保存为eval-run.json。target_profile 与 target_capability 有意保持和所选 Registry Deployment 完全一致。
完整 EvalRun 请求
完整 EvalRun 请求
0.7 / 0.3 是 profile 示例,不是硬编码默认值。两个权重必须为正且相加为 1。