NAiOS Code
naios-codev0.1.0NAiOS Agent Terminal Code: browser login with device token (30 days), model proxy with platform key (MAX plan / admins only) and optional LiteLLM gateway for non-Claude models
Description
This plugin is the server side of NAiOS Code, the agent terminal of NAiOS.net. It provides three components: (1) the CLI authorization flow — the terminal opens the browser, the user approves the device and receives a 30-day opaque token stored hashed and revocable from the profile; (2) an inference proxy compatible with the Anthropic Messages API, authenticated with that token, which forwards to AIMLAPI with the platform key without ever exposing it to the client — reserved for MAX plan users, admins, and superadmins; and (3) an optional LiteLLM gateway (on/off) that translates protocol to also serve non-Claude models from the AIMLAPI catalog (GPT, Gemini, Qwen...) through the same endpoint.
Features (3)
The terminal is authorized with a click from the browser; 30-day hashed token revocable from the profile
MAX users use the models without configuring any API key; the key never leaves the server
Optional protocol translation to serve non-Claude models (GPT, Gemini, Qwen...) through the same endpoint