Set up Ulvium. App, terminal, or your own tools.

Everything runs on one account number. Get it once, then use it in the desktop app, in the terminal, and as an API key in any app that speaks the OpenAI format.

Get an account

  1. Create an account number. There is no email and no name. The number is shown once, so save it in a password manager: it is the only key, and it cannot be reset.

  2. On your account page, add a plan or credits. Payment is in crypto and nothing renews by itself. Prices are on the pricing page.

  3. That number now signs you in everywhere below.

Desktop app

Download the build for your computer from the download page, then:

macOS

Open the .dmg and drag Ulvium into Applications. The app is not notarized by Apple yet, so the first time, right-click it in Applications and choose Open, then confirm. Or let the installer do it all:

curl -fsSL https://ulvium.com/install.sh | sh -s -- --desktop

Windows

Unzip the download anywhere, for example C:\Program Files\Ulvium, and run Ulvium.exe. The build is not code-signed yet, so SmartScreen may ask: choose More info, then Run anyway.

Linux

Make the AppImage runnable and start it:

chmod +x Ulvium-linux-x64.AppImage && ./Ulvium-linux-x64.AppImage

Sign in

Open a new session. Under the message box, press Sign in, choose Paste your account number, and paste it. The number is stored on your computer only. Pick a project folder and start typing.

Terminal command

You do not need the desktop app. One line installs only the ulvium command.

macOS and Linux

curl -fsSL https://ulvium.com/install.sh | sh

It picks the build for your processor, checks it against the published SHA-256 list, and puts it in ~/.local/bin. If the installer says that folder is not on your PATH, add the line it prints to your shell profile and open a new terminal.

Windows

irm https://ulvium.com/install.ps1 | iex

Run it in PowerShell. It installs ulvium.exe to %LOCALAPPDATA%\Ulvium\bin and adds that folder to your PATH. Open a new terminal afterwards.

First run

  1. Sign in once. Choose Ulvium, then paste your account number.

    ulvium auth login
  2. Go to a project and start the agent.

    cd my-project && ulvium
  3. Or give it one task and get the result back in the terminal, which is what scripts and CI use.

    ulvium run "add tests for the parser and make them pass"

Useful commands

ulviumStart the agent in the current folder
ulvium run "task"Run one task without the interface
ulvium -cContinue the last session
ulvium modelsList the models your account can use
ulvium auth listShow what is signed in
ulvium auth logoutRemove the saved account number from this computer
ulvium --versionShow the installed version

To update, run the install command again. Ulvium never updates itself in the background.

API

The gateway speaks both OpenAI formats, chat completions and Responses, so existing OpenAI client code and tools work after changing two values.

Base URL
https://api.ulvium.com/v1
API key
An API token from your account page (starts with ulv_), or your account number
Models
scout-1 and alpha-1, each with a 1,048,576-token context

For anything outside the Ulvium apps, make a separate token. You can delete a token without touching your account; an account number that leaks cannot be changed.

Your first request

curl
curl https://api.ulvium.com/v1/chat/completions \
  -H "Authorization: Bearer $ULVIUM_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "scout-1",
    "messages": [{"role": "user", "content": "Write a port scanner in Go for my own lab network."}]
  }'

Python

Python, openai package
from openai import OpenAI

client = OpenAI(
    base_url="https://api.ulvium.com/v1",
    api_key="ulv_...",  # an API token from your account page
)

stream = client.chat.completions.create(
    model="scout-1",
    messages=[{"role": "user", "content": "Explain this stack trace."}],
    stream=True,
)
for chunk in stream:
    if chunk.choices and chunk.choices[0].delta.content:
        print(chunk.choices[0].delta.content, end="")

JavaScript

Node, openai package
import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://api.ulvium.com/v1",
  apiKey: process.env.ULVIUM_API_KEY,
});

const reply = await client.chat.completions.create({
  model: "alpha-1",
  messages: [{ role: "user", content: "Review this diff for bugs." }],
});
console.log(reply.choices[0].message.content);

