Skip to content

yummy-pi-extensions

Pi coding agent extensions, including pi-jev-router, which asks Jev whether a prompt should continue, fork or start a new session.

PluginbetaMIT

Overview

yummy-pi-extensions is a collection of extensions for the Pi coding agent, each released separately under the @sugarforever npm scope with its own README, tests and release workflow. The Jev-related one is pi-jev-router: before a prompt enters the session, it asks Jev whether the work should continue in the current session, fork, or start a new session, and offers that move, keeping tangents and unrelated questions from polluting a long context. It can use TypeSafe directly, OpenRouter (typesafe/jev-1.13) or Vercel AI Gateway.

The other extensions are pi-zvec-grep, for semantic and ranked full-text workspace search, and pi-throughput-meter, which shows time to first token and output throughput in Pi's status line. Each can be installed with pi install or enabled per project. MIT licensed.

What the decision model decides

TypeQuestionAnswers
ChoiceShould this prompt continue the session, fork it, or start a new session?continue · fork · new session

How it works

  1. A user submits a prompt in Pi.
  2. pi-jev-router asks Jev to classify it.
  3. Pi offers to continue, fork or start a new session.
  4. The user accepts or ignores the suggestion.

Strengths

  • Keeps long contexts focused.
  • Three provider options.
  • Tested, independently released packages.

Caveats

  • Pi-specific.
  • Requires a provider key.

Getting started

pi install npm:@sugarforever/pi-jev-router

At a glance

Type
Plugin
Status
beta
Language
TypeScript
Runtime
Pi extension
Has code
yes
Has tests
yes
License
MIT

Use cases and integrations

How curated lists describe it

  • Extensions for the Pi coding agent, each released separately, including a Jev-based model router.

    MrJev/awesome-jev

Frequently asked questions

What does pi-jev-router decide?

Whether a new prompt should continue, fork or start a new session.

Which providers work?

TypeSafe, OpenRouter and Vercel AI Gateway.

Are the other extensions Jev-based?

No, pi-zvec-grep and pi-throughput-meter do not use Jev.

Related projects

  • Agent plugin that asks Jev whether the session is at a safe boundary to /compact and can trigger it on Pi and Claude Code.

    PluginbetaTypeScript
  • Pi extension that strips the inlined skill list and asks Jev which single skill, if any, to load per turn.

    Agent skillbetaTypeScript
  • Agent harness that compiles an environment's finite actions into typed questions for Jev and gates each step by confidence.

    CLIbetaPython
  • MCP tool that asks Jev which files, web pages or snippets are relevant to a query, so the agent reads selectively.

    MCP serverbetaTypeScript
  • MCP server with record and recall tools: facts are logged during a session and Jev keeps only those relevant to the next task.

    MCP serverbetaTypeScript
  • Durable Android sub-agent: a SQLite-backed worker observes the UI and Jev picks among valid actions, with verification and escalation.

    MCP serverbetaPython