Download for Mac Sign in

Run a cluster

How do people, roles and sign-in work?

People sign in with one NativeCluster account. Their role, Owner, Admin, Developer or User, comes from NativeCluster's servers and says what they can manage. Groups say which apps they get: owners and administrators make the groups and invite people into them. Since 0.4.23, owners and administrators run every computer of the cluster they sign in on; there is no Mac owner any more.

View as MarkdownUpdated
On this page

Roles

RoleWhat they do
UserUses the apps their groups give them.
DeveloperAlso installs apps of their own on their Mac to test them, and sends a publish that an owner or administrator approves before the group gets the app.
AdminRuns the group: its people, apps for everyone, models, updates, Usage and the Cluster page, including adding computers and turning them on for inference.
OwnerAn administrator who alone makes someone an Admin or changes another administrator, and who can hand the role to another administrator.

Everyone's role comes from NativeCluster's servers, and every computer of the cluster uses it as it is, at once: change someone's role on Members, on any computer, and it holds everywhere. Nobody changes their own role, and the group always keeps an Owner or Admin who is still on.

Who can use the API (since 0.4.23)

The API is for programs: an app that called a hosted model can call your cluster's models instead, with an API key. Who may turn the API on and make keys is set per role: under the list on Settings › Members, Roles says what each role does and has an API switch on each. Owners and Admins always have it. Developers have it at first and Users don't; an owner or administrator switches either. The apps your groups give, such as a coding tool that signs in as you, and the nativecluster command don't need it. A change, or a change of someone's role, holds at once on every computer. A key made by someone whose role loses the API is kept, never deleted: it is refused, saying an owner or administrator can turn the API on for that role, and works again once they do. See The API.

Groups (since 0.4.23)

Settings › Groups lists your cluster's groups. A person gets every app of every group they are in. Everyone is built in: it holds every person of the cluster, today's and those who join later, and can't be removed; you change its apps, never its people. New group makes another, such as Coding or Litigation. Open a group to add or remove people and switch its apps; Who gets each app lists every app, the groups it comes from and how many people have it. A change reaches everyone in the group at once, on every computer of the cluster. An app your group built and published is marked Test build, so it is never taken for the Store app of the same name.

Your groups are part of your cluster's records at NativeCluster's servers, the same on every computer: each change is made on one of your cluster's computers by an owner or administrator signed in there, and every computer checks it before it takes it. At the update to 0.4.23, every app every person had went to Everyone, and each app only some people had got a group of its own, named after it, with exactly those people: nobody gained or lost an app.

Who runs each computer (since 0.4.23)

The cluster's owners and administrators run every computer of it they sign in on: renaming the cluster, showing the main's PIN, letting an app in on that computer, removing a model from it, and turning an app's internet off for everyone. Each computer's own person, the account it is registered to, also takes the steps that stay on that computer: installing or removing an app there, its updates, its models and the Testing folder. Until 0.4.23 each computer had a Mac owner who alone made these choices there; a computer still keeps that name, but it decides nothing.

Inviting people

On Members, in NativeCluster's window, an owner or administrator types one or more email addresses under Invite people, picks the role they get (User, Developer or, for the Owner, Admin) and their group (Everyone, or Everyone and one of your groups), and chooses Invite. They get the apps of their groups. NativeCluster doesn't email them, so let them know yourself. They sign in with NativeCluster on their Mac, on the office network, with the email they were invited with, and an administrator reads them a six-digit PIN. An invitation lasts 30 days. Since 0.4.21, nativecluster members invite invites from the terminal too.

A cluster an agent started (since 0.4.21)

An AI agent can start a cluster on a Mac by itself, its person there or not, with nativecluster setup --accept-terms --email jane@acme.com. The agent is then the cluster's owner, shown as Agent, with no email. Until a person claims the cluster, nobody can be invited to it, no other Mac joins it, and the steps the Mac confirms are refused, exit 10.

The person the agent named claims it: they sign in with NativeCluster as that email on the link nativecluster claim prints, which works for an hour, and choose Claim, or they sign in with that email in NativeCluster's window on that Mac. They become the cluster's owner, and the agent works for them from its next sign-in. Anyone else gets nothing, and nothing changes. See the quickstart.

Giving apps

Since 0.4.23, groups give apps: put the app in a group the person is in, or put them in a group that has it; take it out of their groups, or them out of the group, to take it away. On the person's own computer the app stops opening for them within minutes, wherever it is. The nativecluster command's models are given the same way, beside the apps: without them, that person's nativecluster env session is refused (not_given). Whoever got an app from the Store already has it: Get gives it to Everyone. (Before 0.4.23, each app was a switch on each person's row.)

Turning someone off, and ending sign-ins

  • Turn off signs a person out everywhere and stops their calls at once, their API keys and their computers included, until Turn on.
  • Archive… and Delete… are for someone who has left. Archive… signs them out everywhere, takes them out of the cluster on every computer, and removes every computer registered to them; since 0.4.19, the API keys that name them open nothing while they're archived, and work again if they're restored. Delete… does the same, deletes what they made too, and revokes every API key that names them, for good.
  • End all sign-ins… signs a person out of every browser, NativeCluster window and terminal on the main, and the tools they signed in to through them stop. They stay a member.

NativeCluster never makes a password for anyone: people join by invitation and sign in with NativeCluster.

From the command

Terminal
nativecluster members list
nativecluster members role sam@example.com developer
nativecluster members role sam@example.com admin
CommandNeeds
members listSince 0.4.15. Each person's role, in Members' words (Owner, Admin, Developer or User), since 0.4.19.
members role <email> user or developerSince 0.4.17. Takes effect at once.
members role <email> adminSince 0.4.17. You confirm it on the Mac, with Touch ID or its password.
members owner <email>Since 0.4.17. You confirm it, on the main.
members ok <email>Does nothing since 0.4.18: roles come from NativeCluster's servers.
members invite <email>... [--role user|developer|admin] [--group <group>]Since 0.4.23 with a role and a group, as Invite people does: a User in Everyone unless you say. Inviting an Admin is the Owner's, in the window.
members rolesSince 0.4.23. Which roles can use the API.
members roles api developer|user on|offSince 0.4.23. Off at once; on is done in NativeCluster's window.
groups …Since 0.4.23: see The nativecluster command.
mac-owner hand <email>Since 0.4.17, once you confirm it. Since 0.4.23 the Mac owner decides nothing: owners and administrators run every computer.

For the steps you confirm, the command waits while NativeCluster asks you on the Mac's own screen, and exits 0 once you confirm, 1 if you say no, and 6 if nobody confirms within two minutes. Only you can confirm a step your terminal asked for: an agent cannot. See The nativecluster command.