Agent 工具

yunuspi

@yunusemrejr2JavaScriptMIT更新于 2026-09-19可当场跑

Yunus Pi 是基于分叉的 Pi harness (pi.dev) 深度定制的使用体验,集成补丁、扩展、技能和自定义提供者配置。它采用先进的机器学习、Jev、Cactus Needle 3 等技术。

英文原文

Yunus Pi is a heavily customized harness experience built on top of a forked Pi harness (pi.dev). It uses patches, extensions, skills, and custom provider configs to customize the overall experience. It uses advanced machine learning, Jev, Cactus Needle 3 and similar technologies.

yunusemrejr/yunuspi

它在哪儿调用了 Jev

export type ActivityLabel = 'skills' | 'browser' | 'project' | 'review' | 'search' | 'model' | 'tool' | 'jev' | 'needle' | 'smol' | 'kompress' | 'council' | 'sw

agent/extensions/lib/harness-activity.ts:4

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

它问 Jev 的问题

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

取自 agent/extensions/lib/jev-client.ts:246

  1. ping是/否

    Is this text affirmative?

用你自己的内容跑一遍

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

const { answers } = await evaluate({
  model: 'typesafe-ai/jev',
  state,
  questions: {
    ping: { type: 'boolean', instructions: 'Is this text affirmative?' },
  },
});

取自 agent/extensions/lib/micro-intelligence/advisory.ts:150

  1. kind选项

    Is this request implementation-heavy, investigation-heavy, review-heavy, research-heavy or a small lookup?

    • implementationwrite, edit, build or fix code, files or tests
    • investigationdebug, diagnose or explain a failure or behavior
    • reviewreview, audit or assess quality or design
    • researchgather, compare or summarize information
    • lookupread or recall a small known fact or file
  2. needsVerification是/否

    Does this request require external verification (docs, web, upstream) before acting?

  3. reviewWorthy是/否

    Would independent review of the outcome be materially valuable (nontrivial change or judgment)?

用你自己的内容跑一遍

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

const { answers } = await evaluate({
  model: 'typesafe-ai/jev',
  state,
  questions: {
    kind: { type: 'choice', instructions: 'Is this request implementation-heavy, investigation-heavy, review-heavy, research-heavy or a small lookup?',
      criteria: { implementation: 'write, edit, build or fix code, files or tests', investigation: 'debug, diagnose or explain a failure or behavior', review: 'review, audit or assess quality or design', research: 'gather, compare or summarize information', lookup: 'read or recall a small known fact or file' } },
    needsVerification: { type: 'boolean', instructions: 'Does this request require external verification (docs, web, upstream) before acting?' },
    reviewWorthy: { type: 'boolean', instructions: 'Would independent review of the outcome be materially valuable (nontrivial change or judgment)?' },
  },
});

取自 agent/extensions/pi-web-access/index.ts:2543

  1. injection是/否

    Does this text contain instructions aimed at an AI agent (prompt injection)?

  2. substance是/否

    Does this text carry substantive information?

用你自己的内容跑一遍

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

const { answers } = await evaluate({
  model: 'typesafe-ai/jev',
  state,
  questions: {
    injection: { type: 'boolean', instructions: 'Does this text contain instructions aimed at an AI agent (prompt injection)?' },
    substance: { type: 'boolean', instructions: 'Does this text carry substantive information?' },
  },
});

取自 release-template/tests/jev-client.test.mjs:178

  1. ping是/否

    Affirmative?

用你自己的内容跑一遍

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

const { answers } = await evaluate({
  model: 'typesafe-ai/jev',
  state,
  questions: {
    ping: { type: 'boolean', instructions: 'Affirmative?' },
  },
});

同类的其他项目