Agent 工具

jev-mcp

@BYK1TypeScriptMIT更新于 2026-09-18可当场跑

基于TypeSafe的Jev,提供带概率的类型化判断(noul、choice、score)的评估优先MCP服务器。

英文原文

An eval-first MCP server for TypeSafe's Jev, a System One model that returns typed judgments (noul, choice, score) with probabilities instead of generated text.

BYK/jev-mcp

它在哪儿调用了 Jev

/** Minimal client for TypeSafe's System One endpoint (POST /v1/systemone). */

src/typesafe.ts:1

链接指向我们抓取当天的那个 commit,行号是准的。

它问 Jev 的问题

下面是从这个项目源码里原样取出来的 question 组合。

取自 scripts/smoke.ts:37

  1. severity打分

    How severe is this?

    • 0trivial
    • 1minor
    • 2major
    • 3critical
  2. area选项

    Which team should own this ticket?

    • billingpayments and invoicing
    • platformavailability and errors
    • docsdocumentation

用你自己的内容跑一遍

代码
import { experimental_evaluate as evaluate } from 'ai';

const { answers } = await evaluate({
  model: 'typesafe-ai/jev',
  state,
  questions: {
    severity: { type: 'score', instructions: 'How severe is this?',
      criteria: ['trivial', 'minor', 'major', 'critical'] },
    area: { type: 'choice', instructions: 'Which team should own this ticket?',
      criteria: { billing: 'payments and invoicing', platform: 'availability and errors', docs: 'documentation' } },
  },
});

同类的其他项目