How It Works
On this page
You don't need this page to use your agent — but if you're the person your organisation asks "where does the data actually live?", this is for you.
The shape of the system
Three parts:
- The device — where the agent and its supporting services run. All of the agent's data (conversations, memory, files, wiki, settings) lives here. It's either an AI Agent Processor at your facility (a Physical Agent) or a Cloud Agent Instance in the region you chose (a Cloud Agent).
- Performance Hub — the management plane. Adding agents, access control, budgets, backups configuration, and updates are all decided here and delivered to the device.
- Cloud services the device consumes — AI models (via your facility's Model Router account), encrypted backup storage in your chosen regions, and push notification delivery.
The guiding principle: your data stays on your agent's device; the cloud provides brains, backup, and reach.
Physical Agents and Cloud Agents
Both kinds of agent run the same software and are managed the same way in Performance Hub. The difference is where the device is:
| Physical Agent | Cloud Agent | |
|---|---|---|
| Runs on | An AI Agent Processor at your facility (the hardware) | A Cloud Agent Instance in the region you choose when you add it |
| Added by | Pairing with its serial number or QR code | Launching it from Add Cloud Agent — no pairing |
| Where data lives | On hardware you physically control | On the instance's disk in the chosen Cloud region |
| Connection from your browser | Direct (local network) when you're on site, otherwise Cloud relay | Cloud relay |
| Cost | The AI Agent Processor is supplied as part of the product | Charged for the instance size and resources you provision |
| If it fails | Replace the hardware and restore from backup | Remove it and launch a new Cloud Agent from a backup |
A Cloud Agent's backups go to the same region as the agent by default, so its data stays in one place unless you choose other storage regions.
Outbound-only networking
A Physical Agent makes only outbound connections — ordinary, encrypted internet connections made from your network. It never requires an open inbound port, port-forwarding, or firewall changes. If your network can browse the web, the device can do its job.
This is also how Performance Hub reaches the device: the device connects out to a Performance Hub relay and keeps that secure connection open, and management and remote access travel back over it. Cloud Agents connect the same way. The relay the device is anchored to is shown as Relay region in Device management.
How your browser reaches the agent
When you open the AI Agent module, what you see is the agent's own web interface, served from the device. Your browser connects over the best available path, and the top of the module shows which one (for example Cloud relay with the relay's city):
| Header shows | Path | When |
|---|---|---|
| Direct (local network) | Browser → device, directly over your LAN | You're on the same network as a Physical Agent — fastest |
| Cloud relay | Browser → nearest relay → device | You're remote — the normal path from anywhere |
| via Performance Hub | Browser → Performance Hub → device | Fallback if the relay path is unavailable |
The module tries them in that order automatically; you never choose. All three paths are encrypted end to end, and all three carry your Performance Hub identity, so the agent always knows who it's talking to and access control is enforced identically on every path.
Sessions to the device use short-lived credentials issued by Performance Hub when you open the module — there are no standing passwords to the device, and access revoked in Performance Hub takes effect when the current short-lived session expires or the page reloads.
How the agent gets AI models
The agent's intelligence comes from AI models delivered through your facility's Model Router account. On the device, a small proxy service sits between the agent and the cloud:
- The agent is pre-configured with an
automodel selection — Performance Hub routes each request to an appropriate model, and improvements roll out without you re-configuring anything. - The device authenticates with short-lived credentials issued by Performance Hub. There is no long-lived API key stored on the device — nothing that would remain useful if the hardware were stolen.
- Every request is metered against the agent's own spend key, which is how Budgets & limits are enforced — centrally, on the Performance Hub side, not on trust.
How the agent reaches Performance Hub data
The agent's access to your business data works the same way, over MCP (Model Context Protocol):
- The agent's MCP calls go to Performance Hub over the same secure connection, authenticated with the same short-lived credentials.
- On the Performance Hub side, the device acts as a service account whose scope and capabilities are exactly what you granted under Connecting to Performance Hub. Every call is authorised centrally against that grant.
- Changing or revoking the grant takes effect within moments — the device holds no independent credentials to your data.
How backups flow
A backup service on the device takes encrypted snapshots hourly and uploads them directly to cloud storage in your chosen regions — encrypted on the device before upload, with the encryption key held by Performance Hub for your facility (never stored in the backup itself). Backups are incremental and deduplicated, so hourly cadence stays lightweight. Details on Backups.
How updates work
The device runs a managed software stack, updated as a whole:
- New releases are staged to the device automatically, but held until you click Update now or Schedule a time — the device never restarts itself on you unannounced.
- Updates replace the software, not the data: the agent's state lives in a persistent data area that carries across every update.
- If you never touch the banner, the device simply keeps running its current version. That said, we recommend keeping devices on the latest version — every update is rigorously tested before it is rolled out, and staying current means you always have the newest capabilities and fixes.
If the internet goes out
- You at the facility, with a Physical Agent: the Direct (local network) path keeps working — you can still open and use the agent over your LAN, though it can't call AI models (so it can't think about new requests) until connectivity returns.
- Backups and notifications queue up and resume when the connection is back.
- Performance Hub management (drawer, settings, updates) needs the device online and reconnects automatically.
If the hardware dies
Backups are the answer: cloud restore points remain browsable and downloadable even with the device dead, and Replace this device stands up a new unit from the old one's latest backup — typically losing at most an hour of state. A Cloud Agent can be seeded the same way, with Restore from a backup when you add it. See Restore & recovery.
Related pages
- The hardware
- Security & privacy — the same ground, organised as a security review
- Connecting to Performance Hub
- Backups