OneOS Docs
Genesis 0.3.3 Console

genesis flocks

Flocks: your machines and cloud instances with a harness installed (nodes, harnesses, agents and runs)

39 commands, from the help of @onesi/genesis-cli@0.3.3. Every command also takes the global options, including --json. The operations behind them: Flocks API.

genesis flocks readiness

Check whether node enrollment is currently available

genesis flocks readiness [options]

genesis flocks nodes

List your org nodes; `nodes activity <id>` shows one node

genesis flocks nodes [options] [command]

genesis flocks nodes activity

One node's presence (online, heartbeat age, harnesses) and the runs recorded on it, newest first

genesis flocks nodes activity [options] <id>

Options

  • --limit <n>

    page size, 1–100

  • --cursor <cursor>

    next_cursor from the previous page

genesis flocks harnesses

List the harnesses each node reports, with version and readiness

genesis flocks harnesses [options]

Options

  • --limit <n>

    page size, 1–100

  • --cursor <cursor>

    next_cursor from the previous page

genesis flocks agents

Harness agents, and canonical agent execution (a_<ULID>; needs a signed-in session, not an API key)

genesis flocks agents [options] [command]

genesis flocks agents list

List agents

genesis flocks agents list [options]

Options

  • --limit <n>

    page size, 1–100

  • --cursor <cursor>

    next_cursor from the previous page

genesis flocks agents create

Create an agent on a harness

genesis flocks agents create [options] <name> <harness>

Options

  • --node <id>

    pin the agent to one of your online nodes

genesis flocks agents get

genesis flocks agents get [options] <agent_id>

genesis flocks agents delete

Delete (archive) an agent; refused while a run is active

genesis flocks agents delete [options] <agent_id>

genesis flocks agents execute

Execute a task on a canonical agent; the JSON request needs idempotency_key, task, driver, provider_account_id, target_roost and external_correlation

genesis flocks agents execute [options] <agent_id>

Options

  • --body-file <path>

    JSON request body, up to 64 KiB

genesis flocks agents status

Observe the latest canonical execution

genesis flocks agents status [options] <agent_id>

genesis flocks agents cancel

Cancel the canonical execution admitted under an idempotency key

genesis flocks agents cancel [options] <agent_id>

Options

  • --idempotency-key <key>

    the key the execution was admitted with

genesis flocks activity

Your recent agent sessions and events (needs a signed-in session, not an API key)

genesis flocks activity [options]

genesis flocks runs

Recorded agent runs

genesis flocks runs [options] [command]

genesis flocks runs list

List runs

genesis flocks runs list [options]

Options

  • --agent-id <id>

    only runs of this agent

  • --limit <n>

    page size, 1–100

  • --cursor <cursor>

    next_cursor from the previous page

genesis flocks runs get

genesis flocks runs get [options] <run_id>

genesis flocks runs create

Start a run of an agent; on an instance with a bound inference account it is dispatched with the next heartbeat

genesis flocks runs create [options] <agent_id>

Options

  • --task <text>

    what the agent should do (1-4096 bytes)

  • --node <id>

    run on this node instead of the agent's pinned one

  • --wait

    follow the run until it completes or fails; exits non-zero if it failed

genesis flocks join-token

genesis flocks join-token [options]

Options

  • --ttl <seconds>

    lifetime (60–600 seconds) (default: "600")

genesis flocks rename

genesis flocks rename [options] <id> <nickname>

genesis flocks revoke

genesis flocks revoke [options] <id>

genesis flocks enroll

Enroll this node with FLOCKS_JOIN_TOKEN from the environment

genesis flocks enroll [options] <name> <platform> <cpus>

genesis flocks heartbeat

Send presence using FLOCKS_NODE_BINDING from the environment

genesis flocks heartbeat [options] <id>

genesis flocks exchange-join

Exchange FLOCKS_JOIN_TOKEN and FLOCKS_NODE_NONCE; save the returned key privately before activation

genesis flocks exchange-join [options]

genesis flocks activate

Activate the saved node key with FLOCKS_NODE_NONCE

genesis flocks activate [options] <id> <name> <platform> <cpus>

genesis flocks rotate

prepare→persist→commit, or cancel; use saved FLOCKS_NODE_NONCE/FLOCKS_ROTATION_NONCE

genesis flocks rotate [options] <id> <action>

genesis flocks providers

Inference providers, the login kinds each supports, and which plans fit sharing one login

genesis flocks providers [options]

genesis flocks accounts

Inference accounts: one login (or API key) many instances can run under

