# pi-inceptron

A [pi](https://pi.dev) extension that adds [Inceptron](https://www.inceptron.io)
as an LLM provider. Its one job is **live model discovery**: on startup it fetches
your available Inceptron models (including private/fine-tuned checkpoints) from
`GET /v1/models` so you never hand-maintain a model list. Without a key, it falls
back to a small curated catalog in [`src/models.ts`](src/models.ts).

## Install

Add it to your pi `settings.json` (`~/.pi/agent/settings.json` or `.pi/settings.json`):

```json
{
  "packages": ["git:git.torbjorn.dev/torbbang/pi-inceptron@v0.1.0"]
}
```

Set your API key, then start pi and pick a model with `/model inceptron`:

```bash
export INCEPTRON_API_KEY="sk-..."
```

## Notes

- Override the endpoint with `INCEPTRON_BASE_URL` (default `https://api.inceptron.io/v1`).
- To hack locally: `pi -e ./src/index.ts`.
- Edit the fallback catalog in [`src/models.ts`](src/models.ts) to add checkpoints
  or fix pricing. Verify values against <https://docs.inceptron.io>.

## License

MIT
