Fluiddocs
Getting started

People in a workspace

Who is in a workspace and what an Owner and a Member may do, how to invite people and accept an invitation, changing a role, removing someone, leaving and renaming a workspace, and working in several workspaces from the console and the CLI.

Warnings and limits

  • Free is for one person. Team is $1,200 a month, or $10,000 a year, for a workspace and everyone in it: the price is the workspace's, whoever is in it. Inviting people is part of Team. See Plans and billing.
  • Only an Owner invites, revokes an invitation, changes a role, removes someone or renames the workspace, in the console. No CLI command and no coding agent does any of it.
  • An invitation joins only someone signed in with the invited address, verified. A forwarded link joins nobody.
  • A Member runs jobs on the workspace's clouds, within each connection's cap, and a job can read every stored secret it names. Invite people you would trust with that.
  • Removing someone ends their access, and their CLI and agent sign-ins in that workspace, at once. Their running jobs keep running.
  • Fluid emails the workspace's Owners and Administrators when someone joins, gets a new role, is removed or leaves, and emails the person whose role changed or who was removed. See Emails about workspace changes.
  • A workspace holds at most 50 people and open invitations, whatever its plan. That bound is against abuse and is no part of a plan: write to hi@clusy.io to raise it.
  • Inviting, changing a role, removing someone, leaving and renaming the workspace need a sign-in from the last hour. The console asks for it when it is needed.

Who is in a workspace

Everyone who signs in to Fluid has a workspace of their own, named after their address, as its Owner. An Owner can rename it. Other people join a workspace when an Owner invites them and they accept. A person can be in several workspaces: their own, and each one they joined.

What is in a workspace is the workspace's, not a person's: its connections, secrets, machines, jobs, plan and its payment. Its jobs are shared. Anyone who runs jobs there can move, suspend, resume or stop any of them, whoever started it.

Everyone in a workspace sees who is in it, in the console under Settings, Members: each person's name, address and role, Owners first. From 8 people, a search field over the list narrows it by name or address. A person whose account cannot sign in now is marked Account unavailable.

Owner and Member

OwnerMember
Run, move, suspend, resume and stop any job of the workspaceyesyes
Use stored secrets by name in a jobyesyes
Read jobs, logs, usage, machines, connections, settings and the planyesyes
Sign in their own CLI and coding tools, and make agent tokensyes, with read, jobs and connectionsyes, with read and jobs
Connect a cloud, set a cap, store or delete a secretyesno
Approve a machine, clean up leaked resources, delete jobs from the historyyesno
Change settingsyesno
Manage the plan and how it is paidyesno
Invite people, revoke an invitation, change a role, remove someoneyesno
Rename the workspaceyesno
Leave the workspaceyes, but not its last Owner who can sign inyes

The CLI and a coding agent act with what their person's role allows, and never more: a Member's agent cannot do what the Member cannot. See Agent context.

Two more roles exist. An Administrator does what a Member does, and also connects, changes and removes the workspace's clouds, sets their caps, stores secrets and adds machines, but does not approve machines, manage the plan, invite or remove people, or change settings. An Owner invites someone as an Administrator, or makes a person one, in the console. A Viewer reads and runs nothing, and Clusy sets that role on request. See Sign in.

What a Member can spend and read

  • A Member's jobs run on the workspace's clouds, and their providers bill the workspace's accounts. A connection's cap, when an Owner sets one, bounds what jobs spend there. See Spend caps and budgets.
  • A job is given the value of every stored secret it names, and nothing stops it printing one. So a Member can see a secret's value through a job.
  • No page, command or tool shows anyone a cloud credential or a secret's value, an Owner included.

Invite someone

On Team, an Owner invites from the console:

  1. Open Settings, Members, and press Invite. The workspace menu at the head of the navigation gets there too, with Invite people. If your sign-in is older than an hour, the console asks you to sign in again first.
  2. Type or paste the email addresses, one or several, separated by a comma, a space, a semicolon or a new line. Each address becomes a line of its own, which you can remove before you send.
  3. Pick Member or Administrator under Invite as. Every address in the list is invited with that role.
  4. Press Send invitation. With three addresses the button reads Send 3 invitations.
  5. Fluid sends each address an invitation of its own, one after the other, and emails it a link. Each line says what became of its address. Each invitation is listed under Invitations until it is accepted or revoked.

