Pi
Pi has no MCP client. jev-code is therefore also a pi package: its package.json points pi at integrations/pi/, whose extension registers jev_classify, jev_check, jev_score, jev_rank, and jev_ask as native tools. The extension imports the package's own build, so the tool contract is shared with the MCP server and the CLI.
Automatic
npx -y @french-castle/jev-code@latest setup pi # pi install npm:@french-castle/jev-code
npx -y @french-castle/jev-code@latest setup pi --project # pi install -l --approve ...
The skill is copied to ~/.agents/skills/jev/ (or .agents/skills/jev/), which pi reads. Run /reload inside pi, or restart it.
Manual
pi install npm:@french-castle/jev-code
npx skills add FrancoisChastel/jev-code --skill jev -a pi
To try a local checkout: npm run build, then pi install /absolute/path/to/jev-code or, for a single run, pi -e /absolute/path/to/jev-code/integrations/pi/jev.ts. Project scope (pi install -l) needs --approve, because pi only edits .pi/settings.json for a trusted project; setup --project passes it.
The extension reads the API key (TYPESAFE_API_KEY, OPENROUTER_API_KEY, or AI_GATEWAY_API_KEY; OpenAI's Decisions API with OPENAI_API_KEY plus JEV_CODE_PROVIDER=openai, and the other decision APIs likewise; a local Ollama with just JEV_CODE_PROVIDER=ollama; a System One gateway of your own with TYPESAFE_API_KEY plus TYPESAFE_BASE_URL) from the shell pi runs in; nothing is written into pi's settings.
Verify
pi list
jev-code doctor
Inside pi, the tools appear in the Available tools section of the system prompt and /skill:jev loads the skill.