genesis flocks accounts [options] [command]

genesis flocks accounts list

Accounts your org owns plus accounts granted to it

genesis flocks accounts list [options]

Options

  • --provider <id>

    only this provider

  • --limit <n>

    page size, 1-100

  • --cursor <cursor>

    next_cursor from the previous page

genesis flocks accounts add

Add an account. subscription_oauth accounts are signed in afterwards with `accounts login`; api_key accounts take a secret reference only

genesis flocks accounts add [options] <provider> <label>

Options

  • --auth-kind <kind>

    subscription_oauth or api_key (default: "subscription_oauth")

  • --api-key-secret-ref <ref>

    api_key accounts: the name of a key your org already holds in Blinds (NAME or blinds:NAME)

genesis flocks accounts get

One account, with the number of instances bound to it

genesis flocks accounts get [options] <account_id>

genesis flocks accounts login

Sign an account in from one of your instances; prints the device url and code (only you receive them)

genesis flocks accounts login [options] <account_id>

Options

  • --instance <id>

    the instance that runs the provider login

  • --timeout <seconds>

    how long to wait for the code (default: "60")

genesis flocks accounts reset-identity

Clear the identity recorded for an account (owner only); the next verified switch on one of your own instances records it again

genesis flocks accounts reset-identity [options] <account_id>

genesis flocks accounts remove

Sign the account out of every bound instance, then revoke its credential

genesis flocks accounts remove [options] <account_id>

Options

  • --wait

    follow the logout job to the end

genesis flocks grants

Let another org bind its instances to one of your accounts

genesis flocks grants [options] [command]

genesis flocks grants list

Grants you issued or received

genesis flocks grants list [options]

Options

  • --direction <dir>

    issued or received (default: "issued")

  • --account <id>

    only this account

genesis flocks grants add

Grant an account you own to another org

genesis flocks grants add [options] <account_id> <grantee_org>

Options

  • --note <text>

genesis flocks grants revoke

Revoke a grant: new runs stop at once and grantee instances are signed out and wiped

genesis flocks grants revoke [options] <grant_id>

Options

  • --wait

    follow the logout job to the end

genesis flocks instances

Your instances and the inference account each runs under

genesis flocks instances [options] [command]

genesis flocks instances list

Instances with their flock, labels and active accounts

genesis flocks instances list [options]

genesis flocks instances label

Set labels (key=value) on an instance; the key flock groups instances. --remove drops a key

genesis flocks instances label [options] <instance_id> [labels...]

Options

  • --remove <key...>

    label keys to remove

genesis flocks instances account

Which account is bound to an instance, per provider

genesis flocks instances account [options] <instance_id>

genesis flocks instances switch-account

Switch instances to an account: drain, install, verify identity, swap (a failed verify rolls back)

genesis flocks instances switch-account [options] [instance_ids...]

Options

  • --account <id>

    the account to switch to

  • --provider <id>

    provider when the account spans several

  • --force

    cancel in-flight runs instead of waiting for them

  • --drain-timeout <seconds>

    wait for in-flight runs, default 120

  • --flock <name>

    every instance in this flock (label flock)

  • --label <k=v>

    instances carrying this label (repeatable)

  • --from-account <id>

    instances currently bound to this account

  • --concurrency <n>

    instances processed at once, 1-20 (bulk)

  • --wait

    follow the job to the end; exits non-zero if any instance failed

genesis flocks instances logout

Sign instances out of a provider account (files deleted; the provider login itself is untouched)

genesis flocks instances logout [options] [instance_ids...]

Options

  • --provider <id>

    the provider to sign out of

  • --force

    cancel in-flight runs instead of waiting for them

  • --flock <name>

    every instance in this flock (label flock)

  • --label <k=v>

    instances carrying this label (repeatable)

  • --from-account <id>

    instances currently bound to this account

  • --concurrency <n>

    instances processed at once, 1-20 (bulk)

  • --wait

    follow the job to the end; exits non-zero if any instance failed

genesis flocks jobs

Asynchronous account jobs (login, switch, sign-out)

genesis flocks jobs [options] [command]

genesis flocks jobs get

A job and its per-instance results

genesis flocks jobs get [options] <job_id>

Options

  • --wait

    poll until the job is no longer running; exits non-zero if any instance failed

genesis flocks jobs login-input

Send the authorization code a headless sign-in is waiting for; the code is read from stdin, never from arguments

genesis flocks jobs login-input [options] <job_id>

Options

  • --instance <id>

    the instance running the sign-in

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