Agent tooling
PiJev: a terminal coding agent with Jev in the loop — Jev ranks the repository's files before the first call, picks skills and triages failures; your coding model writes the code. Built on Pi.
const endpoint = env.PIJEV_JEV_ENDPOINT ?? (provider === "vercel" ? "https://ai-gateway.vercel.sh/v4/ai" : "https://api.typesafe.ai/v1/systemone");The link points at the commit we read, so the line number still holds.
These question sets are lifted from this project's source exactly as written.
relevanttrue/falseIs this relevant?
categorychoiceChoose a category.
code — Code defectenvironment — Missing executableimport { experimental_evaluate as evaluate } from 'ai';
const { answers } = await evaluate({
model: 'typesafe-ai/jev',
state,
questions: {
relevant: { type: 'boolean', instructions: 'Is this relevant?' },
category: { type: 'choice', instructions: 'Choose a category.',
criteria: { code: 'Code defect', environment: 'Missing executable' } },
},
});from test/jev.test.ts:7
categorychoiceClassify the failure.
code — Code defectnetwork — Network failureimport { experimental_evaluate as evaluate } from 'ai';
const { answers } = await evaluate({
model: 'typesafe-ai/jev',
state,
questions: {
category: { type: 'choice', instructions: 'Classify the failure.',
criteria: { code: 'Code defect', network: 'Network failure' } },
},
});