Install
Install with PiG
pig install npm:@wsehl/pi-featherlessInstall with Pi
pi install npm:@wsehl/pi-featherlessReview before installing
Packages run code with your permissions and influence agent behavior. Catalog inclusion is not a security audit. Review the source before installing a third-party package.
Pi manifest JSON
The pi field of package.json.
{
"extensions": [
"./index.ts"
]
}README
Written by the package's publisher, shown as published in version 1.1.0 (README.md). PiG does not review it.
pi-featherless
Featherless.ai provider for Pi coding agent.
Install
pi install npm:@wsehl/pi-featherless
Try it without installing:
pi -e npm:@wsehl/pi-featherless
Set up
Run /login featherless and paste your API key. Pi stores it in ~/.pi/agent/auth.json.
You can set FEATHERLESS_API_KEY instead. A stored key takes priority.
The model list downloads in the background when a session starts.
In a new install, run /reload after logging in. Then:
pi --model featherless/Qwen/Qwen2.5-7B-Instruct
Notes
- The catalog is cached in
models-store.jsonand refreshed at most every 6 hours. Startup does not wait for the network. SetPI_OFFLINE=1to skip refreshes. - Image input follows the catalog's
image_inputflag. Qwen3-family models get thinking support, and pi's thinking level toggles it throughchat_template_kwargs.enable_thinking. At leveloffthey answer without thinking. Other models are registered without thinking support. Small models handle pi's tools poorly. max_tokensis left out of requests, so Featherless allows whatever context remains. Pi's own estimate counts old thinking that the server drops, and after compaction it could cap replies at a few tokens.- Featherless context-overflow errors are normalised so pi can compact and retry.
Development
pnpm install
pnpm check # oxlint, oxfmt, tsc
pi -ne -e . # run pi with only this extension