OneOS Docs
Genesis 0.3.3 Console

Get started

Quickstart: CLI

genesis is the OneOS command line. Sign in once in your browser, or set an API key for scripts and CI.

1. Install

npm install -g https://os.one.ml/pkg/onesi-genesis-0.3.3.tgz https://os.one.ml/pkg/onesi-genesis-cli-0.3.3.tgz
genesis --version

Genesis 0.3.3 installs from https://os.one.ml/pkg/: the release archives, byte for byte what npm will carry (sha256 in ARTIFACT-MANIFEST.json: onesi-genesis-0.3.3.tgz 5ce698b66b1a59809df6a42ac33d6af0db734d8a84524aaafa78af2f813eee5f, onesi-genesis-cli-0.3.3.tgz 9a13609db60f0d09005818b2186ee8dea0fe8814bdb2b53dae8c025132af8c51, onesi-genesis-mcp-0.3.3.tgz 48bf40d159e4df1b8f930f1319a9233b1e3d679dbb26eee31e9fcde7dc389bb0). Install the packages in one command as shown, so the CLI and the MCP server find the SDK. The newest version on npm is older; npm install @onesi/genesis gives you that one.

Or run it without installing: npx -y -p https://os.one.ml/pkg/onesi-genesis-0.3.3.tgz -p https://os.one.ml/pkg/onesi-genesis-cli-0.3.3.tgz genesis --help. It runs on Node.js 20.19 or later; tested on 20, 22 and 24.

2. Sign in

genesis login
genesis whoami

An API key in GENESIS_API_KEY (or --api-key) takes precedence over a saved login. genesis logout forgets the login.

3. Check the gateway

genesis status
Output (abridged)
SERVICE  STATE  HTTP_STATUS  LATENCY_MS
auto     up     200          109
beacons  up     200          100
blinds   up     200          105

4. Create a project, store a secret, clean up

PROJECT_ID=$(genesis --json hives projects create quickstart --kind function | jq -r .id)

printf 'postgres://example' | genesis hives secrets create "$PROJECT_ID" DATABASE_URL --stdin
genesis hives secrets list "$PROJECT_ID"

genesis hives projects delete "$PROJECT_ID"
Output
ID                                    NAME          VERSION  DESCRIPTION  UPDATED_AT
sec_4d544863d25f4f339223deb21850c668  DATABASE_URL  1                     2026-10-20T06:44:42.474955Z
Deleted project prj_c0d88bd34b6f4fa1a88260e1c962d123.

Deletion finishes in the background; until it does, the name quickstart stays taken, so use a new name for a second run.

Secret values are read from a file (--value-file) or stdin (--stdin), never from an argument, so they stay out of your shell history.

5. Script it

--json prints machine-readable output on success and failure. Errors carry the status, code, message, request_id and docs_url, and required_scope on SCOPE_MISSING:

genesis --json hives projects delete prj_doesnotexist
{"error":{"type":"not_found","status":404,"message":"project not found: prj_doesnotexist","request_id":"835ac2a6-c1da-468d-bb6a-856e6106267d","code":"PROJECT_NOT_FOUND","docs_url":"https://os.one.ml/api/v1/errors#PROJECT_NOT_FOUND"}}

Next

  • Every command and option: CLI reference.
  • genesis <service> --help lists a service's commands in your terminal.

L1fe AI Inc. · Built from Genesis 0.3.3 and the live gateway on 2026-10-25. Support