neolite-agent1.1.1
Sign coding agents in to Neolite, or your own deployment of it, with one approval in the browser: an omp plugin and a login command for opencode and scripts.
Built for omp
The author tagged this package omp-plugin.
Reports 0
No reports yet.
Readme
neolite-agent
Use your Neolite models from coding agents, signed in with one approval in the browser: no key to copy, and the model list stays current.
omp
omp plugin install neolite-agent
omp login neolite # or /login neolite inside omp
When asked for a server, press Enter for neolite.ai, or paste your
organization's API address (shown on its Settings → Coding agents page).
Approve the sign-in in the browser that opens, then pick a model with
/model. Signing in again — to another server, or after revoking a key —
replaces the previous sign-in.
If /model does not list the Neolite models but /switch finds them, your
omp settings limit /model with enabledModels: add neolite/** to it. If
requests fail with an invalid key (revoked on Settings → Coding agents, or
from another server), run /login neolite again. A neolite provider of your own in models.yml takes the place of this
plugin's list; remove it to use the plugin.
opencode
opencode auth login https://api.neolite.ai
opencode runs this package's login command, you approve in the browser, and
your models appear under Neolite. Use your organization's API address in
place of api.neolite.ai on a self-hosted deployment.
Anything else
export NEOLITE_API_KEY=$(npx -y neolite-agent login)
prints the key, and only the key, on stdout once you approve. Point any
OpenAI-compatible tool at https://api.neolite.ai/v1 with it.
Every sign-in makes a personal API key named after the agent and the machine. Revoke it any time on Settings → Coding agents; the agent stops working at once.