Agent 工具
基于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.
/** Minimal client for TypeSafe's System One endpoint (POST /v1/systemone). */链接指向我们抓取当天的那个 commit,行号是准的。
下面是从这个项目源码里原样取出来的 question 组合。
severity打分How severe is this?
0 — trivial1 — minor2 — major3 — criticalarea选项Which team should own this ticket?
billing — payments and invoicingplatform — availability and errorsdocs — documentationimport { 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' } },
},
});