Individual workspace setup
An AIOS workspace belongs to one person. It holds that person’s context, work, decisions, harnesses, and sync client. It works offline; connecting a Team Brain is a separate choice.
Set up the workspace
Section titled “Set up the workspace”-
Install the toolkit
Nothing below works until the
aioscommand exists on this machine. Check first:Terminal window aios --versionIf that answers, skip this step — go straight to the inspection in step 2 and repair what is already here rather than installing over it. Otherwise pick one of the two supported ways to get the command. Installing it does not clone, scaffold, or modify any workspace; step 2 still inspects before anything changes.
Install only after the v2.1.0 Git tag and @aiosbrain/aios@2.1.0 npm version are published. A documentation preview does not mean the release is available.
git clone --branch v2.1.0 --depth 1 https://github.com/aiosbrain/aios-workspace.git aios-workspace && test "$(git -C aios-workspace rev-parse HEAD)" = "b92173e7b5f4d7d5da615fe77c5a9fbe39873dd7" cd aios-workspace npm installThis pins the supported public release,
v2.1.0. A plain clone checks out the movingmainbranch and is only for contributors testing pre-release code.npm installis not optional — several validators load dependencies from the checkout, and skipping it makesvalidate-all.shfail on a workspace that is actually fine.Then record where the toolkit lives, so your workspace can find it later:
Terminal window export AIOS_TOOLKIT_DIR="$PWD"Install only after the v2.1.0 Git tag and @aiosbrain/aios@2.1.0 npm version are published. A documentation preview does not mean the release is available.
npm install --global @aiosbrain/aios@2.1.0This puts
aioson yourPATHimmediately. The scaffold templates and validators ship inside the package rather than in a checkout you cancdinto, so point at them explicitly when a step below asks for a toolkit path:Terminal window export AIOS_TOOLKIT_DIR="$(npm root -g)/@aiosbrain/aios" -
Inspect the machine
Terminal window aios onboard --inspect --jsonThis is read-only. If it finds a usable workspace, repair or upgrade that workspace instead of creating a duplicate.
-
Choose one context and scaffold
Terminal window "$AIOS_TOOLKIT_DIR/scripts/scaffold-project.sh" \--context employee \--slug your-name-workspace \--stakeholder "Your Company" \--owner your-name \--team "you" \--org your-org \--output ~/Projects/your-name-workspaceTerminal window "$AIOS_TOOLKIT_DIR/scripts/scaffold-project.sh" \--context consultant \--slug your-name-workspace \--stakeholder "Client Name" \--owner your-name \--team "you" \--org your-org \--output ~/Projects/your-name-workspaceTerminal window "$AIOS_TOOLKIT_DIR/scripts/scaffold-project.sh" \--context business-owner \--slug your-name-workspace \--stakeholder "Your Business" \--owner your-name \--team "you" \--org your-org \--output ~/Projects/your-name-workspaceThe
--teamscaffold argument seeds local context. It is not a Team Brain invitation or a membership list. -
Validate the new repository
Use the same
--outputpath you chose above:Terminal window cd ~/Projects/your-name-workspace"$AIOS_TOOLKIT_DIR/validation/validate-all.sh" .Terminal window cd ~/Projects/your-name-workspace"$AIOS_TOOLKIT_DIR/validation/validate-all.sh" .Terminal window cd ~/Projects/your-name-workspace"$AIOS_TOOLKIT_DIR/validation/validate-all.sh" .Your workspace also ships its own
bin/aiosshim, which hands every command to anaios-workspacecheckout. It looks for that checkout next to or one level above your workspace, or atAIOS_TOOLKIT_DIR— it does not find a globally npm-installed toolkit. If you installed withnpm install -g, either call the globalaioson yourPATH(which works from inside the workspace) or export the package path:Terminal window export AIOS_TOOLKIT_DIR="$(npm root -g)/@aiosbrain/aios" -
Try an offline workflow
Open the workspace in your supported coding agent and run an installed skill such as weekly synthesis. No workspace file content is uploaded automatically. An eligible file is uploaded only when you explicitly run
aios push.Online commands that use a configured Team Brain are separate network operations. For example,
aios whoami,aios query, andaios analyze --pushtransmit the request data needed for those operations; use the offline workflow when you do not want to make a network request.
Existing workspace
Section titled “Existing workspace”Do not re-scaffold over it. Keep the toolkit on an exact published release and preview the managed-file update first:
aios update --preview --from /path/to/aios-workspaceaios update --from /path/to/aios-workspace --no-pullThe updater does not turn a release-tag checkout into main. When a new stable
release is announced, explicitly fetch and select that tag before applying it.
Dirty, diverged, detached-without---no-pull, or otherwise unsafe toolkit states
are refused rather than overwritten.
Next decision
Section titled “Next decision”- Stay offline: continue using the workspace as-is.
- Join a team: follow Join a Team Brain.
- Administer a team: follow Team admin setup.