io.github.tanbopiao/agent-eval-engine
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@io.github.tanbopiao/agent-eval-engine Run a deterministic eval: seal a question, submit an answer, score it, and verify the ledger."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
评测引擎 · Verifiable Eval Engine(骨架版)
给智能体评测装上「可验证」底座的单文件引擎:确定性判分优先、哈希链台账、判分与被测分离。 纯 Python 标准库,零第三方依赖,单文件即用。
诚实定位
这是评测引擎的骨架,不是完整引擎:
确定性判分可用的题项已能全链路跑通:出题封印 → 受控作答 → 级联判分 → 哈希链台账 → 报告根印;
语义判分器以可挂载外部裁判的方式接入:支持双模校验(两裁判不一致按 UNCERTAIN 如实记录,不猜测分数);
分离纪律是硬约束:裁判与被测同源即拒判;未登记的被测对象拒判;
未挂载语义裁判时,需语义理解的题项按 PENDING_SEMANTIC 挂起——不虚报、不猜测分数;
本地哈希链防篡改防静默,不防能改本机文件与账本的人。
Related MCP server: mcp-tournament
设计原则
确定性判分优先:凡可用确定性规则判的题项,不走语义判分;语义判分仅兜底;
台账逐级哈希:前块哈希入本块,任何一条改动即验链失败;
报告根印:报告内容哈希锚定,只读不记账;
分离纪律:判分模型与被测对象分离,同源即拒。
安装(PyPI)
pip install agent-eval-engine安装后即得 MCP 服务壳命令行入口 agent-eval-engine(STDIO 传输)。已收录于官方 MCP Registry:io.github.tanbopiao/agent-eval-engine。引擎本体零第三方依赖,也可直接从源码运行(见下文)。
快速开始
python3 评测引擎.py selftest # 23 项冒烟自测
python3 评测引擎.py demo # 端到端演示(确定性题一轮)依赖:Python >= 3.7 标准库,零第三方依赖。
自测覆盖(23/23 全绿)
封印稳定与防篡改、重复出题拒绝、exact/contains/not_contains/numeric/regex 判分、 语义题挂起不虚报、裁判选手同源拒判、未登记被测拒判、台账验链、篡改现形、 报告根印稳定、台账只增不改、双模不一致 UNCERTAIN、双模校验入账可验链等。
适用场景
智能体能力与安全评测的可验证判分底座;
需要判分过程可审计、可复算的评测流程;
作为更完整评测体系(语义裁判、题库管理、报告平台)的内核骨架。
作为 MCP 服务使用
附 MCP 服务壳(mcp_server.py),把评测全流程暴露为七个工具:new_engine(建场登记裁判)、register_subject(参赛登记)、seal_question(出题封印)、submit_answer(受控作答)、score_question(级联判分)、report_summary(报告摘要)、verify_ledger(台账验链)。
{
"mcpServers": {
"agent-eval-engine": {
"command": "python3",
"args": ["/path/to/agent-eval-engine/mcp_server.py"]
}
}
}引擎本体仍是零依赖纯标准库,只有服务壳依赖 mcp 包(pip install "mcp>=1.0,<2")。
道统映射表(命名即架构)
本仓命名直接对位架构职责——名字即契约,读名知责:
构件 | 对位职责 | 关键约束 |
| 判分内核:出题封印 → 受控作答 → 级联判分 → 哈希链台账 → 报告根印 | 纯标准库零依赖;分离纪律硬约束 |
| MCP 工具壳:七工具对外暴露全流程 | 仅依赖 |
| 回归载体:封印/判分/分离纪律/挂起/防篡改五域回归 | 每次改动全绿方可提交 |
方法名同样命名即契约:出题=封印哈希入册、提交作答=受控入账、判分=级联落判、
挂载语义判分器=显式在册裁判、verify_ledger=验链现形。命名即种子:后来者按名扩展,
不破契约。
相关项目
constraint-runtime — 智能体约束运行时组件集(围栏规则引擎、影子运行器、熔断停机器、留痕重放器)
sop-retrieval-mcp — SOP 检索 MCP 本地评估包(答案带出处)
License
Apache 2.0 — see LICENSE.
🌐 智能体生态社区
本作品是 huodouai.com 智能体生态社区 的一部分——一个智能体自主登记、认领任务、交付留痕的开放社区。 新到的智能体请先读 启动记忆,按 新手村分步指引 五步完成接入。
Available Tools
7 toolsnew_engineC
建场:创建评测引擎实例并登记判分模型身份(名称+版本必填,分离纪律硬约束)。
Inputs: judge_name (required), judge_version (required), judge_note. Returns: result
register_subjectB
参赛登记:登记被测对象标识。与判分模型同源时判分入口会拒绝执行。
Inputs: subject_id (required). Returns: result
report_summaryA
报告摘要:逐题结论、台账验链状态与报告根印(可对印复算)。
Inputs: no named parameters. Returns: result
score_questionB
级联判分:确定性规则优先;语义题未挂裁判按 PENDING_SEMANTIC 挂起,不猜测分数。
Inputs: qid (required). Returns: result
seal_questionB
出题封印:题面与判据哈希入册。criteria 示例: {"type": "exact", "value": "42"};type 可选 exact/contains/not_contains/regex/numeric/semantic。
Inputs: qid (required), criteria (required), question (required). Returns: result
submit_answerC
受控作答:提交某题答案,答案哈希入账。
Inputs: qid (required), answer (required), metadata. Returns: result
verify_ledgerA
台账验链:逐条重算哈希链,任何篡改当场现形。
Inputs: no named parameters. Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 7 tools
Each tool maps to a distinct lifecycle step: create engine, register subject, seal question, submit answer, score, report, verify. The only mild overlap is between new_engine and register_subject (both are registration actions), but the descriptions explicitly state the separation discipline, and report_summary vs verify_ledger are clearly differentiated by scope.
All tools use snake_case verb_noun form (register_subject, seal_question, submit_answer, score_question, verify_ledger), which is predictable. The sole minor deviation is new_engine, where 'new' is an adjective-like constructor prefix rather than a verb like create_*.
Seven tools is well within the ideal 3-15 range and each tool earns its place as one stage of the eval workflow. There is no redundant or filler tool.
The core lifecycle (create engine, register subject, seal question, submit answer, score, report, verify ledger) is covered, but the criteria type includes 'semantic' while no tool exists to attach a semantic judge, so semantic questions are permanently stuck in PENDING_SEMANTIC — a dead end. There is also no tool to list or inspect individual questions/answers outside the summary report.
Maintenance
Related MCP Connectors
MCP-native AI evaluation: rubric audits, eval suites, and proof reports for AI/LLM output.
Tamper-evident proof creation and verification for AI agents via MCP, A2A, and REST.
Independent statistical feature evaluation for machine learning and forecasting. ML Referee tests up to 1,000 candidate features in one run against a declared baseline, helping researchers and AI agents decide which inputs to pursue, which bounded feature repairs merit further testing, and where more evidence is needed—without a separate ablation run for every feature. Use the MCP tools to discover input schemas, check access and credits, preflight a dataset, obtain a quote, submit an authorized evaluation, and retrieve structured results and reports. Results are scoped to the submitted evidence and evaluation design; they do not guarantee future model performance. Invite-only beta with manual approval. Public tool discovery requires no authentication; account and evaluation tools require OAuth through approved client connections and available evaluation credits. Connect directly to https://api.mlreferee.com/mcp. Website: https://mlreferee.com Request beta access: https://mlreferee.com/beta Agent setup and documentation: https://mlreferee.com/agents
Verifiable execution records for AI agents: signed receipts, tamper-evident archives and portable evidence bundles, exposed via MCP and REST, with paid verify and anchor calls settled over x402.
Related MCP Servers
AlicenseNot gradedqualityDmaintenanceA neutral verification court for AI tools that ranks MCP servers by executing them against ground truth and recording results. Enables agents to consult execution records, contribute verdicts, and challenge claims.Apache 2.0- AlicenseAqualityBmaintenanceEnables building and running custom LLM benchmarks with multi-judge evaluation, supporting GUI, MCP client, and CLI usage for ranked, auditable results.8MIT
- AlicenseNot gradedqualityBmaintenanceEnables users to list and retrieve evaluation tasks, score recorded submissions, run benchmark evaluations via OpenRouter, and access provenance information through MCP tools.18 npmMIT
- AlicenseNot gradedqualityDmaintenanceEnables automated evaluation of MCP-compatible AI coding agents through declarative test scenarios, sandboxed code execution, multi-metric scoring, and detailed reports with feedback.MIT