# A look under the hood.

> Where your organization's data goes in Streamliner, in plain words: your device, our relay, your chat record, your own systems, and what we never do.

Your organization's chats, keys and records belong to your organization. Here is every place Streamliner touches them, what happens there, and how long anything is kept.

## Where your data goes

### The person's device

The assistant runs here, in the app.

- Sign-ins to your systems stay in the device's Keychain.
- Speech becomes text on the device; no audio is sent.
- Chats stay two days by default; your organization can choose longer.
### Your own systems

Every step is a call to your systems, as the person signed in.

- Straight from the device, never through our servers.
- Secure-form values go to your system, never to the AI.
- If a person can't do something, neither can their assistant.
### Our relay

Passes the messages, the steps' results, attached files and the streamline's instructions.

- Checks membership, network and today's limits, then sends with your organization's key.
- Keeps no copy of requests or answers. It logs token counts by person, streamline, chat and model, never the words, for 90 days.
- Attached files wait in our upload store for seven days after last use (you can set 1 to 30), then are deleted.
### The AI provider you chose

Your organization picks it for each streamline.

- Requests go under your organization's own key and agreement.
- That agreement, not us, decides what the provider keeps or learns from.
- Each person agrees once before anything is sent to it.

## Nothing here is a black box.

Every device runs the assistant itself. Our server relays the model with your organization's key, hosts its setup and keeps its chat record. Pick a flow to see what travels where.

The page draws it as an interactive diagram. Here is every flow it plays, step by step.

### In an organization

#### Using it

##### A member opens the app

Members receive the organization’s shared, signed configuration. The private parts stay on the server.

1. They sign in with an email code, Sign in with Apple, or a password.
1. The server checks they are a member and gives the device a session, kept in the Keychain.
1. The config host sends Live: streamlines, cards, forms, theme. Private instructions are withheld.
1. The app checks the manifest’s signature against the organization’s pinned key before using anything.
1. Every device polls with an ETag, at launch, on coming forward and every 15 minutes while open. Nothing moves when nothing changed (a 304).

##### A chat turn

The assistant runs on the device. The model goes through the relay; your systems are called directly, as you.

1. You type in a chat. The assistant loop on the device builds the request.
1. The relay adds the streamline’s private instructions and checks membership, network, budgets and the tool allowlist.
1. It calls Claude with the organization’s own key. The key never leaves the server.
1. Tokens and cost are counted per person and per streamline.
1. When the model asks for a tool, the device calls your MCP server itself, with your own token. Confirm-gated tools wait for your tap.
1. The turn is saved on the device and added to the organization’s chat record, encrypted with its own key. Owners and admins can read it.

##### Pick up a chat on another device

Organization chats travel through the organization’s server, never iCloud, and come back only to the person who wrote them. Owners can turn this off.

1. Every turn on the Mac appends its events to the server.
1. They are stored encrypted with the organization’s own key.
1. Your iPhone and iPad pull your own chats and rebuild the conversation from the events. Titles (encrypted) and read marks follow.
1. Continue on the iPhone, and its turns travel back the same way.
1. Organization chats and setup never go to iCloud. Only your list of organizations can, and you can turn that off.

##### Attach a file or a scan

Uploaded once, encrypted, to the organization’s store; the relay hands it to the model.

1. The file is processed on the device and kept with the chat.
1. It is uploaded once, encrypted with the organization’s own key.
1. From then on a model call carries only a reference; the relay puts the file in. Kept 7 days after last use, then swept.
1. The file itself stays on the device that attached it; other devices show “On your Mac”.

##### Sign in to your systems

Your own sign-in, on your own device. The model never sees a token.

1. A streamline needs your company system. The app opens its sign-in page.
1. The token comes back to this device’s Keychain, per account and connection.
1. Every tool call uses it directly. The server never holds it.

#### Changing it

##### Edit in the app, then publish

Three environments: your Local changes, Staging for testing, Live for everyone.

1. An owner or admin’s approved device holds the full config, private parts included.
1. Edits in the Library are saved into Local changes on this device only.
1. Switch the environment band to Local to try your changes in real chats before anyone else sees them.
1. Push from the Publish tab. The device key signs the new manifest.
1. With Staging on, the push lands on Staging; owners and admins test there.
1. Promote moves Staging (all of it, or chosen items) to Live and records a new version. Owners turn Staging on or off.
1. Every member’s device picks up the new Live config.

