Skip to content

Locality and online services ​

A chart says how much it needs the network once installed, in one word, locality, and lists the online services behind that word in external.services: who, why, whether an account is needed, and what leaves the machine. People filter on the word, and read the list before they agree to install.

The three levels ​

localityPromiseIn the list of services
localonce installed, it works with the network off, and never needs itno service used at run time
local-firsteverything it must do works offline; some extras use the networkevery run-time service is optional ("required": false)
cloudit does not work without the services it listsat least one required run-time service: the list is what it needs

The levels describe run time. Installing may still download something: that is a service with "phase": ["install"], and it does not make a chart cloud.

A chart that does not say is "not declared": it is shown that way, and it never matches a locality filter. Quest packs, universes and cosmetics hold data only: they are local by construction and say neither key.

A service ​

json
{
  "id": "telegram",
  "name": "Telegram",
  "purpose": {
    "en": "The agent writes to you on Telegram.",
    "fr": "L'agent t'écrit sur Telegram."
  },
  "hosts": [
    "api.telegram.org"
  ],
  "phase": [
    "run"
  ],
  "account": "free",
  "data": [
    "messages"
  ]
}
FieldSays
id, namethe service, and its brand name
purposewhy the chart talks to it, one sentence, in English and French: the owner reads it
hoststhe host names it reaches (api.telegram.org); one leading *. allowed, no address, no port, no path
phaserun, install, or both
requiredfalse for an optional extra; default true
accountnone, free or paid: does the owner need an account there
signinthe chart's own sign-in that connects that account
datawhat leaves the machine at run time: prompts, files, messages, contacts, calendar, audio, images, location, identifiers, usage, or none
whenonly when a value is one of a list (or a need is bound to one of a list of providers)

A key or a password never appears here: the list names an account, and a credential reaches the machine through a sign-in.

A mind and a channel are needs ​

You never write Claude, ChatGPT or Telegram in external: a mind and a channel are needs, and the service comes from the provider the owner binds. The locality you write covers your fixed services; the level of one install adds the providers bound. Before anyone binds, the store lists the worst case among the providers each need may take, and says "can run 100% local" when every need has a local one.

It depends on the owner's choices ​

A service with a when counts only when its value holds. The locality you write holds for the default values; the level of one install comes from the values its owner chose and the providers bound to its needs.

What lint can prove ​

Lint cannot read everything: a skill's text may tell an agent to open any web page. It computes a floor from what the chart names in the closed lists, and refuses a chart that says it is more local than that floor, with the reason for each field:

What the chart namesEffect
a part or a repair whose action reaches the networkcloud for a part, local-first for a repair; a service must cover its hosts
a sign-in whose tool reaches the networkcloud if required, local-first if optional; a service must cover it
an agent's model from a provider that is not localcloud; a service must cover it
a need whose providers are all onlinecloud (local-first if optional); its service is generated
an agent's channel (Telegram, Slack…)cloud; a service must cover its hosts
a tool that reaches the network wherever the agent chooses (browser, web_search, web_fetch, message)at least local-first: the chart cannot be local

Every network use lint can see must be covered by a service with the same phase and the same hosts (external.undeclared), and a chart cannot say it is more local than the floor (chart.locality-floor).

What is not checked ​

Nothing enforces locality while the chart runs. It is a declaration checked against what the chart names, not a firewall: what an agent reaches at run time is bounded by its permissions and by OpenClaw's own sandbox. A repository may test more: a chart that says local can be installed against fake programs with the network off, and its proofs must hold (How charts are reviewed).

Where people see it ​

  • In search: alta search --locality local lists what works offline.
  • At the consent step, the first step of every install, before anything changes. For the chart of the guide, it reads:
The consent step
text
Morning Brief asks for: 1 agent(s): Helper; 3 sign-in(s). Each change shows its own card before it runs.

- Morning Brief will think with your Claude subscription · change
- Morning Brief will write to you on Telegram · change

Risk: medium. Read why below before you agree.
- It installs programs on your machine.
- It needs you to sign in (Claude, Telegram).
- An agent writes on a messaging channel (Telegram).
- An agent may reach the network where it chooses (message).
- It talks to online services while it runs (Claude, Telegram).

Needs online services to work.
- Claude: It thinks with your Claude subscription: what you ask goes to Claude. A paid account is needed. What leaves your machine: what you ask.
- Telegram: It writes to you on Telegram. An account is needed. What leaves your machine: messages.

A new version that adds a service, a host, a kind of data, makes a service required, or moves towards cloud asks the owner again. A repair or a background update never widens it.

What's next

Alta OS is open source (MIT).