Architecture: hub, nodes, leases, store, trust and identity
Target design. Unless a part is marked Live or Built, it describes where we are heading, not what runs today. Statuses use the shared vocabulary.
Summary
The Aether hub should be a thin orchestrator: it decides who may do what and where work runs, while worker nodes do the work and a shared store holds the data. A file store cannot replace the hub, and agents should not coordinate worker to worker without it.
- Hub = control plane. Identity, organisation policy, scheduling, billing, audit and the face that other owners' agents call. Stateless instances behind a load balancer; state lives in a database, a cache and a durable job queue.
- Everything that executes is a worker node. Desktops (Hearth), the managed cloud machine and customer Docker images (Forge) dial out to the hub, advertise capabilities and capacity, and pull jobs under a lease.
- A shared store carries data, not control. Artifacts, memory and skills live in a versioned, access-controlled store that nodes read and write directly with short-lived signed access. The hub never relays bulk data.
- Direct agent traffic goes through a broker. The hub authorises and opens the channel; bulk streams may then flow peer to peer. Cross-owner and cross-organisation calls stay on Synod.
Goals and scenarios
One model has to serve a single user with two laptops and a corporate with a thousand machines, without a separate design for each.
| Scenario | Nodes | What it needs |
|---|---|---|
| One user, several desktops | Two or more Hearth nodes | Per-device addressing, one assistant identity, no kicking each other off |
| Paid cloud machine | One managed Forge per user | Wake on demand, token rotation, per-user isolation |
| Own VPS or several | Customer-run Forge from a Docker image | Outbound-only connection, enrolment without our cluster, lower trust tier |
| Corporate fleet | 100 to 1,000+ Forge nodes in pools | Queueing, scheduling by label and capacity, quotas, org audit, optional self-hosted control plane |
Goals: one assistant identity per user under the name the user chose; work scheduled by capability, label, capacity, locality and cost rather than by who connected last; a node can be offline or die mid-job without losing the job; data stays where policy says.
Non-goals for now: running the desktop UI tools in containers; a local language model on the desktop; replacing Synod, which stays the cross-owner and cross-organisation face.
The three planes
Control is small and authoritative, data is large and direct, and reasoning is just another workload. Nodes only dial out. The hub schedules, authorises and meters; data moves through the store, never through the hub.
- Control plane (the Aether hub). Identity and enrolment, organisation and pool policy, the scheduler, the job queue and leases, billing and quota, audit, and the Synod gateway. Instances share nothing in memory, so any instance can serve any node. Status: the hub service is Live as a single service; running many instances is Planned.
- Workers (Hearth and Forge). Each node dials out over one WebSocket, authenticates with its own device key, advertises capabilities, labels, capacity and trust tier, and pulls jobs under a lease. No inbound port is needed, so a machine behind a firewall works. Status: connecting as a node is Live in a limited form; per-node identity and scheduling are Planned.
- Data plane (shared store). A versioned, content-addressed store for artifacts, memory and skills. Status: Planned.
Where the agent loop runs. By default the assistant's reasoning loop runs in the hub, which gives one brain and one history. An organisation can pin the loop to a worker inside its own network so conversation data never reaches our hub and the hub only schedules. Both are the same kind of job, placed by policy. Status: Planned.
Scale. Connections spread across hub instances, and a node's presence is a shared claim. Jobs live in a durable queue, so a restart or a dying node loses nothing: a lease that is not renewed returns the job to the queue.
Hierarchy for fleets. For corporates, an organisation-level orchestrator turns a goal into jobs and assigns them to pools. Agents and workers never call each other directly for control; every call is authorised and audited at the hub.
Names
| Term | Meaning |
|---|---|
| Aether | The hub and control plane |
| Assistant | The user's single agent identity, named by the user |
| Hearth | A desktop node: the user's files, OS tools, bridges |
| Forge | A sandbox executor: managed cloud machine or customer Docker image |
| Window | A chat client (web, mobile, desktop UI) |
| Synod | The network that other agents and other owners call |
| Node | Any worker connected to the hub |
| Pool | A named set of nodes for a team or organisation |
| Lease | A time-limited claim a node holds on a job |
These are display names; wire formats and role strings do not change. Names are proposed and need approval.
Minimal hub or shared store?
Make the hub as thin as possible, but not thinner than the things only it can do. A shared store is the right place for data and knowledge and the wrong place for control: agents should learn through the store and coordinate through the hub.
| Concern | Hub (control) | Shared store (data) | Direct peer link |
|---|---|---|---|
| Who may do what | Yes, the only authority | No | No |
| Scheduling and leases | Yes | No | No |
| Billing, quota, audit | Yes | No | No |
| Job inputs and outputs | Pointers and hashes only | Yes, the bytes | Optional for streams |
| Memory, notes, skills | Index, access rules, provenance | Yes, versioned | No |
| Live progress or token streams | Signalling | No | Yes, after the hub opens the channel |
| Cross-owner calls | Synod gateway | No | No |
Why a store cannot be the control channel. No transactions (two nodes polling a folder will both take a job); polling cost at scale; no authorisation story for "this node may run this job for this organisation"; and poisoning (if agents learn from files other agents write, one compromised node can corrupt every reader's memory).
Where the store is the right answer. Large artifacts (a job passes a content hash and a signed link, never the bytes); shared knowledge with provenance and review before an entry becomes trusted for other agents; and per-organisation isolation, with the hub minting scoped, short-lived credentials.
Direct agent communication is allowed for bulk or streaming traffic only, through a hub-brokered rendezvous: the hub checks policy, mints a one-time ticket, and the two nodes connect. Control messages, approvals and anything that changes state still pass through the hub.
Data model (proposed)
| Entity | Key fields | Notes |
|---|---|---|
| Org | id, owner, policy, quotas | Optional; a single user is an organisation of one |
| Pool | id, org, name, labels, rules | Which nodes may serve which jobs; set by an admin |
| Node | id, device public key, org, pool, labels, capabilities, capacity, trust tier, last seen | Identity is its own key, not the owner's login credential |
| Job | id, kind, requirements, input pointers, deadline, idempotency key, status | Status: queued, leased, running, done, failed, cancelled |
| Lease | job id, node id, expires at, attempt | Renewed by heartbeat; expiry returns the job to the queue |
| Artifact | content hash, size, owner, access rules, provenance | In the shared store; jobs carry hashes |
The wire format stays compatible: existing authentication and node-join messages keep working while nodes migrate to their own identity.
Enrolling a node (Planned).
- An admin or the owner creates a one-time enrolment token for an organisation or pool.
- The node generates a key pair and presents the token and its public key over HTTPS.
- The hub records the node and returns a short-lived session credential and a refresh path.
- The node connects and joins, signed with its key. The hub rotates the credential on the live connection.
Running a job (Planned).
- The scheduler picks a node that matches the job's capability, labels, tier and free capacity.
- The hub sends the lease; the node acknowledges and starts.
- The node heartbeats to renew the lease and reports progress; large outputs go to the store as artifacts.
- On completion the node returns hashes and a result; the hub meters usage and closes the lease.
- If the node dies, the lease expires and the job is requeued with an incremented attempt count, bounded by a retry policy.
Trust tiers (Planned)
Nodes are not equally trustworthy, so trust is a property the scheduler uses.
| Tier | Examples | Gets | Handling |
|---|---|---|---|
| 1 Managed | Our cloud Forge | Any job its entitlement allows | Egress allowlist, read-only root, no extra secrets |
| 2 Org-run | A corporate's own pool | Jobs from that organisation only | Organisation-scoped credentials; the organisation owns the risk |
| 3 User-run | A user's VPS, a desktop | That user's jobs only | Output treated as untrusted input; no secrets beyond the job's scope |
See Security and privacy for the rules that go with the tiers.
Identity
Today a user is a wallet address and nodes authenticate with their owner's login credential.
- Wallet sign-in is Live.
- Email and social sign-in is Built and merged behind a switch that is off by default. When on, a person gets an app wallet holding their credit, and can link an external or sovereign wallet later by explicit action.
- Pluggable identity (a customer's identity provider issues the session and owns the identity) and resources owned by an organisation rather than a wallet are Planned; see Dedicated hubs.
Billing and metering
The hub is meant to be the single meter: a lease records node, organisation, duration and model usage, so every worker, including customer-run ones, appears in the same usage and quota system. Status: Planned. The wallet model today is described in Wallets.
GPU and embeddings
GPU hosts already supply chat models to the network (Live). The design says the same enrolment, pools and metering should cover them, so inference nodes are not a separate system. A CPU embedding model that runs beside the chat model on GPU nodes, embedding routing in the router and administrator-defined pool models are Built: merged, but not yet enabled end to end because key allowlists are still pending.
Gaps and phases
The first two phases fix problems that exist today and are independent of the redesign.
| Phase | Work | Status |
|---|---|---|
| 1. Stop the bleeding | Credential renewal and expiry warning, usage counters, a hop-depth guard against agent loops | Credential renewal for agent connections: In progress (not released). Counters and guard: Planned |
| 2. Durable scheduling | Lease queue, node identity and rotation, scheduler by capability and labels; old routes keep working | Planned |
| 3. One assistant | A hub-hosted assistant on Synod, the desktop becomes a tool server with per-tool capabilities, history and memory on the hub | Planned |
| 4. Scale and orgs | Multi-instance hub, organisations and pools, the shared store | Planned |
| 5. Bring your own fleet | The customer image, enrolment flow, trust tiers, an optional self-hosted control plane | Planned / Exploring |
What must not change: owner isolation, the existing authentication and node-join message formats, the cloud machine controller's token rewrite, and Synod federation.
Open decisions and risks
Open decisions: whether the hub is also a self-hostable product for organisations; whether the proposed names are approved; whether every desktop user gets a cloud Forge or only paying add-on users; whether the assistant must stay reachable when every desktop is off (the design assumes yes); what the hub may see from local files and which folders can ever be granted; who approves effectful local actions for a remote job, and how; whether a local language model is on the roadmap; how two desktops share one assistant identity; and which container runtime to support first for the customer image.
Risks: migration drift (two code paths live together through phases 2 and 3, so the old path needs a retirement date); shared-store poisoning (agent-written knowledge is an injection channel, so provenance and review must ship with the store, not after); untrusted worker output (policy must never let a customer-run node's output change permissions); and scale unknowns (hub throughput at thousands of connections, and job queue durability today, have not been measured).