##### Ask the Concierge

Setup by conversation. The Concierge proposes; you approve each change.

1. “Add a quick phrase to Receiving.” The Concierge drafts the change.
1. A diff card shows exactly what changes. Save puts it in Local changes.
1. From there it publishes like any other edit.

##### Edit the files yourself

Files on this Mac mirrors the organization’s whole working copy as plain files.

1. The Mac writes the working copy into the folder you chose.
1. Open any file in your editor and change it.
1. The app notices within half a second and checks it: a key pasted into a file is quarantined, a file your access level can’t change is put back, a broken file is reported.
1. It becomes a Local change, the same as an edit in the app. A widening change waits for “Add to Local Changes” or “Put It Back”.
1. Push from the app when you are ready.

##### An agent edits the files

A coding agent with the skill works in the same folder. It can ask, but only you can push.

1. Claude Code reads and edits the folder with the building-streamlines skill, checking its work against the schemas.
1. The app reads its edits back as Local changes.
1. To publish or use a Concierge tool, mirror.mjs writes a request into .streamliner/requests/ and waits in .streamliner/answers/. No socket, no other way in.
1. The app shows a card. You tap Push, or don’t.
1. Face ID, Touch ID or your passcode unlocks the device key, which signs the push like any other.

##### An agent publishes to the server

No app in the loop: a script with a server key talks to the publishing API directly. The manifest still has to be signed by the organization’s publisher key.

1. An owner issues a scoped, expiring server key in Organization → Keys.
1. publish.mjs signs the manifest with the publisher key and authorizes the call with the server key (scope config). Without --yes it is a dry run the server checks.
1. Staging on: it lands on Staging. Off: Live, recorded as a version.
1. admin.mjs does the rest from a terminal: people, invites, usage, audit, Staging on or off. It never writes config.
1. Every admin’s app sees the new version arrive and pulls it.

##### Hotfix Live

Fix Live directly while Staging holds other work, then fold the fix back in.

1. A hotfix skips Staging and writes Live.
1. It is recorded as its own version.
1. The fix is merged into Staging, so the next promote does not undo it.

##### Restore an older version

Every Live version is kept. History compares them; Restore brings one back.

1. Pick a version in History. Restore reads it back.
1. It is written as a new version, so nothing is lost.
1. Members get it like any publish.

##### A teammate’s changes arrive

Two admins can edit at once. Each has Local changes; the server keeps them honest.

1. Each Library shows who else is editing (names only).
1. A teammate pushes first.
1. Your app pulls the new base. Where you both changed the same field, Settle lets you pick.
1. A push against an old base is refused, so nobody overwrites anybody.

#### Keys and trust

##### Approve a new device

Publishing needs a device key an owner approved. Nothing approves itself.

1. The Mac makes a publishing key in its Keychain.
1. It registers the public half with the server.
1. The owner’s already-approved iPad endorses it in People. (The very first owner device is approved with the Recovery Key.)
1. From now on manifests signed by this Mac are accepted. Every device checks the chain of signers back to the key pinned when it joined. Owners’ devices may publish everything; admins’ only streamlines.

##### Where the secrets live

Secrets go device to your systems directly, and never touch the model.

1. Sessions, device keys and your sign-ins live in each device’s Keychain, this device only.
1. The organization’s model key is set once and stored encrypted on the server. It is never returned.
1. Everything kept in storage is encrypted with the organization’s own key. Sign-in records and usage counts rely on Cloudflare’s encryption.
1. Private instructions go only to the relay and approved owner and admin devices, and wherever those owners and admins choose to send them: a streamline shared by link, a script with a server key, Files on this Mac.
1. Card numbers and IDs go through secure forms straight to your systems, never through the chat.

### Personal use (no account)

#### Using it

##### A chat turn

Everything runs on your device: Claude with your own key, your systems with your own sign-in.

1. You type in a chat. The assistant loop on the device builds the request.
1. It reads your model key from this device’s Keychain.
1. It calls Claude directly. Model calls never go through streamliner.work, and there is no account.
1. When the model asks for a tool, the device calls your MCP server itself, with your own sign-in. Tools that change things wait for your tap.
1. The turn is saved on this device.

##### Your chats on your other devices

Your own iCloud, if you turn it on. Nothing else stores your chats.