Everyone joins as the role the invitation gives: a Member, or an Administrator. To make someone an Owner, change their role once they have joined.

What the dialog says of an address:

The line saysWhat it means
Not an email address.fix or remove it
Already in this workspace.remove it: they are under People
Already invited. This sends the invitation again.the address has an open invitation, which is sent again with a new link and the role you picked
Sendingthe invitation is being made
Invitedthe invitation is made, and listed under Invitations
Sent againthe invitation the address already had was sent again
Not sentno invitation was made for this address: the sending ended first
a sentence of Fluid'sFluid refused this address, and says why. The addresses after it are still sent

A line is also marked when its invitation was sent in the last 10 minutes, or 5 times already. Nothing is sent while a line is marked: fix or remove it.

A refusal that is not about one address ends the sending: the hour's or the day's limit, the plan, or the 50 people and open invitations a workspace holds. The dialog says why under the addresses, and the ones left read Not sent. When some were invited and some were not, it also counts them: "3 of 5 invited. 1 refused, 1 not sent."

An Owner who is alone in a workspace that can invite, with nobody invited yet, reads "It is only you here." under their own row, with Invite people.

Fluid answers the same whether or not the address has a Fluid account, and never says which. On Free there is no Invite: the section says instead that inviting people is part of the Team plan, and how to get Team.

  • An invitation lasts 7 days from when it was made or last sent.
  • Send again emails it again with a new link and 7 more days. The link sent before stops working, and whoever opens it is told a newer email replaced it. One invitation is sent 5 times at most, at least 10 minutes apart.
  • Revoke ends it at once: its link stops working, and its email is not sent if it has not left yet. The console asks first. You can invite the address again later, with a new invitation.
  • An invitation holds while whoever sent it is an Owner. When they leave, are removed or are made a Member, it is no longer valid. Send again makes you its sender, and it works again.
  • How many. A workspace makes 20 invitations in any 24 hours, revoked ones included. One person sends 10 invitation emails an hour at most, counting each one sent again. The Invite dialog lists 50 addresses at a time.

What the Invitations list says of each:

The list saysWhat it means
SendingFluid is sending the email
Sent, and how long agothe email provider took it
Not sentthe email could not be sent, or was not sent on purpose, for example to an address that stopped invitations
Sent, not confirmedit may have been sent. Fluid does not send it again by itself: Send again if it did not arrive
the time leftit can be accepted, for that long
Expiredits 7 days are over: Send again
No longer validwhoever sent it is no longer an Owner: Send again
Waits for Teamthe workspace is on Free and takes nobody more. It works again once the workspace is on Team, until it expires. Revoke is offered, not Send again

An accepted invitation leaves the list, and its person is under People.

When Fluid sends no invitation, the dialog says why:

WhyWhat to do
the address is in the workspace alreadyremove it from the list: they are under People
the address asked not to get invitations from Fluidnothing: only that address can allow them again (see the email)
it was sent 5 timesrevoke it, and invite the address again if it is right
it was sent in the last 10 minuteswait, then Send again
10 emails in the last hour, or the workspace's 20 in a daytry again later
the workspace holds 50 people and open invitationswrite to hi@clusy.io to raise it, or remove someone or revoke an invitation first
the workspace is on Freeget Team on the Billing page

The invitation email

Fluid sends it in its own words. It says who invited the address, to which workspace, as what, and the day the invitation expires (a UTC day), with one button: Open the invitation. Nothing an Owner types is in it: the only words that come from the workspace are its name and the inviter's name and address, and none of them is ever a link. Its subject names the inviter's address where Fluid has verified it: "ana@acme.com invited you to a Fluid workspace".

If you do not know who sent it, ignore it. Nothing happens unless you accept.

Stop invitations to an address

Every invitation email ends with Stop invitations to this address. Its page asks first. Press Stop invitations, and Fluid sends that address no more workspace invitations, from any workspace. Invitations it already has still work until they expire. A mail app's own unsubscribe button does the same.

  • The page that confirms the stop offers Allow invitations again. To get there later, open the same link and press Stop invitations once more: it changes nothing, and that page follows.
  • An Owner who invites a stopped address is told: "This address has asked not to get invitations from Fluid, so none was sent."
  • An invitation that was still waiting to be sent to that address is not sent.

