Skip to content
System One

TheoOliveira/pi-jev

Adds semantic tool routing, skill discovery and typed Choice, Noul and Score judgments to the Pi coding agent. Opt-in modes pick the model per prompt and use Jev to decide which tool history survives compaction.

TheoOliveira/pi-jev on GitHub

Stars
46
Forks
6
Language
TypeScript
License
MIT
Last push
20 Sep 2026

Read from GitHub on . Counts change daily.

How it uses Jev

const response: any = await client.systemOne({
  state: statePayload,
  questions: formattedQuestions,
  model: request.model,
}, { signal });

const elapsedMs = Date.now() - startTime;
this.stats.requestsCount += 1;
const tokens = response.usage?.totalTokens || 0;
this.stats.totalTokens += tokens;
this.stats.lastElapsedMs = elapsedMs;

const answers: Record<string, JevAnswerResult> = {};

View in src/jev.ts

Open on GitHub

More like this

Use cases this is tagged with