@pentect/pi
v0.0.79
Published
Pentect provider extension for Pi
Maintainers
Readme
@pentect/pi
Use Pi with Pentect as a normal Pi extension. The extension starts Pentect's local gateway and registers one protected provider for the session.
pi install npm:@pentect/pi
pi --model pentect/gpt-5To try it without installing:
pi -e npm:@pentect/pi --model pentect/gpt-5Set PENTECT_PI_MODEL before Pi starts to expose a different model. Set
PENTECT_PI_API=responses for the OpenAI Responses API. OPENAI_BASE_URL and
OPENAI_API_KEY configure the upstream.
For a custom upstream whose model limits differ from the defaults, set
PENTECT_PI_CONTEXT_WINDOW, PENTECT_PI_MAX_TOKENS,
PENTECT_PI_INPUTS=text, or PENTECT_PI_REASONING=true|false. Invalid values
stop startup instead of advertising incorrect capabilities to Pi.
The JavaScript extension only manages Pi's provider lifecycle. Detection, handles, plugins, and network forwarding remain inside the Pentect binary.
