Download for Mac Sign in

Start

NativeCluster docs

NativeCluster is a free Mac app that runs private AI on the Macs a group owns: the models run on your own computers, every person, app and agent shares them through one line, and one OpenAI-compatible address serves your tools. These docs are written for people and for the agents that set it up for them.

View as MarkdownUpdated
On this page

What NativeCluster does

  • Several Macs, one cluster. Every Mac runs NativeCluster. One Mac is the main: it keeps the group's records and decides which computer answers each model call. Admins turn on inference on the Macs that should run models, and a model too big for one Mac can run split across two Macs joined by a Thunderbolt cable. A computer joins with a PIN, and a lost one can be removed. See Several Macs, one cluster.
  • Many people. People sign in with one NativeCluster account. Their roles (Owner, Admin, Developer, User) come from NativeCluster's servers, and admins invite people and decide who gets which app. See Members and roles.
  • Many apps and agents, one line. Every model call from every app, person and API key waits in one line, so one app or agent can't starve the others. Owners and admins give an app Less, Equal or More of a Mac's time, and an API key Low, Normal or High priority. See Usage: one line.
  • Private. Every model call runs on one of the group's own computers. No prompt or answer goes to a hosted model or to NativeCluster's servers. See Privacy.
  • One address for your tools. On any Mac running NativeCluster, http://localhost:8487/v1 speaks OpenAI's format. A tool or script swaps its base URL and key, and nothing else changes. See The API.
  • A command for agents. Since 0.4.17, the nativecluster command lets an agent run the cluster from a terminal, as the person who signed it in: get apps onto their computer, download models, make keys, manage people, read usage. Since 0.4.19, nativecluster run asks the cluster's models from the terminal too, and since 0.4.21 an agent can start NativeCluster on a new Mac itself, its person there or not, with nativecluster setup, for its person to claim later. The person confirms, on the Mac, only the few steps that change who the cluster trusts. See The nativecluster command.
  • Skills for coding agents, and ncdev. Since 0.4.19, NativeCluster comes with two skills for your coding agent, one for using NativeCluster and one for building an app for it, and with ncdev, its tool for building apps. If you use Claude Code, the skills are in its skills folder. See Install.

Why an agent wants it

  • Many agents and many people share the same Macs fairly through one line, instead of each agent holding its own model or its own API bill.
  • The models and the data stay on the group's own computers.
  • Add a Mac and the cluster has more room; a model too big for one Mac can run across two joined by a Thunderbolt cable.
  • One sign-in and one set of roles for every person, and each app's permissions approved once by an admin.
  • The whole cluster runs from a terminal, with --json on every command and exit codes an agent can act on.

Start here

If you are an agent setting NativeCluster up for someone, read the quickstart first. It holds the prompt a person can paste into their agent, and the steps that are theirs to take. It also shows how an agent starts NativeCluster itself, its person there or not, since 0.4.21: An agent starts it.

Every page

Start

  • How do I set up private AI for my team on our Macs?: Install NativeCluster on a Mac, start your team's cluster, in its window or, since 0.4.21, with nativecluster setup by an AI agent, its person there or not, choose a model, and point your tools at one local address. A few steps are a person's own: the OK to install, joining a cluster, signing in, claiming a cluster an agent started, and the Mac's confirmations.
  • How do I install NativeCluster and the nativecluster command?: Run the install line, curl -fsSL https://nativecluster.com/install.sh | sh (an agent, with the person's OK), or install it with Homebrew, brew install --cask nativecluster/tap/nativecluster, or download the dmg and drag NativeCluster to Applications. Then an AI agent starts it itself, its person there or not, with nativecluster setup --accept-terms (since 0.4.21), or a person finishes its first setup in its window and signs the command in with nativecluster login.

Use

  • What can the nativecluster command do?: nativecluster runs a NativeCluster cluster from the terminal, as the person who signed it in: models, apps, people, API keys, the cluster's computers and its usage, and, since 0.4.19, a chat or one answer from the cluster's models with nativecluster run. Since 0.4.21 an AI agent also sets up a new Mac itself with nativecluster setup, its person there or not. Since 0.4.22 it also opens and quits NativeCluster, opens an app's window, installs and publishes an app you're making, and updates this Mac, a release's test build included. Every command takes --json, and its exit codes and next words tell an agent what to do next.
  • How do I call NativeCluster's models from code?: NativeCluster speaks OpenAI's format. On a Mac running NativeCluster, call http://localhost:8487/v1 with the key nativecluster env writes. From another computer on the office network, call the main at its .local name on port 8485, over TLS, with a Developer key. Swap the base URL and the key, and nothing else changes.
  • Which models can my Macs run, and how do I get one?: NativeCluster offers open models from its own signed list. A person chooses each model and the computers that keep it, and since 0.4.21 an agent's nativecluster run gets one that fits its Mac. NativeCluster itself never downloads a model on its own. Every computer of the cluster can use a model wherever it's kept.
  • What are NativeCluster apps and the Store?: Apps are separate programs that run on your cluster's models, from NativeCluster's Store or built by your group. An administrator gets an app for the cluster once, Members says who has it, and every app uses the cluster's models: no app loads its own copy.

Run a cluster

  • How do I connect several Macs into one cluster?: Every Mac runs NativeCluster. One is the main: it keeps the group's records and routes each model call to a computer that has the model. Administrators turn on inference on the Macs that should run models, other Macs join with a PIN, and a model too big for one Mac can run split across two joined by a Thunderbolt cable.
  • 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.
  • How do many apps, people and agents share the same Macs?: Every model call from every app, person and API key waits in one fair line, a queue on the main, so one app or agent can't starve the others. There's no ranking between people, keys and scheduled work: the app or key that has used the least of the Mac's time lately goes next, weighted by the share an owner or administrator gives it. Usage shows what runs and waits right now.
  • Does NativeCluster send my prompts anywhere?: No. Every model call NativeCluster carries runs on one of your group's own computers, and the words of a request travel only between your own computers, on your office network. NativeCluster never sends a request's words, an app's data or your usage to its servers, or to any hosted AI service.

Integrations

  • How do I connect any OpenAI-compatible tool?: On a Mac running NativeCluster, nativecluster env writes a base URL and a key to a file only you can read. Source it, and any tool or library that reads OPENAI_BASE_URL and OPENAI_API_KEY uses your cluster's models, with no second sign-in.
  • How do I use Open Code with NativeCluster?: Open Code is a coding agent from NativeCluster's Store that runs in your own terminal and thinks on your cluster's models, signed in as you, with no key. An administrator gets it for the cluster, Members gives it to people, and each person gets it on their own computer and signs in inside it.

Help

  • Questions agents ask: Short answers to what agents and the people they work for ask about NativeCluster, each true in 0.4.21, with a link to the page that says more.
  • Why isn't NativeCluster working?: Start with nativecluster doctor: with no sign-in it says whether NativeCluster runs on this Mac and which of its ports listen; signed in, it also names the main this Mac is joined to. Then use the command's exit code and next word, or the API's error code, to find the fix below.

Versions

These docs describe NativeCluster 0.4.21. Each feature says the version it shipped in. Anything not in 0.4.21 says so, and nothing here describes a feature before it ships.