The olix developer API

Build on the olix core and its local models from your own tools. The API is a small gateway on your Mac: loopback only, off until the owner turns it on, one token per app, and every action that changes something still waits for the owner's approval in olix.

Status. olix is in development and is not yet available to download. This API is built and tested in the repository; the examples on these pages were run against an isolated test-mode core with a stand-in engine, so the model text in them is a placeholder, not model output.

What you get

What it will not do

The full list, with the tests that enforce each line, is on the Safety model page.

Start here

  1. Quickstart: enable, create a token, send a turn. About five minutes.
  2. Auth, scopes and limits
  3. Endpoint reference and events, both generated from the JSON Schema the gateway enforces.

Scopes

scopegrants
modelsLocal model completions only (GET /v1/models, POST /v1/chat/completions). No tools, no sessions.
chatTurns and sessions of this app's own sessions. A turn runs the olix loop; actions that change something wait for the owner.
history.readRead the owner's saved sessions (all apps). The owner grants it per token, with --scopes.
computer ComingComing. Missions on the owner's Mac. Not built; a token cannot be created with it yet.

Coming