1. With iCloud sync on, each chat is saved to your private iCloud database, end-to-end encrypted with your iCloud keys.
1. Your streamlines sync the same way.
1. Your iPhone and iPad pick them up.
1. Sign-ins never sync: each device signs in to your systems on its own.

##### Sign in to your systems

Your own sign-in, on your own device. The model never sees a token.

1. A streamline needs your company system. The app opens its sign-in page.
1. The token comes back to this device’s Keychain, per account and connection.
1. Every tool call uses it directly. The server never holds it.

#### Changing it

##### Ask the Concierge

Setup by conversation. The Concierge proposes; you approve each change.

1. “Add a quick phrase to Receiving.” The Concierge drafts the change.
1. A diff card shows exactly what changes. Save adds it to your streamlines.
1. It is yours at once; with iCloud sync on, your other devices get it too.

##### Edit the files yourself

Files on this Mac mirrors your streamlines and briefs as plain files.

1. The Mac writes your streamlines into the folder you chose.
1. Open any file in your editor and change it.
1. The app notices within half a second and checks it: a key pasted into a file is quarantined, a broken file is reported.
1. It is saved to your streamlines, the same as an edit in the app. A change that widens what a streamline can do waits for your OK.
1. There is nothing to publish. With iCloud sync on, your other devices get it.

##### An agent edits the files

A coding agent with the skill works in the same folder. It can put a streamline there; you decide whether it stays.

1. Claude Code reads and edits the folder with the building-streamlines skill, checking its work against the schemas.
1. The app reads its edits back into your streamlines.
1. mirror.mjs put writes a streamline into the folder and waits for the app’s answer: added, or waiting for you.
1. A new streamline always waits for your tap: Add, or leave it.

##### Get a shared streamline

Someone shared a streamline by link. You see what it does before it is yours.

1. The link points to a public, signed listing on streamliner.work.
1. The app checks its signature and shows what it connects to and what it can do. Nothing about you is kept.
1. Get adds it to your streamlines.

#### Keys and trust

##### Where the secrets live

Your keys stay on your devices and go only where they are used.

1. Your model key is in this device’s Keychain.
1. It syncs through iCloud Keychain only if you choose.
1. It is sent only to Anthropic, with each model call.
1. Sign-ins to your systems stay on the device that made them, and never reach the model.

## The chat record is your organization's.

We host it, sealed with your account's own key; your organization decides who reads it and how long it stays.

### What's kept

- Messages, replies, steps and what your systems returned, cards, taps and scanned codes; for files, only their names.
- Never what's typed into a secure form.
- A year after a chat's last message by default; your organization sets the period.
### Who can read it

- Your organization's owners and admins, and its own systems with a server key it holds.
- Each time an owner or admin opens a person's chat, Activity records it.
- We don't use its contents for anything of our own.
### How it's sealed

- Encrypted at rest with AES-256, under a key that belongs to your organization's account alone.
- It isn't end-to-end encrypted: our server holds that key, so you're trusting us as your host.
- When your organization's account ends, we delete its hosted data within 30 days.

## Our business is the app, not your data.

- **We don't train AI models.** Not on what you send, and we don't give it to anyone to train theirs.
- **We don't sell your data.** Nor share it for advertising.
- **We don't show ads.** Not in the app, not on this site.
- **We don't track you.** The app has no analytics or crash-reporting libraries.
- **We don't mark up AI usage.** You pay your provider directly; a plan pays for hosting.
- **We don't hold a master account.** Nothing of ours can do more in your systems than the person signed in.
- Privacy Policy: /privacy
- Subprocessors: /privacy/subprocessors
- Terms of Service: /terms

## Built so nothing changes behind your back.

- **Signed setup.** Every setup is signed; the app refuses one changed along the way.
- **Always an owner.** The last owner can't be removed, lowered or suspended.
- **Nothing overwritten silently.** Two people's changes merge; a real conflict waits for you to choose.
- **See what becomes public first.** Before a streamline is shared, a review shows its instructions, servers and steps that skip the tap; Face ID confirms.

## Free use stays with you.

Building a streamline on your own iPhone, iPad or Mac before your organization rolls it out needs no account, and nothing about your work is stored on our servers. Requests go straight from your device to the AI provider, under your own key, and your key stays in your Keychain. iCloud sync is off until you turn it on.

- What is sent: /docs/what-is-sent
- Where chats are kept: /docs/where-chats-are-kept
