← Catalog

@pentect/pi

Pentect provider extension for Pi

Package

Install

Install with PiG

pig install npm:@pentect/pi

Install with Pi

pi install npm:@pentect/pi
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": [
    "extensions/pentect.js"
  ]
}

README

Written by the package's publisher, shown as published in version 0.0.101 (README.md). PiG does not review it.

@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-5

To try it without installing:

pi -e npm:@pentect/pi --model pentect/gpt-5

Set 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.