AI Skill Hub 推荐使用:古安事数权模式 是一款优质的Agent工作流。AI 综合评分 7.5 分,在同类工具中表现稳健。如果你正在寻找可靠的Agent工作流解决方案,这是一个值得深入了解的选择。
古安事数权模式为常用的系统会模式。当前古安事数权模式为常用的系统会模式。
古安事数权模式 是一套完整的 AI Agent 自动化工作流方案。通过可视化的节点编排,将复杂的多步骤任务拆解为清晰的自动化流程,实现全程无人值守的智能处理。支持与数百种外部服务和 API 无缝集成,适合构建数据处理管线、业务自动化和 AI 辅助决策系统。
古安事数权模式为常用的系统会模式。当前古安事数权模式为常用的系统会模式。
古安事数权模式 是一套完整的 AI Agent 自动化工作流方案。通过可视化的节点编排,将复杂的多步骤任务拆解为清晰的自动化流程,实现全程无人值守的智能处理。支持与数百种外部服务和 API 无缝集成,适合构建数据处理管线、业务自动化和 AI 辅助决策系统。
# 方式一:pip 安装(推荐)
pip install evalmonkey
# 方式二:虚拟环境安装(推荐生产环境)
python -m venv .venv
source .venv/bin/activate # Windows: .venv\Scripts\activate
pip install evalmonkey
# 方式三:从源码安装(获取最新功能)
git clone https://github.com/Corbell-AI/evalmonkey
cd evalmonkey
pip install -e .
# 验证安装
python -c "import evalmonkey; print('安装成功')"
# 命令行使用
evalmonkey --help
# 基本用法
evalmonkey input_file -o output_file
# Python 代码中调用
import evalmonkey
# 示例
result = evalmonkey.process("input")
print(result)
# evalmonkey 配置文件示例(config.yml) app: name: "evalmonkey" debug: false log_level: "INFO" # 运行时指定配置文件 evalmonkey --config config.yml # 或通过环境变量配置 export EVALMONKEY_API_KEY="your-key" export EVALMONKEY_OUTPUT_DIR="./output"
<p align="center"> <img src="assets/evalmonkey-logo.png" alt="EvalMonkey Logo" width="400"/> </p>
Agents are fundamentally non-deterministic. They rely on external APIs, tool loops, and massive context windows. EvalMonkey is the ultimate, strictly local, open-source execution harness that enables developers to: 1. 🎯 Benchmark Capabilities: Run standard Agent benchmark datasets against your agent endpoints natively! 2. 🔥 Inject Chaos: Mutate headers, spike latency, and corrupt schemas dynamically to prove true resilience. 3. 📈 Track Production Reliability: Locally store all scores to visualize a single Production Reliability metric over time! 4. 🛠 Generate Improvement Evals: When scores are poor, automatically synthesise targeted test cases using your LLM — then hand them to Claude Code or Cursor to fix your agent.
EvalMonkey natively supports evaluating ANY LLM: AWS Bedrock, Azure, GCP, OpenAI, and Ollama.
Note on API Keys: If you have special setups that generate long-lived, static API keys for Bedrock, Azure, or GCP, simply supply them in the .env! EvalMonkey seamlessly supports both standard IAM / Service Account credential flows and long-term stateless authentication strings.
1. Install
git clone https://github.com/Corbell-AI/evalmonkey
cd evalmonkey
pip install -e .
2. Configure your LLM key (used only as the evaluation judge — never for your agent)
cp .env.example .env Open .env and set one of these depending on your LLM provider: ```bash EVAL_MODEL=gpt-4o OPENAI_API_KEY=sk-... # OpenAI
cp .env.example .env # fill in EVAL_MODEL + your LLM provider key pip install -e .
If using a CSV, just make sure you have the columns id and expected_behavior_rubric. Any other column you add (like question, topic, image_url) will be automatically gathered and sent in the JSON payload directly to your agent!
| id | expected_behavior_rubric | question |
|---|---|---|
| get_benefits | Must return the URL linking to the company hr portal | Where do I sign up for medical benefits? |
| time_off | Provide the exact number of standard vacation days (15) | How many days of PTO do I get? |
evalmonkey run-benchmark --scenario get_benefits --eval-file evals.csv
If you use JSON or YAML, you must nest the agent payload keys explicitly under an input_payload dict object:
[
{
"id": "onboarding_query",
"description": "Test HR agent's ability to return the onboarding link.",
"expected_behavior_rubric": "Must contain exactly the URL https://hr.example.com/benefits",
"input_payload": {
"question": "Where do I sign up for benefits?"
}
}
]
evalmonkey run-benchmark --scenario onboarding_query --eval-file evals.json </details>
---
Easiest Experience: Test our built-in sample agents with a single command! EvalMonkey will spawn the sample agent in the background automatically and run the benchmark. ```bash
Run the full benchmark + chaos + eval-generation pipeline against the built-in rag_app sample agent:
```bash
Open Claude Code, Cursor, or any AI coding assistant and paste this prompt:
Set up EvalMonkey in my project so I can benchmark my AI agent.
1. Clone https://github.com/Corbell-AI/evalmonkey into a sibling folder
2. Run: pip install -e . inside that folder
3. Copy .env.example to .env and ask me which LLM provider I want to use as the benchmark judge (OpenAI, Anthropic, Bedrock, or Ollama) — then fill in the correct key
4. Run: evalmonkey init --framework <my_framework> --name "My Agent" --port <my_port>
Use the framework my agent is built with (crewai / langchain / openai / bedrock / autogen / ollama / strands / custom)
5. Show me the generated evalmonkey.yaml and ask me to confirm the agent URL and response path are correct
6. Run a quick smoke test: evalmonkey run-benchmark --scenario gsm8k --sample-agent rag_app --limit 2
to confirm everything is wired up correctly
7. Then run the real benchmark against my agent: evalmonkey run-benchmark --scenario mmlu --limit 5
8. Show me the score and explain what it means
The agent will handle cloning, installing, configuring your .env, and running the first benchmark — all without you typing a single command.
---
Add the following to your MCP configuration file (e.g. claude_desktop_config.json):
{
"mcpServers": {
"evalmonkey": {
"command": "evalmonkey",
"args": ["serve-mcp"]
}
}
}
Once connected, your AI assistant will gain the ability to list benchmarks, trigger full evaluation runs, inject chaos payload mutators, pull historical trends, and generate improvement eval assets — entirely autonomously while helping you build your agent!
evalmonkey run-benchmark --scenario arc \ --target-url http://localhost:8000/v1/chat/completions \ --request-key content \ --response-path choices.0.message.content ```
EvalMonkey natively ships with a Model Context Protocol (MCP) server! This allows AI IDEs (like Cursor) or external agents (like Claude Desktop) to invoke EvalMonkey tools automatically while they build your agent.
EvalMonkey 是一个专为 Agent 设计的开源、严格本地化的执行测试框架。由于 Agent 在调用外部 API、工具循环及处理大规模 Context Window 时具有非确定性,EvalMonkey 为开发者提供了强大的基准测试能力。你可以直接在本地运行标准的 Agent Benchmark 数据集,并利用其独特的“混沌注入”功能(如修改 Header、增加 Latency 或损坏 Schema),通过模拟各种异常场景来全面评估 Agent 的鲁棒性。
支持通过源码手动安装。首先通过 git clone 下载 EvalMonkey 仓库并进入目录,随后使用 `pip install -e .` 进行安装。安装完成后,需要进行首次环境配置:复制 `.env.example` 为 `.env` 文件,并在其中配置用于执行评估任务的 LLM 密钥(如 OpenAI API Key)。请注意,该密钥仅用于充当评估裁判(Judge),不会直接用于你的 Agent 运行。
EvalMonkey 支持通过 CSV、JSON 或 YAML 文件进行测试。若使用 CSV 格式,请确保包含 `id` 和 `expected_behavior_rubric` 列,其他自定义列(如 `question`)将自动封装进 JSON Payload 发送给 Agent。若使用 JSON/YAML,则需将 Agent 的输入参数显式嵌套在 `input_payload` 字典对象下。通过命令行工具,你可以轻松触发针对特定场景的评估流程。
EvalMonkey 提供了极高的配置灵活性。你可以通过修改 `.env` 文件来指定评估用的 LLM 模型(如 `EVAL_MODEL=gpt-4o`)。此外,本项目深度集成 MCP 协议,支持通过 Claude Code、Cursor 或 Claude Desktop 进行快速配置。只需在 MCP 配置文件(如 `claude_desktop_config.json`)中添加相应的 `mcpServers` 配置,即可让 AI 助手直接调用 EvalMonkey 的工具进行基准测试和趋势分析。
EvalMonkey 提供与 OpenAI 兼容的 API 端点,能够返回符合 OpenAI 标准格式的 JSON 响应(包含 `choices` 字段)。开发者可以通过命令行指定 `target-url`、`request-key` 以及 `response-path`,从而实现对不同 Agent 接口的自动化评估与结果解析。
EvalMonkey 内置了 MCP Server,实现了与 Cursor 和 Claude Desktop 的原生集成。这种工作流允许 AI IDE 或外部 Agent 在构建 Agent 的过程中,自动调用 EvalMonkey 的工具链。通过 `run_full_pipeline` 等函数,开发者可以自动化地执行从场景加载、目标 URL 调用到混沌注入测试的全流程,并实时获取评估反馈。
古安事数权模式为常用的系统会模式。古安事数权模式为常用的系统会模式。为常用的系统会模式。
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
✅ Apache 2.0 — 宽松开源协议,可商用,需保留版权声明和 NOTICE 文件,含专利授权条款。
总体来看,古安事数权模式 是一款质量良好的Agent工作流,在同类工具中具备一定竞争力。AI Skill Hub 将持续追踪其更新动态,建议收藏备用,结合自身场景选择合适时机引入使用。
| 原始名称 | evalmonkey |
| 原始描述 | 开源AI工作流:CLI for coding agents to benchmark & chaos test your AI Agents。⭐33 · Python |
| Topics | workflowagentai-agentai-agentsai-toolsbenchmarkpython |
| GitHub | https://github.com/Corbell-AI/evalmonkey |
| License | Apache-2.0 |
| 语言 | Python |
收录时间:2026-05-23 · 更新时间:2026-05-30 · License:Apache-2.0 · AI Skill Hub 不对第三方内容的准确性作法律背书。
选择 Agent 类型,复制安装指令后粘贴到对应客户端