← Catalog

@wsehl/pi-featherless

Featherless.ai provider for Pi coding agent

Extension

Install

Install with PiG

pig install npm:@wsehl/pi-featherless

Install with Pi

pi install npm:@wsehl/pi-featherless
Review 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.json and refreshed at most every 6 hours. Startup does not wait for the network. Set PI_OFFLINE=1 to skip refreshes.
  • Image input follows the catalog's image_input flag. Qwen3-family models get thinking support, and pi's thinking level toggles it through chat_template_kwargs.enable_thinking. At level off they answer without thinking. Other models are registered without thinking support. Small models handle pi's tools poorly.
  • max_tokens is 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