Accept an invitation

  1. Open the link in the email. Before you sign in, the page shows the workspace, who invited you, as what, and the day it expires.
  2. Press Sign in to accept, and sign in with the invited address. The sign-in page fills it in.
  3. Press Join and the workspace's name. The console opens in the workspace you joined, and says "You joined Acme Research as a Member."
  • New to Fluid? Signing in with the invited address makes your account, and a workspace of your own beside the one you join.
  • Signed in with another address, the page says so with both addresses. Sign out and sign in with the invited one, or ask whoever invited you to invite the address you use.
  • Fluid must have verified the address for your sign-in. If it has not, the page says so: sign in with the email code.
  • Already in the workspace, the page offers Open and the workspace's name.
  • Stay in the same tab. The link's code is after the # in its address, which a browser sends to no server, and the page keeps it in that tab while you sign in.

When a link cannot be used, the page says why in one sentence:

The page saysWhat to do
This invitation expired on Nov 24.ask whoever invited you to send it again
This invitation was revoked.ask an Owner of the workspace for a new one
A newer email replaced this link.open the latest invitation email
This invitation was already accepted.nothing, if it was you
This invitation is no longer valid.whoever sent it is no longer an Owner: ask an Owner for a new one
Acme Research is on the Free plan now, which is for one person, so this invitation cannot be accepted.it works again once the workspace is on Team: ask an Owner
This invitation link is wrong or incomplete.open the whole link from the email

Change a role

An Owner gives someone else another role from the menu at the end of the person's row in Settings, Members: Make an Owner, Make an Administrator or Make a Member. The console asks first, and asks you to sign in again when your sign-in is older than an hour.

  • Nobody changes their own role in the console.
  • Made an Owner, a person does what Owners do from their next request. Their CLI and agent sign-ins keep the access they were approved with: a new sign-in is needed for more.
  • Made a Member, a person keeps running jobs and loses what only Owners do. Their agents lose access to connections, and the invitations they sent stop working.
  • A workspace keeps at least one Owner who can sign in. Its last one cannot be made a Member: make someone else an Owner first.
  • On Free with more people than Free is for, nobody else can be made an Owner. See Free and Team.

Remove someone

An Owner removes anyone else, another Owner included, from the menu on their row: Remove. It needs a sign-in from the last hour. The dialog says first how many CLI and agent sign-ins stop working and how many of their jobs are running.

What ends, at once:

  • their access to the workspace;
  • every CLI and agent sign-in of theirs in this workspace. They are revoked, so none comes back if the person is invited again later. Their sign-ins of other workspaces keep working;
  • the invitations they sent, which are no longer valid;
  • a terminal sign-in they approved that the terminal had not collected yet.

What stays:

  • their jobs, which keep running and stay the workspace's. Anyone in it can stop them on Runs;
  • everything set up for the workspace: connections, secrets, machines, the plan and how it is paid;
  • their own workspace, and every other workspace they are in.

Fluid emails the person removed, and the workspace's Owners and Administrators (Emails about workspace changes). The plan's card stays with the workspace, whoever entered it: if it is the removed Owner's, replace it under Manage payment and invoices. See Plans and billing.

Someone removed by mistake can be invited again. They join as a Member, with none of the sign-ins they had.

Leave a workspace

Anyone leaves a workspace from the menu on their own row in Settings, Members: Leave workspace. Settings, General has the same button. It needs a sign-in from the last hour.

  • Your CLI and agent sign-ins in that workspace stop working. Your running jobs keep running for the workspace.
  • The last Owner who can sign in cannot leave: make someone else an Owner first.
  • The console then opens the workspace you joined last. When it was your only workspace, you are signed out, and your next sign-in makes you a workspace of your own.
  • To come back, ask an Owner to invite you again.

The console cannot delete a workspace yet. To have one deleted, an Owner writes to hi@clusy.io.

Rename a workspace

An Owner renames the workspace in Settings, General: press Rename, type the new name and press Rename again. It needs a sign-in from the last hour.

  • A name is 1 to 100 characters.
  • Everyone in the workspace sees the new name. Its ID, its links and its terminal sign-ins stay as they are.
  • While a workspace still has the name sign-up gave it, such as "bo@lab.org's workspace", its Owner gets Name this workspace in the workspace menu at the head of the navigation. It opens the same dialog.
  • Fluid emails the workspace's Owners and Administrators. See Emails about workspace changes.

Several workspaces

In the console

