NiceEval

作者 NiceEval

build eval for your agent in 10 mins

106
Stars
2
Forks
TypeScript
语言
2026/8/24
添加时间

⚠️ 第三方软件声明

本 Skill 为第三方开源软件,独立托管于 GitHub。SkillTip 仅为信息目录,不控制或维护底层仓库。所显示的安全检查为自动化且范围有限,安装前请自行审查源码。

阅读服务条款

安装

添加到你的 Claude Code skills 目录:

# Add to your Claude Code skills
git clone https://github.com/NiceEval/NiceEval

快速入门

使用 NiceEval 等 Skills 的指南。

安全报告

已验证

上次扫描:—

{
  "status": "PASSED",
  "issues": []
}

README.md

NiceEval

Progressive, agent-native evals tool for AI agents, with excellent DX

typescript license docs discord

中文 | Deutsch | Español | français | 日本語 | 한국어 | Português | Русский

NiceEval is an agent eval tool that helps teams measure, evaluate, and improve AI in production. With NiceEval, teams can compare models, iterate on agents, catch regressions, and keep improving their AI applications using real user data.

NiceEval is local-first at its core: your evals run in your own environment. When your team needs to share evals or track regressions, you can push a Report to platforms like BrainTrust, or export a custom report.

Why NiceEval when DeepEval, LangFuse, and BrainTrust already exist

NiceEval is an Agent-Native eval tool. The Dataset / golden pattern of building an Input and an Expected Output doesn't fit real agent evaluation. Agents today need to be evaluated at a finer grain — multi-turn conversations, multi-agent collaboration, tool calls, skill loading — and NiceEval does this better.

It also coexists with LangFuse and BrainTrust: use them for tracing, or upload eval results to both.

Architecture

NiceEval supports two integration modes, depending on whether the agent under test needs an isolated sandbox filesystem.

Mode 1: Sandbox (Docker, E2B) — run coding agents like Codex and Claude Code that need a sandbox

   evals/*.eval.ts
        │
        ▼
   ┌────────────┐
   │  NiceEval  │
   └────────────┘
        │
        │ Agent adapter (official)
        ▼
   ┌────────────────────────────────┐
   │         Docker Sandbox         │
   │    ┌────────────────────────┐  │
   │    │ Codex / Claude Code    │  │
   │    │ apps needing isolation │  │
   │    └────────────────────────┘  │
   └────────────────────────────────┘

Mode 2: Direct — connect straight to your own AI Agent

   evals/*.eval.ts
        │
        ▼
   ┌────────────┐
   │  NiceEval  │
   └────────────┘
        │
        │ Agent adapter (official, or your own implementation)
        ▼
   ┌──────────────────────────┐
   │    your own AI Agent     │
   │   (AI SDK·LangGraph·Pi)  │
   └──────────────────────────┘
  • NiceEval core owns discovery, scheduling, assertions, reporting, and artifacts.
  • Agent adapters are the open boundary: you decide how to call the system under test.
  • Coding agents that need filesystem isolation run inside the Docker Sandbox; your own AI agent can connect directly, without Docker.

Core concepts at a glance

ConceptIn one line
EvalA test case: written in evals/*.eval.ts, describing what to check.
ExperimentA checked-in run configuration: which Adapter, which model, which flags.
AdapterThe layer that connects to the system under test: implement one send, get back a standard event stream.
SandboxOnly needed for coding agents that require an isolated workspace; a direct web agent doesn't need one.
TierThree levels of Adapter integration effort: Tier 1 wires up send only, Tier 2 adds OTel for a call waterfall, Tier 3 makes invasive changes for feature A/B testing.

See the full glossary in the architecture overview.

Example

// evals/eval-tool-call.eval.ts
import { defineEval } from "niceeval";
import { includes, jsonMatch, pattern, toolMatch } from "niceeval/expect";

export default defineEval({
  judge: true,
  description: "Verify the agent calls the weather tool and answers from its result",

  async test(t) {
    const turn = await t.send("What's the weather in Beijing today?");
    turn.succeeded();

    await t.group("calls get_weather with the right city", () => {
      turn.calledTool(toolMatch("get_weather", { input: jsonMatch({ city: "Beijing" }) }));
      t.check(turn.message, pattern(/°C|sunny|cloudy|rain/));
    });

    const second = await t.send("What about Shanghai tomorrow?");
    t.check(second.message, includes("Shanghai"));

    turn.judge.autoevals
      .closedQA("Does the reply use the tool's weather data instead of making up a temperature?")
      .gate(0.7);
  },
});
// experiments/local.ts
import { defineExperiment } from "niceeval";
import { webAgent } from "./adapter"; // your agent adapter, pointed at the system under test

export default defineExperiment({
  agent: webAgent({ baseUrl: "http://127.0.0.1:5188" }),
  model: "gpt-5.5"
});
pnpm exec niceeval exp local eval-tool-call  // run only eval-tool-call under the local experiment
pnpm exec niceeval view // view eval results

Quick Start

READ https://niceeval.com/INIT.md and set up niceeval for this repo: install it, integrate it with this project, and run the first eval end to end.

Start from the scenario that matches what you need to evaluate:

Roadmap

Official Adapters

  • Agent Software

    • Claude Code
    • Codex
    • Bub
    • OpenCode
    • Hermes Agent
    • OpenClaw
    • Alma
    • ...
  • Agent Frameworks

    • AI SDK
    • Claude SDK
    • Codex SDK
    • Pi Agent SDK
    • LangGraph
    • vm0
    • Cursor Agent SDK

Documentation

Acknowledgements

This project was inspired by — or had its code learned by AI from — the projects below:

Thanks to Linux.do for their support and feedback during the project's early development.

常见问题

What is NiceEval?

NiceEval is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by NiceEval. build eval for your agent in 10 mins. It has 106 GitHub stars.

Is NiceEval safe to use?

NiceEval returned warnings in SkillsLLM's automated security scan. It has no critical vulnerabilities, but review the flagged issues in the Security Report section before adding it to your workflow.

How do I install NiceEval?

Clone the repository with "git clone https://github.com/NiceEval/NiceEval" and add it to your Claude Code skills directory (see the Installation section above).

What programming language is NiceEval written in?

NiceEval is primarily written in TypeScript. It is open-source under NiceEval on GitHub, so you can review or fork the full source.

Are there alternatives to NiceEval?

Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh NiceEval against similar tools.

评论 (0)

暂无评论,成为第一个分享想法的人!

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI 智能体ai-agentsbrainstorming
查看详情

hermes-agent

by NousResearch

10

The agent that grows with you

234,43747,175Python
AI 智能体ai-agentsagent-orchestration
查看详情

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI 智能体claude-codeai-tools
查看详情

claude-code

by anthropics

Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.

120,03119,897Shell
AI 智能体
查看详情

开发者还喜欢

基于喜欢此 Skill 的开发者投票和收藏

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI 智能体ai-agentsbrainstorming
查看详情

hermes-agent

by NousResearch

10

The agent that grows with you

234,43747,175Python
AI 智能体ai-agentsagent-orchestration
查看详情

n8n

by n8n-io

12

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

201,88160,308TypeScript
MCP 服务器apisai-tools
查看详情

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI 智能体claude-codeai-tools
查看详情