TESSEN Platform
Documentation
Docs/Models
MODELS / PROJECT ZERO

ZERO authentication

Sign in from the Tessen CLI with a device code you approve in your browser. You never paste a key.

Restricted accessPrivate enrollment.

The CLI asks Tessen for a short code, you approve it in a browser where you are signed in, and the CLI receives a credential bound to your Tessen identity.

  1. Start the sign-in

    The CLI prints a code and opens the approval page.

    BASH
    tessen auth:login
  2. Approve in the browser

    Sign in if asked, check that the code on the page matches the one in your terminal, and approve.

  3. Confirm

    Shows who this machine is signed in as.

    BASH
    tessen auth:whoami

The credential

The credential begins tes_, is bound to your identity, and works against https://api.tessen.ai/v1 exactly like a Console key. tessen opencode hands it to OpenCode's credential store; it is never written into a configuration file.

Note

A key created in the Console is the same kind of credential and also reaches ZERO if the account is enrolled. The CLI route is still recommended for OpenCode because it keeps the key out of configuration files.

Sign out

BASH
tessen auth:logout

Search documentation

Titles, headings and guides↑ ↓ navigate · Enter open