The console works in one workspace at a time. Its name stands at the head of the navigation for everyone, in one workspace or in several. Press it to open the workspace menu.

  • The menu lists your workspaces, each with its initials, its name and your role in it, and ticks the one the console is in. Press another to switch. From 8 workspaces, a field over them finds one by its name.
  • Under them the menu leads to Workspace settings, to Members and, for an Owner, to Invite people.
  • Switching opens the same page in the other workspace and says "Now in Acme Research." A run's page goes to Runs instead, since a run is one workspace's.
  • The command menu switches too. Press Cmd+K on a Mac, or Ctrl+K elsewhere, and choose Switch to Acme Research.
  • The browser tab names the workspace after the page: "Runs · Acme Research · Fluid".
  • Add credit names it. Where the Billing page sells credit, the Add credit dialog says whose balance it adds to: "Added to Acme Research."
  • This browser remembers your choice. Another browser opens the workspace you joined last.
  • When you approve a terminal or a device sign-in, the approval page asks which workspace to give it, and offers the access your role there allows. Choosing there does not move the console. When you are in several workspaces, the same approval signs the terminal in to your others too, unless you turn that off under Options.

In the CLI

You sign in once. One approval in the browser signs this machine in to every workspace you are in, and the one you pick on the page is the one in use. Each workspace still has a sign-in of its own, with the access your role there allows, so ending one never ends another. You are not signed in to a workspace where you are a Viewer, or to one that is frozen.

CommandWhat it does
fluid workspacelists the workspaces this machine is signed in to, with each one's id, your role and each sign-in's access and budget; * marks the one in use. Under them, your workspaces it is not signed in to yet. The last line says which one this folder uses when that is another, and why
fluid workspace use NAMEmakes that workspace's sign-in the one in use, for every terminal on this machine. No browser is needed
fluid workspace pin NAMEmakes this folder, and the folders under it, use that workspace on this machine
fluid workspace unpinremoves the pin that applies in this folder
fluid workspace add [NAME]signs this machine in to the workspaces it has no sign-in for yet, with one approval in the browser: for one you joined after you signed in, say. With NAME, that workspace is the one in use after, and a name that is none of yours stops before the browser opens. --keep leaves the one in use as it is
fluid workspace rm NAMEsigns this machine out of one workspace, and ends that sign-in
fluid logoutsigns this machine out of every workspace

NAME is a workspace's id, its name, or the start of its name that only it has, case ignored.

For anyone but a Viewer, Settings, General in the console shows the command that makes a terminal use the workspace the console is in, such as fluid workspace use "Acme Research", with Copy. A terminal that is not signed in there yet runs fluid workspace add first.

$ fluid login
signed in to https://fluid.sh as bo-laptop (portal-cli) (read, jobs) in Acme Research (Member)
also signed in to bo@lab.org's workspace (Owner): fluid workspace use NAME switches, and --workspace NAME runs one command in another

$ fluid workspace
  WORKSPACE                 ID                   ROLE    ACCESS                   BUDGET
* Acme Research             ws_4f8a84dc3c6bc96a  Member  read, jobs               -
  bo@lab.org's workspace    ws_77b1e0c2a9d34f15  Owner   read, jobs, connections  $200.00
yours too, with no sign-in on this machine:
  WORKSPACE  ID                   ROLE
  Acme Labs  ws_9b8a7c6d5e4f3a21  Member
sign this machine in to it: fluid workspace add "Acme Labs"

$ fluid workspace use bo
now using bo@lab.org's workspace (Owner) on this machine: quotes, jobs and connections are this workspace's

A key made on the Developers page is for its one workspace and is told nothing of your others.

Which workspace a command uses

The first of these decides:

  1. --workspace NAME, or -w NAME, on the command.
  2. FLUID_WORKSPACE=NAME in the shell.
  3. The pin of this folder, or of the nearest folder above it.
  4. workspace: NAME in the project's portal.yaml.
  5. The one in use, which fluid workspace use sets.

A workspace named, pinned or set by the project that this machine is not signed in to stops the command with the fix. Fluid never falls back to the next one. fluid login, fluid workspace add and fluid logout take neither the option nor the variable.

Keep a project in one workspace

Pin the project's folder once. Every command in it, and the coding agent you start there, then uses that workspace, whichever one is in use elsewhere:

~/code/team-model $ fluid workspace pin "Acme Research"
pinned ~/code/team-model to Acme Research (Member): commands in it and in the folders under it use this workspace on this machine, before the one in use. fluid workspace unpin removes the pin

