pi-provider-tokenflux

pi provider extension for TokenFlux

Packages

Package details

extension

Install pi-provider-tokenflux from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:pi-provider-tokenflux
Package
pi-provider-tokenflux
Version
2.0.0
Published
Oct 21, 2026
Downloads
834/mo · 34/wk
Author
twisuki
License
MIT
Types
extension
Size
20.1 KB
Dependencies
0 dependencies · 2 peers
Pi manifest JSON
{
  "extensions": [
    "./src/index.ts"
  ]
}

Security note

Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.

README

pi-provider-tokenflux

Pi provider extension for TokenFlux

npm version License Issues

English | 简体中文

Installation

Install with Pi:

pi install npm:pi-provider-tokenflux

Or install directly from GitHub:

pi install git:github.com/Twisuki/pi-provider-tokenflux

Quick Start

Start Pi and add a provider, then log in with your TokenFlux API key:

/tf-provider-add demo
/login tf-demo

This registers the provider as tf-demo. Use /model to select a model. Available models are fetched from TokenFlux after authentication, and added providers are restored when Pi starts.

You can also supply your API key through the TOKENFLUX_API_KEY environment variable. Add providers with different names to use multiple accounts.

Commands

Command Description
/tf-provider-add [name] Add a TokenFlux provider (id is prefixed with tf-).
/tf-provider-list List added TokenFlux providers with their current status.
/tf-provider-remove <id> Remove a TokenFlux provider.

For bugs or suggestions, open a GitHub issue.

Changelog

CHANGELOG.md

License

MIT