Endpoints

POST /v1/chat/completionsSend messages, get a reply. Supports stream, tools, tool_choice and response_format.
POST /v1/responsesThe same models in the OpenAI Responses format, with streaming and tool calls. Nothing is stored, so send the whole conversation in input each time; previous_response_id is not available.
GET /v1/modelsThe models available to you
GET /v1/usageYour plan, both usage meters with their reset times, and your credit balance

Use it in other apps

Any app with an "OpenAI compatible" or "custom OpenAI endpoint" option works. It always asks for the same three things:

Base URL
https://api.ulvium.com/v1
API key
Your ulv_ token
Model ID
scout-1 or alpha-1

Codex CLI

Codex talks to Ulvium through the Responses endpoint. Add a provider to ~/.codex/config.toml (create the file if it is not there):

~/.codex/config.toml
model = "scout-1"
model_provider = "ulvium"

[model_providers.ulvium]
name = "Ulvium"
base_url = "https://api.ulvium.com/v1"
env_key = "ULVIUM_API_KEY"
wire_api = "responses"

Put your token in the variable the config names, then start Codex as usual. Add the export line to your shell profile to keep it.

Shell
export ULVIUM_API_KEY="ulv_..."
codex

To use the stronger model for one run, start it with codex -m alpha-1. To keep your OpenAI setup as the default and use Ulvium only when you ask, leave out the first two lines of the config and run codex -c model_provider=ulvium -m scout-1.

Codex runs commands and edits files with Ulvium's models exactly as it does with OpenAI's. Its built-in web search runs on OpenAI's servers, so it is not available through Ulvium.

OpenAI command-line tool

The openai command from the Python package needs only the two variables:

Shell
export OPENAI_BASE_URL="https://api.ulvium.com/v1"
export OPENAI_API_KEY="ulv_..."
openai api chat.completions.create -m scout-1 -g user "Explain this error: EADDRINUSE"

Tools that read the OpenAI environment variables

Many command-line tools and libraries pick these up with no other change:

Shell
export OPENAI_BASE_URL="https://api.ulvium.com/v1"
export OPENAI_API_KEY="ulv_..."

Cline and Roo Code (VS Code)

In the extension settings set API Provider to OpenAI Compatible, then fill in the base URL, your token and the model ID from the list above.

Continue (VS Code and JetBrains)

Add the models to config.yaml:

~/.continue/config.yaml
models:
  - name: Ulvium Scout 1
    provider: openai
    model: scout-1
    apiBase: https://api.ulvium.com/v1
    apiKey: ulv_...
  - name: Ulvium Alpha 1
    provider: openai
    model: alpha-1
    apiBase: https://api.ulvium.com/v1
    apiKey: ulv_...

Aider

Shell
export OPENAI_API_BASE="https://api.ulvium.com/v1"
export OPENAI_API_KEY="ulv_..."
aider --model openai/scout-1

Open WebUI

In Admin Settings, open Connections, add an OpenAI API connection with the base URL and your token, and the two models appear in the model list.

Requests from other apps count against the same plan limits and credits as the Ulvium apps. The acceptable use rules apply the same way.

Limits and errors

Usage is measured by what each request costs to run and counted on two meters, one that resets every five hours and one weekly. Alpha 1 costs more per token than Scout 1, so the same work uses more of your allowance. When a meter is full, requests continue on credits if you have any.

Errors come back as JSON: {"error": {"type": "...", "message": "..."}}.

StatusTypeWhat to do
401invalid_api_keyThe key is missing or wrong. Send it as Authorization: Bearer ...
403no_active_planAdd a plan or credits on your account page
404model_not_foundUse scout-1 or alpha-1
400context_length_exceededShorten the conversation or start a new one
429limit_reachedA meter is full. Wait for the reset time in the message, or add credits
429rate_limited, concurrency_limitToo many requests at once. Retry after a short pause
503model_unavailableTemporary. Retry after the Retry-After time

Stuck? Send us a message.