~/code/team-model $ fluid ps
workspace: Acme Research (Member), pinned to ~/code/team-model

The pin is kept on this machine, in Fluid's own folder. Nothing is written to the project, so nothing reaches its repository. It holds the workspace's id, so renaming the workspace keeps it.

Keep a project in one workspace for the whole team

Put the workspace in the project's portal.yaml and commit it. Everyone who runs the project then runs it in that workspace, and a teammate who is not signed in there is told to add it instead of running in their own:

workspace: ws_4f8a84dc3c6bc96a   # or its name: Acme Research

Use the id: a rename then changes nothing. A pin on your machine comes before the project's file, so you can still point your copy elsewhere, and --workspace NAME runs one command in another. Teammates need a CLI from this release or later: an older one stops on the key it does not know.

Scripts and CI

Set PORTAL_REQUIRE_WORKSPACE=1. A command then refuses to run on whichever workspace happens to be in use: --workspace, FLUID_WORKSPACE, a pin or the project's file must name it.

Where the CLI says the workspace

  • Each command says where it acts. While this machine holds more than one sign-in, each command says it first, on standard error: workspace: Acme Research (Member), with chosen by FLUID_WORKSPACE, pinned to ~/code/acme or set by ~/code/acme/portal.yaml when one of those chose it. With --json, its document carries "workspace"; a launch's, whose workspace is the packed project, names it portal_workspace.
  • With one sign-in too, where it matters: fluid login ends with the workspace you chose on the page and your role in it, and says it again when you are already signed in. A launch says it just before its upload, and its --json document carries portal_workspace. fluid resume, fluid move and fluid connect say it first. A refusal ends with the workspace, and with your role in it when the role is why: "Workspace: Acme Research, where you are a Member."
  • Links open in the right workspace. The job's link a launch prints, and the console fluid dashboard opens, name the workspace, so the console opens there even if it was last in another of yours.
  • A job of another workspace. Ask for a job by its id in the wrong workspace, and Fluid looks in the other workspaces this machine is signed in to. When one has it, the error says which, and the --workspace to add.
  • One workspace at a time. fluid ps and fluid show the jobs and machines of one workspace.
  • A sign-in that no longer works, because you were removed or it was revoked, is listed as no longer works. fluid workspace rm NAME forgets it.

Coding agents

Fluid's MCP server uses the CLI's sign-in in use, so fluid workspace use moves your coding tool too, unless the folder it started in is pinned: then it stays in the pinned workspace. context names the workspace and your role in it, and the workspaces tool lists the workspaces this machine is signed in to. A run's result names the workspace it runs in. When you tell the agent which workspace to run in, it passes that to run, which refuses before anything is uploaded if the server is in another one. A project whose portal.yaml names a workspace is held to it the same way. No tool switches workspace, invites or removes anyone: an agent asks you to run fluid workspace use NAME or fluid workspace pin NAME. A server started with FLUID_WORKSPACE set stays in that workspace.

Free and Team

Free is for one person: the workspace's Owner. Team is $1,200 a month, or $10,000 a year, for a workspace and everyone in it, and Dedicated, set by agreement, is for everyone in the workspace too. On Free no invitation is made or accepted. See Plans and billing.

A workspace can be on Free with more people than Free is for, when its Team plan ends. Then:

  • nobody is removed, and nothing that runs or is suspended is touched;
  • only its Owners start new jobs. Everyone else still reads, moves, suspends and stops jobs, resumes a suspended one, and gets quotes. Starting again a job that found no capacity is a new start, and is refused too;
  • nobody else can be made an Owner;
  • open invitations wait for Team, and work again once the workspace is on Team, until they expire.

A start that is refused for this says so:

This workspace is on Free, which is for one person, so only its Owners start new jobs. Fluid did not start this
job. Running and suspended jobs are not affected. An Owner can move to Team on the console's Billing page:
https://fluid.sh/app#/billing. Sending this again will not help until then.

It ends once the workspace is on Team again, or has no more people than Free is for.

The 50 people and open invitations a workspace holds are a bound against abuse on every plan, and no part of one. A workspace at the bound makes no more invitations until someone leaves or is removed, or an invitation is revoked. Its open invitations hold their places, and can still be accepted. Write to hi@clusy.io to raise it.

On this page