PI
A minimal, extensible open-source terminal coding agent (by earendil-works). By default the model gets just four tools — read / write / edit / bash — extended on demand via Extensions, Skills and Pi Packages. A custom provider is one JSON file away.
Install
--ignore-scripts skips dependency lifecycle scripts — PI does not need them, and it reduces supply-chain risk.
npm package: @earendil-works/pi-coding-agent; website: pi.dev.
Since May 2026 the package moved from @mariozechner/pi-coding-agent to @earendil-works/pi-coding-agent. Do not use the old name from stale tutorials; existing installs migrate with pi update --self.
Prerequisites
- PI installed (
pi --versionprints a version) - An OpenAI-format group key from the API Keys page
Configure
Edit ~/.pi/agent/models.json and add ByteSeek as a custom provider:
- Model
ids come from the model plaza; prefix them when using a composite key. apiKeyaccepts the environment form"$BYTESEEK_API_KEY"if you prefer not to store the key on disk.- For an Anthropic-format group key, set
apitoanthropic-messagesandbaseUrltohttps://tokens.byteseek.ai(no/v1).
The file reloads automatically every time /model opens — no session restart after edits.
/modelshows abyteseeksection listing the models from yourmodels.json(e.g.GPT-5.6 Sol);- After selecting, the status bar shows the current model ID;
- A test message returns normally with no 401 / 403.
Verify
Start pi, switch via /model (or Ctrl+L) to a byteseek model, and send a message. Charges appear on the usage page.