# Orbit documentation > Orbit is a cloud drive that mounts in Finder on a Mac, opens in a web file browser, and is reachable from S3 tools at https://s3.orbitfs.io. Every save is kept as a version, and a drive can be forked without copying data. --- # Quickstart Source: https://docs.orbitfs.io/start/quickstart Create an account, put a file in a drive, and read it back from a second place. An Orbit drive is one set of files with four ways in: a folder in Finder, a file browser on the web, an MCP connection for agents, and an S3 endpoint for tools and scripts. This page takes you through all four. Each step stands on its own, so skip the ones you don't need. ## 1. Create your account Go to [app.orbitfs.io/login](https://app.orbitfs.io/login) and sign in with an emailed six-digit code or with Google. A new account gets a personal workspace, a first drive, and 5 GB of storage. You don't need a card. ## 2. Add a file Pick the way you'll use Orbit most. ### In Finder 1. Download [Orbit for Mac](https://orbitfs.io/download). It needs macOS 14+ on Apple silicon. 2. Open Orbit and follow setup. Sign-in finishes in your browser, and setup then puts your first drive in Finder. 3. Choose **Show in Finder** and drag a file into the drive. The save returns as soon as the file is recorded on your Mac. Orbit uploads it in the background, and the menu bar icon reports progress. [Install and set up](https://docs.orbitfs.io/mac/install) covers setup in detail. ### In the browser Open your drive in the [web app](https://app.orbitfs.io/) and drop a file anywhere on the page. The upload tray tracks it. A single browser upload can be up to 3 GiB. ### From an S3 tool Create an access key from **Access keys** in the web app's sidebar, then point any S3 client at `https://s3.orbitfs.io`. A drive appears as a bucket. :::tabs ```sh title="AWS CLI" export AWS_ACCESS_KEY_ID=ULS... # shown once when you create the key export AWS_SECRET_ACCESS_KEY=... export AWS_ENDPOINT_URL=https://s3.orbitfs.io export AWS_DEFAULT_REGION=auto aws s3 ls # your drives aws s3 cp ./clip.mp4 s3://my-drive/clip.mp4 ``` ```sh title="rclone" rclone config create orbit s3 provider=Other \ access_key_id=ULS... secret_access_key=... \ endpoint=https://s3.orbitfs.io region=auto force_path_style=true rclone lsd orbit: # your drives rclone copy ./clip.mp4 orbit:my-drive ``` ```python title="Python" import boto3 from botocore.config import Config s3 = boto3.client( "s3", endpoint_url="https://s3.orbitfs.io", region_name="auto", config=Config(s3={"addressing_style": "path"}), ) # reads AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY s3.upload_file("clip.mp4", "my-drive", "clip.mp4") ``` ::: Replace `my-drive` with a name from the drive list. [Connect a client](https://docs.orbitfs.io/s3/connect) has the settings for other tools. ## 3. Read it from somewhere else The file is now in the drive, not in the place you added it from. Check from a different side: - Uploaded with an S3 tool? Open the drive in Finder or the web app. The file is there. - Saved in Finder? Run `aws s3 ls s3://my-drive/`, or open the web app. ## 4. Change it, then look at its history Save the file again, or upload over it. Orbit keeps the earlier contents as a version. In the web app, open the file's row menu and choose **Version history** to see each save and restore one. ## Connect an agent (optional) Open **Connect Agents** in the web app's sidebar, copy the setup prompt, and paste it into Claude Code, Codex, Cursor or another MCP client. Approve the access in the browser page that opens. The agent can then search and read the drives you chose, and write to them if you allowed editing. [Build with agents](https://docs.orbitfs.io/guides/agents) has the details. ## Where to go next - [Core concepts](https://docs.orbitfs.io/start/concepts) explains workspaces, drives, versions and forks. - [Edit files in place](https://docs.orbitfs.io/guides/edit-in-place) changes part of a large file without uploading it again. - [Fork a drive](https://docs.orbitfs.io/guides/forks) gives a script or an agent its own copy to work in. - [History and restore](https://docs.orbitfs.io/guides/history) covers versions, activity and undo. --- # Core concepts Source: https://docs.orbitfs.io/start/concepts The handful of ideas the rest of the docs rely on: workspaces, drives, versions, forks and access keys. ## Workspace A workspace owns drives, members, storage and billing. Every account starts with a personal workspace. A Teams workspace adds members, each with a [role](https://docs.orbitfs.io/web/teams) that decides what they can do. ## Drive A drive is a tree of folders and files. It is the unit you put in Finder, share with a team, and fork. To S3 tools, a drive is a bucket. Each drive has two identifiers a client can use as the bucket name: | Identifier | Looks like | Notes | | --- | --- | --- | | Name | `footage` | 3 to 63 lowercase letters, digits and hyphens. Unique within the workspace. Changes if the drive is renamed. | | Drive ID | `d-` followed by 26 characters | Never changes. | Folders are real. Renaming or moving a folder is one operation, however many files are inside it. ## Files are stored as blocks Orbit splits each file into blocks of about 2 MiB, cut at boundaries chosen from the content itself, and names every block by its SHA-256 hash. Three things follow from that: - **Reads are partial.** Opening a 40 GB file fetches the blocks behind the bytes an app asks for, not the whole file. - **Changes are partial.** Editing part of a file stores new blocks for that part. The rest is reused. - **Copies are free.** Two versions, or a drive and its fork, point at the same blocks until they differ. ## Version Every change to a file creates a version: an upload, a save from Finder, an in-place edit, a restore. Versions are immutable. Restoring an old version adds a new one with the old contents, so nothing is overwritten on the way back. Deleting a file removes it from the drive but keeps its history. See [History and restore](https://docs.orbitfs.io/guides/history). ## Fork A fork is a new drive that starts with everything the source drive held at that moment. No file data is copied, so forking a large drive takes about as long as forking a small one. After the fork, the two drives are independent: a write to one is invisible to the other. Forks suit work you might throw away, such as an agent run, a risky batch job, or a test of a migration. See [Fork a drive](https://docs.orbitfs.io/guides/forks). ## Access key An access key lets a program use your drives over the S3 API. A key carries a level of access (read only, read and write, or full control) and can be limited to specific drives. See [Access keys](https://docs.orbitfs.io/start/access-keys). ## Agent connection An agent connection lets an MCP client use drives without holding an access key. You approve one workspace, view or edit access, and all or selected drives in the browser; the connection is capped by your role and can be revoked from **Connect Agents**. See [Build with agents](https://docs.orbitfs.io/guides/agents). ## Consistency A drive has one authority that orders every change, so a read that follows a write sees it. When two writers race with a condition on the same file, such as `If-Match`, one succeeds and the other gets `412 Precondition Failed`. In Finder, an edit that loses such a race is kept as a separate conflict copy next to the original. --- # Access keys Source: https://docs.orbitfs.io/start/access-keys Create, scope and revoke the keys that let programs reach your drives over S3. ## Create a key 1. In the [web app](https://app.orbitfs.io/), open **Access keys** in the sidebar and choose **New access key**. 2. Give it a name you'll recognize later, such as the machine or script that will hold it. 3. Choose its access and which drives it can reach. 4. Copy the access key ID and the secret. :::warning The secret is shown once. Orbit doesn't keep a copy you can view again. If you lose it, revoke the key and create another. ::: The same dialog offers ready-made snippets for environment variables, the AWS CLI and rclone, filled in with the new key. ## Access levels | Level | Allows | | --- | --- | | Read only | List and download files. | | Read and write | Also upload, change and delete files. | | Full control | Also create, fork and delete drives. | A key can never do more than the person who created it. Your [workspace role](https://docs.orbitfs.io/web/teams) sets the ceiling: viewers can create read-only keys, members can create keys up to read and write, and owners and admins can create any key. If your role is later reduced, your keys are reduced with it. ## Limit a key to specific drives A key reaches every drive in the workspace unless you select drives when you create it. A limited key sees only its drives. Requests for any other drive get `NoSuchBucket`, the same answer as for a drive that doesn't exist. Prefer a limited key for anything automated. Pairing one with a [fork](https://docs.orbitfs.io/guides/forks) confines a script or agent to a copy. ## Limit a key further Three optional limits are useful for a temporary job or an agent run: | Option | Effect | | --- | --- | | Expiry | The key stops by itself at the chosen time, up to 30 days ahead. | | Folder scope | The key reaches one folder of one drive. Requests outside that folder are refused. | | Protect instruction files | The key can read but not change files such as `CLAUDE.md`, `AGENTS.md`, `.claude/`, `.git/hooks` and editor automation files. | A child key can never outlive, widen or remove a guard on its parent. Keys minted by a connected agent also end when that connection is revoked. ## Child keys A program that holds a key can create narrower keys from it without a person signing in. A child key can have the same access or less, and the same drives or fewer. Revoking a key also revokes every key created from it. Send a signed `POST` to `/_uls/keys`: ```sh curl https://s3.orbitfs.io/_uls/keys \ --aws-sigv4 "aws:amz:auto:s3" \ --user "$AWS_ACCESS_KEY_ID:$AWS_SECRET_ACCESS_KEY" \ -H "content-type: application/json" \ -H "x-amz-content-sha256: $(printf '%s' "$BODY" | shasum -a 256 | cut -d' ' -f1)" \ -d "$BODY" ``` `BODY` is JSON: ```json { "drives": ["d-01jc8w3m5q7x9z2b4d6f8h0k1n"], "access": "read", "label": "nightly-report", "expiresIn": 3600 } ``` | Field | Required | Meaning | | --- | --- | --- | | `drives` | Yes | Drive IDs the child can reach. Each must be reachable by the parent. | | `access` | No | `read`, `write` or `admin`. Defaults to the parent's access. | | `label` | No | A name shown in the key list. | | `expiresIn` | No | Whole seconds until expiry, 60 to 2,592,000 (30 days). | | `prefix` | No | One folder such as `reports/2026/`; requires exactly one drive and cannot be used with `admin`. | | `protectInstructions` | No | `true` stops the child changing agent instruction files. | The request must be signed in its headers with the SHA-256 of the body in `x-amz-content-sha256`. Presigned URLs and unsigned payloads are refused. The response is `201` with the new key and its `secretAccessKey`, which is not shown again. ## Revoke a key Open **Access keys**, find the key and revoke it. The dialog tells you when child keys will go with it. Revocation reaches the S3 endpoint within 30 seconds. ## Keep keys safe - Put keys in environment variables or a secret manager, not in source code. - Give each machine or job its own key, so that revoking one doesn't stop the others. - Use the lowest access that does the job. --- # Install and set up Source: https://docs.orbitfs.io/mac/install Install Orbit for Mac, sign in, and get your first drive into Finder. ## Requirements - macOS 14+ on Apple silicon Orbit is signed with a Developer ID and notarized by Apple. It installs for your user account and doesn't need an administrator password, a kernel extension, or a change in System Settings to put a drive in Finder. ## Install 1. Download the disk image from [orbitfs.io/download](https://orbitfs.io/download). 2. Open it and drag Orbit to Applications. 3. Open Orbit from Applications. It has a Dock icon and a planet in the menu bar. If you open Orbit straight from the disk image, it asks to move itself to Applications, opens from there and ejects the disk image. Orbit can't keep drives in Finder while it runs from the disk image. The download page also links a SHA-256 checksum for the disk image. ## Set up Setup has three steps. 1. **Sign in.** Orbit opens your browser. Sign in there with an emailed code or Google, then approve the return to the app. If the browser window gets lost, choose **Open Browser Again**. 2. **Run in the background.** Choose **Allow**. Your drive can't appear in Finder without it, so this step can't be skipped. If Orbit already runs in the background, for example after a reinstall, setup skips this step. **Finder integration** is optional: **Open Settings…** turns on the badges and right-click menu in Finder. 3. **Your drive is in Finder.** Your first drive is named Orbit and is at `~/Orbit/Orbit`. Choose **Keep Offline** to download all of it to this Mac, or leave files to download as you open them. Choose **Show in Finder** to open it. The first time an app such as Preview, Word or Terminal opens a file in a drive, macOS asks whether it can access files on a network volume. Choose **Allow**. If you chose **Don't Allow**, the app can't open files from Orbit until you turn it on in **System Settings → Privacy & Security → Files & Folders** under that app. While Orbit is open it notices when macOS refuses an app, and says which one with a shortcut to that setting. You can close setup early. Unfinished steps stay on the **Get started** list in the menu and above your drives until you finish or hide them. ## Permissions | Permission | Needed? | Why | | --- | --- | --- | | Run in the background | Yes | Orbit's background service keeps drives in Finder and uploads your saves. Sign-in finishes once it can run. | | Network volume access | Asked per app | macOS asks once for each app that first touches a drive, such as Terminal or an editor. Orbit can't grant this on an app's behalf. | | Notifications | Optional | Alerts when a file is saved as a conflict copy. | | Open at login | Optional | Starts Orbit in the menu bar so drives are in Finder when you log in. | Review or change these later under **Settings → Permissions**. Skipping an optional permission never blocks setup. ## The menu bar The menu shows one status line, your drives with **Open in Finder**, and recent activity. The status line names the thing that most needs attention: | Status | Meaning | | --- | --- | | All files are up to date | Nothing is waiting to upload. | | Syncing 3 files | Saves are uploading. It is safe to keep working. | | A drive needs attention | A drive couldn't connect to Finder. Open Orbit for the reason. | | Storage almost full | The workspace is near its storage limit. | | Changes are paused — plan inactive | Files stay readable. Uploads resume when the plan is active again. | | An upload didn't finish | Open **Activity** to see which file and try again. | ## Sign out or switch accounts **Settings → Account** has **Sign Out** and **Use a Different Account…**. Signing out takes your drives out of Finder on this Mac. Your files stay in Orbit. ## Updates Orbit 0.2.9 and later check for a new version once a day and ask before installing it. **Check for Updates…** in the Orbit menu, or in **Settings → General**, checks now. Orbit waits until nothing is uploading before it installs an update, so an update never interrupts a save, and your drives are back in Finder when it reopens. Versions before 0.2.9 can't update themselves. Download the current version from [orbitfs.io/download](https://orbitfs.io/download) and open it once; it replaces the old copy and keeps your drives, sign-in and unsent changes. If Orbit says it **finishes updating once your changes have uploaded**, it is still running the old background service. It switches by itself when the uploads finish, or choose **Restart Now**; unsent changes stay on your Mac. --- # Work in Finder Source: https://docs.orbitfs.io/mac/finder Open, save and organize files in a drive from Finder and from any Mac app. ## Where drives appear A drive in Finder is a folder under `~/Orbit`, named after the drive. Any app can open and save there, and so can Terminal. In the Orbit window, each drive says where it stands: **In Finder**, **Not in Finder**, or **Couldn't connect to Finder**. The **Open in Finder** button puts the drive in Finder first if it isn't there yet. ## Opening files Orbit downloads a file's data as an app reads it. A large file opens when its first blocks arrive, and seeking to the middle fetches the middle. The first time each app opens a file here, macOS asks whether it can access files on a network volume. Choose **Allow**. If an app can't open files from a drive, turn **Network Volumes** on for it in **System Settings → Privacy & Security → Files & Folders**. Data you have opened stays in a cache on your Mac, so the second read is local. See [Offline and cache](https://docs.orbitfs.io/mac/offline) for how much space that uses. ## Saving files A save is written to your Mac first and returns at local speed. Orbit then uploads the parts of the file that changed and records a new [version](https://docs.orbitfs.io/guides/history). Watch progress in the menu bar or under **Activity**. If you close the lid or lose your connection mid-upload, Orbit continues when it can. Saved changes are not lost. ## Drive actions The Orbit window has two sections, **Drives** and **Activity**. The **…** menu on a drive has: | Action | What it does | | --- | --- | | Keep Offline | Download the drive to this Mac. **Remove Offline Copy** appears once it is kept offline. | | Share Drive… | Open that drive's sharing page on the web. Owners and admins. | | Rename… | Change the drive's name. Everyone with access sees the new name. | | Fork… | Create a [fork](https://docs.orbitfs.io/guides/forks) of the drive under a new name. | | Delete… | Delete the drive. Asks first. | **New Drive…** creates a drive. Only workspace owners and admins can create, rename, fork, share or delete drives. **Open on the Web**, in the menu bar, opens the web app. To take a drive out of Finder on this Mac, open **Search** in the menu bar and choose **Eject**. The files stay in the drive. ## Search **Search** in the menu bar opens a panel for apps, files, drives and commands. Searching the names inside one drive is in the [web file browser](https://docs.orbitfs.io/web/files). [Connected agents](https://docs.orbitfs.io/guides/agents) can search the text inside files. ## When two people save the same file If someone else changed a file between the time you opened it and the time you saved, Orbit doesn't pick a winner. Their version stays in place, and yours is saved next to it: ```text budget (conflict, Studio-MacBook, 2026-11-29 140512).xlsx ``` The name carries the Mac it came from and the time in UTC. Orbit shows a banner, and a notification if you allowed them. Open both, keep what you need, and delete the conflict copy. ## Working without a connection Files you've opened recently, and drives you [keep offline](https://docs.orbitfs.io/mac/offline), stay readable. Saves made offline queue on your Mac and upload when the connection returns. ## Activity **Activity** in the Orbit window lists transfers in progress and recently finished uploads. An upload that failed appears here with the reason. Who changed a file, and undoing that change, is **Activity** on the drive in the [web app](https://docs.orbitfs.io/web/files#activity). --- # Offline and cache Source: https://docs.orbitfs.io/mac/offline Control which files are on your Mac, and how much disk space Orbit uses. Orbit keeps two kinds of file data on your Mac. They behave differently, and you control each one. | | Opened files | Offline files | | --- | --- | --- | | What's kept | Data you've read recently | Every file in a drive you chose | | How it gets there | Automatically, as you open files | You choose **Keep Offline** | | Removed when | The space limit is reached, oldest first | You remove the offline copy | | Counts toward the space limit | Yes | No | ## Opened files Files download when you open them. Orbit keeps that data so the next read is local. Set the limit under **Settings → Drives & Storage**: "Keep up to N GB of opened files on this Mac". The default is 20 GB. When the limit is reached, Orbit removes the copies you opened longest ago. They stay in your drive and download again when you next open them. ## Keep a drive offline 1. In the Orbit window, open the drive's **…** menu. 2. Choose **Keep Offline**. 3. Wait for the download to finish before you disconnect. **Offline Files** shows progress and the size downloaded. Offline files are always on your Mac and don't count toward the opened-files limit, so check that the disk has room for the whole drive. To free the space, open **Offline Files** and choose **Remove Offline Copy**. The files stay in the drive. ## Edits made offline Saves made without a connection are stored on your Mac and upload when you're back online, in the order you made them. If someone changed the same file in the meantime, your edit is saved as a [conflict copy](https://docs.orbitfs.io/mac/finder#when-two-people-save-the-same-file). ## Limit upload speed **Settings → Drives & Storage** has **Upload speed limit**, for when uploads compete with a call or a slow connection. --- # Browse and upload Source: https://docs.orbitfs.io/web/files Use the web file browser to upload, download, organize, preview and recover files. The web app at [app.orbitfs.io](https://app.orbitfs.io/) opens your last used drive. The sidebar lists that workspace's drives, then **Connect Agents**, **Settings** and **Access keys**. In a workspace you belong to, it also has **Members** and **Plan and billing**. ## Upload Drop files anywhere on a drive's page, or use the upload button. A tray tracks each upload. - A single file can be up to **3 GiB**. For larger files, use the [Mac app](https://docs.orbitfs.io/mac/install) or an [S3 client](https://docs.orbitfs.io/s3/connect). - If a file with the same name exists, Orbit asks whether to **Keep both** or **Replace**. Replacing adds a version. It doesn't discard the old contents. - If someone else changes the file while your upload is running, the upload stops with a conflict message instead of overwriting their change. Only the parts of a file the drive doesn't already hold are sent, so uploading a file again after a small change is quick. ## Download Select one or more files and choose **Download**, or use a file's row menu. The browser can download files up to **512 MiB**. For larger files, open the drive in Finder with the Mac app. Orbit checks each downloaded block against its hash before it hands you the file. ## Organize - **New folder** creates a folder. - A row menu has **Rename**, **Move to…** and **Delete**. - Select several rows to download, move or delete them together. - Sort by name, size or modified date from the column headings. ## Search The file browser's search finds files and folders by name. Three or more characters search the whole drive. A shorter query filters the folder you have open. [Connected agents](https://docs.orbitfs.io/guides/agents) can also search the text inside files, including PDF and Word documents that have a text layer. ## Preview, edit and details Open a file to see its details panel. Images and PDFs up to 8 MiB, and text up to 512 KiB, show a preview. The panel also lists the file's versions. **Edit** opens a Markdown or CSV file of at most 1 MiB in the browser. A CSV opens as a table when the file parses cleanly. Saving is refused if someone else changed the file after you opened it. You can keep your text as a separate file. ## Share **Share** on a personal workspace creates a public link. A file gets a download link. A folder can request one named file of at most 16 MiB. Anyone with the link can use it, with no Orbit account. Links expire after seven days, and you can revoke one from the same dialog. On a Teams workspace, **Share** invites a person to that drive. See [Teams and roles](https://docs.orbitfs.io/web/teams). **Copy private link** copies an address only someone who can already open the drive can follow. It still works after the file is renamed or moved. ## Version history Choose **Version history** from a file's row menu, or open its details panel. Each version shows when it was saved. **Restore** makes an old version current again by adding a new version with its contents. ## Deleted files **Deleted files**, in the drive's **⋯** menu, lists what has been deleted from the drive. Bring an item back from there. ## Activity **Activity** lists recent saves, grouped by who made them: a person, an agent, or an access key. **Undo** shows what it would change, then applies that change. A checkpoint is a named moment you can return to, which undoes everything changed in the drive since then. Someone who can only view the drive can read Activity and cannot undo. See [History and restore](https://docs.orbitfs.io/guides/history). ## Manage drives The menu on a drive in the sidebar has **Open in Finder** (on a Mac), **Activity**, and **Review changes** when the drive is a fork. Owners and admins also get **Share drive**, **Rename**, **Fork** and **Delete**. **Fork** creates a [fork](https://docs.orbitfs.io/guides/forks). The **+** next to Drives creates a drive. On a fork, **Compare with the original** opens the same review as **Review changes**. ## View only A **View only** label means nothing can be changed. That covers a person with view access, a workspace whose trial has ended, one that is over its storage limit, and one whose changes are paused. Files stay readable and downloadable. The last three link to **Plan and billing**. --- # Ask AI Source: https://docs.orbitfs.io/web/ask-ai Ask questions in the web and Mac apps, with optional read-only access to one drive and citations back to files. **Ask AI** is built into the web app and the Mac app. It can answer questions, help you find your way around Orbit, and — when you choose a drive — read that drive to answer questions about its files. ## Ask a question Open **Ask AI** in the sidebar, type a question, and send it. Answers stream in as they are written. **Try again** regenerates the last answer, and **Copy** copies it. Where more than one model is configured, the composer offers **Quality: Low** for a faster, cheaper answer and **High** for a harder question. You choose the quality, not a provider or model name. Ask AI can also put a button in its answer that opens a screen such as Drives, Uploads or Settings. Nothing opens until you click the button. ## Attach text Use the paperclip to attach one UTF-8 text file of up to **24 KiB**, or paste the text into your message. The text becomes part of the conversation when you send it. The original file is not uploaded to a drive. ## Let Ask AI read a drive File access is off until you choose a drive in the composer. Only drives you can open are offered — your own, your team's, or one shared with you as a guest — and Orbit checks that access again on every question. While a drive is selected, Ask AI can: - search file text for words or an exact phrase; - search with a regular expression; - find paths with a glob; - read a file's extracted text by line range, including PDF and DOCX files that have a text layer. It cannot create, change, move, share or delete anything. It cannot read images (there is no OCR or image understanding), search by meaning, or see another drive. An answer lists what it searched and read, with links to the file and line range it used. In the web app a citation opens the file in the drive browser. In the Mac app it selects the file in Finder without opening it. If the drive's search index is still catching up, the answer says the results may be incomplete. Turn file access off by choosing **No files** in the same control. Starting another chat or reloading the page starts with file access off. ## What is sent and what is stored With file access off, only the conversation and any attached text are sent to the model provider. With it on, the file paths, search hits and file text Ask AI uses while answering are sent to the provider as tool results. On the hosted service the provider is Azure OpenAI; Orbit sends it no provider key from your client and asks it not to store the conversation. File text is marked as untrusted data, so instructions written inside a file are not treated as instructions to Ask AI. The drive token used to read files never leaves Orbit's API. A saved conversation keeps your messages, the answers, navigation suggestions and citations. It does not keep file-tool results as separate records, although any file text the answer itself quotes is part of that answer. Attachments you sent are part of the saved conversation and are deleted with it. ## Conversations and limits Use the history menu to reopen a saved chat, start a new one, or delete one. Each account can keep **50** conversations. A conversation can use up to 40 messages and 256 KiB of serialized context; start another chat when one is full. Ask AI has a daily allowance per account. The composer warns when it is nearly spent and says when it resets. On the hosted service the default allowance is 50 requests and 100,000 tokens per UTC day. File-reading answers are further bounded to keep one answer from scanning a whole drive: at most 8 file tool calls, 12 KiB of file text per call and 48 KiB in total, with a 30-second total time limit. --- # Teams and roles Source: https://docs.orbitfs.io/web/teams Invite people to a workspace, choose what each can do, and remove access. ## Roles Each member of a workspace has one role. Roles build on each other. | Role | Can | | --- | --- | | Viewer | Open and download files. | | Member | Also add, change and delete files. | | Admin | Also manage drives, billing, members and viewers. | | Owner | Also add or remove admins and owners. | A workspace always keeps at least one owner. A role also caps the [access keys](https://docs.orbitfs.io/start/access-keys) a person can create: read only for viewers, read and write for members, full control for admins and owners. ## Invite someone Invitations need a Teams plan with a free seat. 1. Open **Members** in the sidebar. 2. Enter the person's email address and choose a role. 3. Send the invitation. The invitation reserves a seat and is valid for seven days. The recipient must sign in with the email address you invited, then accept. Revoke a pending invitation from the same page to release its seat. ## Change a role or remove a member Owners can change anyone's role. Admins can change members and viewers. Use the role menu next to a person's name under **Members**. Removing a member stops new access immediately. Apps that are already connected can keep working for up to 15 minutes. Files the person added stay in the workspace. ## Leave a workspace Open **Members**, find yourself, and choose to leave. The last owner can't leave. ## Share one drive **Share drive**, in a drive's sidebar menu, invites someone outside the workspace to that drive only. Choose **Can view** or **Can edit**. This needs a Teams plan, and each guest uses one seat. Invitations expire after seven days. On a personal workspace, sharing a file uses a [public link](https://docs.orbitfs.io/web/files#share) instead. --- # Plans and storage Source: https://docs.orbitfs.io/web/plans What is free, what counts toward storage, and what happens at the limit. Current prices are on the [pricing section](https://orbitfs.io/#pricing) of orbitfs.io. ## Plans | Plan | Storage | Seats | | --- | --- | --- | | Free | 5 GB | 1 | | Individual | 500 GB | 1 | | Teams | 1 TB per member, pooled across the workspace | 1 or more | Paid plans can add storage in 500 GB steps. An Individual workspace has one drive, plus any [forks](https://docs.orbitfs.io/guides/forks) of it. A Teams workspace can have many drives. ## Free storage A new account starts with 5 GB and needs no card. When you choose a plan, billing starts that day. Owners and admins manage the plan under **Plan and billing** in the sidebar: plan, seats, extra storage, invoices and payment method. ## What counts toward storage Storage is measured by the data a workspace's drives hold, not by the size of the files you see. | Counts | Doesn't count | | --- | --- | | Current files | Data a fork shares with its source | | Earlier versions of files | Identical blocks stored once within a drive and its forks | | Deleted files that are still recoverable | | A fork costs nothing when it is created and grows only as it diverges from its source. :::note Deleting a file doesn't free its space immediately, because the file stays recoverable. Deletion is not a guarantee of permanent erasure. Contact [hi@orbitfs.io](mailto:hi@orbitfs.io) for an erasure request. ::: ## At the storage limit Your files are safe. They stay readable and downloadable everywhere. Uploads and edits pause until you free space or add storage. Deleting files still works. S3 writes return `403 QuotaExceeded`. ## When a subscription ends The workspace returns to 5 GB of free storage. Files above that limit remain readable, and uploads are paused until the workspace is under the limit or on a paid plan again. --- # Connect a client Source: https://docs.orbitfs.io/s3/connect The endpoint, region and addressing settings for the AWS CLI, rclone, boto3 and the AWS SDKs. ## Settings | Setting | Value | | --- | --- | | Endpoint | `https://s3.orbitfs.io` | | Region | `auto` | | Addressing | Path style: `https://s3.orbitfs.io//` | | Signature | AWS Signature Version 4 | | Credentials | An [access key](https://docs.orbitfs.io/start/access-keys) ID and secret | | Bucket | A drive's name or its drive ID | A drive is a bucket. A file's path inside the drive is the object key, and a key ending in `/` is a folder. ## AWS CLI ```sh export AWS_ACCESS_KEY_ID=ULS... export AWS_SECRET_ACCESS_KEY=... export AWS_ENDPOINT_URL=https://s3.orbitfs.io export AWS_DEFAULT_REGION=auto aws s3 ls # drives aws s3 ls s3://my-drive/renders/ # a folder aws s3 cp ./scene.blend s3://my-drive/renders/scene.blend aws s3 sync ./renders s3://my-drive/renders ``` `AWS_ENDPOINT_URL` needs AWS CLI 2.13 or later. On older versions pass `--endpoint-url https://s3.orbitfs.io` to each command. To keep Orbit separate from your AWS account, use a named profile: ```sh aws configure set aws_access_key_id ULS... --profile orbit aws configure set aws_secret_access_key ... --profile orbit aws configure set region auto --profile orbit aws configure set endpoint_url https://s3.orbitfs.io --profile orbit aws configure set s3.addressing_style path --profile orbit aws --profile orbit s3 ls ``` ## rclone ```sh rclone config create orbit s3 provider=Other \ access_key_id=ULS... secret_access_key=... \ endpoint=https://s3.orbitfs.io region=auto force_path_style=true rclone lsd orbit: rclone sync ./renders orbit:my-drive/renders ``` ## Python (boto3) ```python import boto3 from botocore.config import Config s3 = boto3.client( "s3", endpoint_url="https://s3.orbitfs.io", region_name="auto", aws_access_key_id="ULS...", aws_secret_access_key="...", config=Config(s3={"addressing_style": "path"}), ) for drive in s3.list_buckets()["Buckets"]: print(drive["Name"]) s3.upload_file("scene.blend", "my-drive", "renders/scene.blend") head = s3.get_object(Bucket="my-drive", Key="renders/scene.blend", Range="bytes=0-1023") ``` ## JavaScript (AWS SDK v3) ```js import { S3Client, ListObjectsV2Command } from "@aws-sdk/client-s3"; const s3 = new S3Client({ endpoint: "https://s3.orbitfs.io", region: "auto", forcePathStyle: true, credentials: { accessKeyId: process.env.AWS_ACCESS_KEY_ID, secretAccessKey: process.env.AWS_SECRET_ACCESS_KEY, }, }); const { Contents } = await s3.send(new ListObjectsV2Command({ Bucket: "my-drive", Prefix: "renders/" })); ``` ## Large files A single `PutObject` can carry up to **95 MB**. Above that, use multipart upload. The AWS CLI, rclone and the SDK transfer helpers (`upload_file`, `Upload` in `@aws-sdk/lib-storage`) switch to multipart on their own, so most tools need no change. If you call `PutObject` directly with a larger body, the request fails. Use the transfer helper instead, or keep each part at or under 95 MB. ## Presigned URLs Presigned `GET` and `PUT` URLs work. Generate them with the same client configuration: ```sh aws s3 presign s3://my-drive/renders/scene.blend --expires-in 3600 ``` ## Errors Errors use the S3 XML format, and every response carries `x-amz-request-id`. Include that ID when you contact support. | Status and code | Usual cause | | --- | --- | | `403 InvalidAccessKeyId` | The key was mistyped or revoked. | | `403 SignatureDoesNotMatch` | The secret is wrong. | | `403 RequestTimeTooSkewed` | The clock on the machine sending the request is off. | | `403 AccessDenied` | The key's access level doesn't allow the operation. | | `403 QuotaExceeded` | The workspace is over its storage limit or its plan is inactive. Reads and deletes still work. | | `404 NoSuchBucket` | The drive doesn't exist, or the key isn't allowed to reach it. | | `412 PreconditionFailed` | An `If-Match` or `If-None-Match` condition didn't hold. Someone else changed the file. | | `413` | The body is over the size limit for the request. Use multipart for files over 95 MB. | | `501 NotImplemented` | The operation isn't supported. See [Supported operations](https://docs.orbitfs.io/s3/operations). | --- # Supported operations Source: https://docs.orbitfs.io/s3/operations Which S3 operations Orbit implements, how they behave, and what is not supported. Orbit implements the part of the S3 API that file tools use. Check this page before you rely on an operation that isn't listed. ## Drives (buckets) | Operation | Notes | | --- | --- | | ListBuckets | Lists the drives the key can reach. | | HeadBucket | | | CreateBucket | Creates a drive. Needs a full-control key. Can also [fork a drive](https://docs.orbitfs.io/guides/forks). | | DeleteBucket | Deletes a drive, including one that still has files. Needs a full-control key. | | GetBucketLocation | | | GetBucketVersioning | Always `Enabled`. Versioning can't be turned off. | ## Files (objects) | Operation | Notes | | --- | --- | | GetObject | One `Range` per request. Supports `versionId`, `If-Match`, `If-None-Match`, `If-Modified-Since`, `If-Unmodified-Since` and the `response-*` overrides. | | HeadObject | Same conditions as GetObject. | | PutObject | Up to 95 MB. Supports `If-Match`, `If-None-Match: *`, `Content-MD5` and `x-amz-checksum-*`. A key ending in `/` creates a folder. | | CopyObject | Within a drive, the copy shares the source's data. Across drives, the data is copied. Supports `x-amz-metadata-directive` and copying a specific `versionId`. | | DeleteObject | Removes the file. Its history is kept. | | DeleteObjects | Up to 1,000 keys per request. | ## Listing | Operation | Notes | | --- | --- | | ListObjectsV2 | `prefix`, `delimiter`, `max-keys` (up to 1,000), `continuation-token`, `start-after`, `encoding-type`. | | ListObjects (v1) | With `marker`. | | ListObjectVersions | `prefix`, `delimiter`, `key-marker`, `version-id-marker`. Includes delete markers. | ## Multipart upload | Operation | Notes | | --- | --- | | CreateMultipartUpload | | | UploadPart | Part numbers 1 to 10,000. Each part up to 95 MB. | | ListParts | | | CompleteMultipartUpload | | | AbortMultipartUpload | | | ListMultipartUploads | | Abandoned multipart uploads are not expired automatically. Abort uploads you don't intend to finish. ## Authentication | Method | Supported | | --- | --- | | Signature Version 4 in headers | Yes | | Presigned URLs | Yes | | `UNSIGNED-PAYLOAD` | Yes | | Streaming signed payloads (`aws-chunked`), with or without trailers | Yes | | Trailing checksums: CRC32, CRC32C, CRC64NVME, SHA-1, SHA-256 | Yes | | Signature Version 2 | No | ## Conditional writes `If-Match: ` writes only if the file is unchanged since you read it. `If-None-Match: *` writes only if the file doesn't exist. Both work on PutObject, CopyObject, DeleteObject and the [Orbit extensions](#orbit-extensions). When the condition fails you get `412 PreconditionFailed` and nothing is written. Use them whenever two writers might touch the same file. ## Orbit extensions These go beyond S3. Each is a normal signed request with an `x-uls-` query parameter or header, so any Signature Version 4 signer can send them. Every `x-uls-*` header you send must be included in the signature. | Extension | Request | Guide | | --- | --- | --- | | Write at an offset, truncate | `PUT //?x-uls-write` | [Edit files in place](https://docs.orbitfs.io/guides/edit-in-place) | | Apply many edits at once | `POST //?x-uls-patch` | [Edit files in place](https://docs.orbitfs.io/guides/edit-in-place) | | Insert or remove bytes | `PUT //?x-uls-splice` | [Edit files in place](https://docs.orbitfs.io/guides/edit-in-place) | | Rename a file or folder | `PUT //?x-uls-rename` | [Rename](#rename) | | List a file's versions | `GET //?x-uls-versions` | [History and restore](https://docs.orbitfs.io/guides/history) | | Read a file as of a time | `GET` with `x-uls-as-of` | [History and restore](https://docs.orbitfs.io/guides/history) | | Restore a version | `POST //?x-uls-restore&versionId=` | [History and restore](https://docs.orbitfs.io/guides/history) | | Fork a drive | `PUT /` with `x-uls-fork-source` | [Fork a drive](https://docs.orbitfs.io/guides/forks) | | Describe a drive | `GET /?x-uls-drive` | [Fork a drive](https://docs.orbitfs.io/guides/forks) | | Create a child key | `POST /_uls/keys` | [Access keys](https://docs.orbitfs.io/start/access-keys) | Every response includes `x-uls-protocol: 1`. ### Rename S3 has no rename, so tools copy and delete. Orbit renames in one step, and a folder rename takes the same time whatever it contains. ```http PUT /my-drive/final/scene.blend?x-uls-rename x-uls-source: drafts/scene.blend ``` `x-uls-source` is the current key, percent-encoded. To rename a folder, end both keys with `/`. The file keeps its history under the new name. ## Not supported These return `501 NotImplemented`: - Multi-range `GetObject` requests, and `GetObject` by `partNumber` - `UploadPartCopy`. The AWS CLI uses it to copy files larger than 8 MB. Raise the threshold with `aws configure set s3.multipart_threshold 5GB`, or copy with rclone. - Object and bucket ACLs - Object tagging - Lifecycle rules, CORS configuration, bucket policies - Object Lock, legal hold and retention - S3 Select - `DeleteObject` with a `versionId`. History is immutable. To go back, [restore a version](https://docs.orbitfs.io/guides/history). --- # Edit files in place Source: https://docs.orbitfs.io/guides/edit-in-place Change, insert or remove bytes inside a file by sending only those bytes. S3 replaces a whole object on every write. To change four bytes of a 64 GB file, a plain S3 client uploads 64 GB. Orbit's edit operations send the four bytes. The drive stores new blocks for the part that changed and reuses the rest. Each edit creates a new [version](https://docs.orbitfs.io/guides/history), so an edit can always be undone. | Operation | Use it to | File length | | --- | --- | --- | | [Write](#write-at-an-offset) | Overwrite bytes at an offset, or append | Grows if you write past the end | | [Truncate](#truncate-or-extend) | Set the length | Set exactly | | [Patch](#patch-many-ranges) | Overwrite many ranges in one atomic step | Grows if an edit goes past the end | | [Splice](#splice-insert-or-remove) | Insert or remove bytes, shifting what follows | Changes by inserted minus removed | ## Send an extension request Edit operations are ordinary Signature Version 4 requests with an `x-uls-` query parameter and headers. The AWS SDK clients have no method for them, so sign the request yourself. Every `x-uls-*` header must be part of the signature. This Python helper uses the signer that ships with boto3. The examples on this page and in the other guides call it. ```python import os import requests from botocore.auth import S3SigV4Auth from botocore.awsrequest import AWSRequest from botocore.credentials import Credentials ENDPOINT = "https://s3.orbitfs.io" credentials = Credentials( os.environ["AWS_ACCESS_KEY_ID"], os.environ["AWS_SECRET_ACCESS_KEY"], ) def orbit(method, path, headers=None, body=b""): """Send a signed request. `path` is //?.""" request = AWSRequest(method, ENDPOINT + path, data=body, headers=headers or {}) S3SigV4Auth(credentials, "s3", "auto").add_auth(request) signed = dict(request.headers) response = requests.request(method, request.url, data=body, headers=signed) response.raise_for_status() return response ``` Percent-encode the key in `path` as you would in any URL. ## Write at an offset ```http PUT //?x-uls-write x-uls-offset: Content-Length: ``` ```python # Overwrite 4 bytes at offset 1024. orbit("PUT", "/my-drive/data.bin?x-uls-write", {"x-uls-offset": "1024"}, b"\xde\xad\xbe\xef") ``` - The file is created if it doesn't exist. - Writing past the end extends the file. Any gap between the old end and the offset is filled with zeros. - To append, use the current size as the offset. The response to any write carries the new size in `x-uls-size`. ## Truncate or extend Add `x-uls-size` to a write to set the file's final length. With an empty body, this is a truncate: ```python # Cut the file to exactly 1 MiB. orbit("PUT", "/my-drive/data.bin?x-uls-write", {"x-uls-offset": "0", "x-uls-size": "1048576"}) ``` A size larger than the file extends it with zeros. ## Patch many ranges A patch applies up to 10,000 overwrites as one change. Either all of them land in a single new version, or none do. ```http POST //?x-uls-patch Content-Type: application/vnd.s3sdk.patch ``` The body is binary, with all integers big-endian: | Bytes | Content | | --- | --- | | 4 | The ASCII characters `S3SP` | | 4 | `01 00 00 00` | | 4 | Number of edits, 1 to 10,000 | | Then, per edit: 8 | Offset | | 8 | Length | | Length | The bytes to write | ```python import struct def patch_body(edits): """edits: a list of (offset, bytes).""" out = b"S3SP" + bytes([1, 0, 0, 0]) + struct.pack(">I", len(edits)) for offset, data in edits: out += struct.pack(">QQ", offset, len(data)) + data return out orbit( "POST", "/my-drive/table.db?x-uls-patch", {"Content-Type": "application/vnd.s3sdk.patch"}, patch_body([(0, b"HDR2"), (4096, b"\x00" * 16), (1 << 30, b"tail")]), ) ``` Edits apply in order, so a later edit wins where two overlap. Prefer one patch over many writes when a change touches several places: readers never see a half-applied state, and the drive records one version instead of many. ## Splice: insert or remove A write overwrites. A splice changes the file's length and shifts everything after the offset. ```http PUT //?x-uls-splice x-uls-offset: x-uls-remove: Content-Length: ``` ```python # Insert a line at offset 120 without removing anything. orbit("PUT", "/my-drive/notes.txt?x-uls-splice", {"x-uls-offset": "120"}, b"a new line\n") # Replace 5 bytes at offset 0 with 9 bytes. orbit("PUT", "/my-drive/notes.txt?x-uls-splice", {"x-uls-offset": "0", "x-uls-remove": "5"}, b"Chapter 1") # Remove 64 bytes at offset 200. orbit("PUT", "/my-drive/notes.txt?x-uls-splice", {"x-uls-offset": "200", "x-uls-remove": "64"}) ``` The file must exist, and the removed range must lie inside it. ## Responses A successful edit returns `200` with no body and these headers: | Header | Value | | --- | --- | | `ETag` | The file's new ETag | | `x-amz-version-id` | The version the edit created | | `x-uls-size` | The file's new length in bytes | ## Concurrent edits An edit is always applied to the version the drive held when your request arrived. If another writer changes the file while your edit is being applied, yours fails with `412 PreconditionFailed` and changes nothing. Read the file's current state and send the edit again. To make an edit conditional on what you last read, add `If-Match: `. ## Limits - The body of a write, patch or splice can be up to 64 MiB. - A patch holds 1 to 10,000 edits. - The key can't end in `/`. Folders have no bytes to edit. --- # Fork a drive Source: https://docs.orbitfs.io/guides/forks Make an independent copy of a drive in seconds, without copying any data. A fork is a new drive that starts with every file, folder and version the source held at the moment you forked. The two drives share stored data until one of them changes, so a fork of a 2 TB drive doesn't take 2 TB or the time to copy it. After the fork, the drives are independent. Nothing written to one appears in the other. ## When to fork - **An agent or script needs to write.** Give it a fork and a key limited to that fork. Your drive can't be damaged by a mistake. - **You want to try something destructive.** Run the batch rename or the migration on a fork first. - **Two people need diverging copies** of the same starting material. ## Fork from the web or Mac app In the web app, open the drive's menu in the sidebar and choose **Fork**. In the Mac app, choose **Fork…** from the drive's **…** menu. Name the copy. It appears in your drive list like any other drive. Forking needs the admin or owner role in the workspace. ## Fork over S3 Create a bucket and name the source in `x-uls-fork-source`. The key needs full control and must be able to reach the source. ```http PUT / x-uls-fork-source: ``` Using the `orbit()` helper from [Edit files in place](https://docs.orbitfs.io/guides/edit-in-place#send-an-extension-request): ```python response = orbit("PUT", "/footage-experiment", {"x-uls-fork-source": "footage"}) fork_id = response.headers["x-uls-drive-id"] print(fork_id, response.headers["x-uls-fork-point"]) ``` | Response header | Value | | --- | --- | | `x-uls-drive-id` | The new drive's ID | | `x-uls-fork-source-id` | The source drive's ID | | `x-uls-fork-point` | The moment the fork was taken, as an RFC 3339 timestamp | The fork contains every write the source had acknowledged before your request. It is in the same region as its source. ## Give the fork to an agent Create a [child key](https://docs.orbitfs.io/start/access-keys#child-keys) that can reach only the fork, and hand that to the agent in place of your own key: ```json { "drives": [""], "access": "write", "label": "agent-run-42" } ``` With that key, the agent can read and write the fork and sees no other drive. ## Keep or discard the result Review the fork like any drive: open it in Finder, browse it on the web, or list it over S3. - **To discard it**, delete the fork. The source is untouched. - **To keep some files**, copy them into the source. A copy between drives transfers the data: ```sh rclone copy orbit:footage-experiment/selects orbit:footage/selects ``` - **To keep everything**, merge the fork back, or use the fork as the drive from now on. ## Merge a fork back Merging brings the fork's changes into the drive it was made from, as one change you can undo. No data is copied: the source drive takes over the fork's stored blocks. In the web app, open the fork and choose **Review changes** in its sidebar menu, or **Compare with the original** on the fork itself. Orbit compares three states of every path the fork touched: the moment of the fork, the fork now, and the source now. Each change is marked: - **Ready to merge**: only the fork changed it. Merging applies it. - **Already in the original**: both drives ended up with the same content. Nothing to do. - **Conflicts**: both drives changed it differently. It is skipped unless you choose the copy's version for that file. The source's version stays in its history either way. Orbit does not combine two edits to the same file. A file both sides changed is a conflict, whatever its format. :::note **Coming soon.** Orbit does not ship a command-line tool. Review and merge in the web app, as above, or have a connected agent call `compare_fork` and `merge_fork`. `compare_fork` returns `fork_seq` and `source_seq`. Pass both to `merge_fork`, and call it with `dry_run: true` first. Conflicts are skipped unless `on_conflict` is `fork`. See [Review and undo](https://docs.orbitfs.io/guides/review-and-undo). ::: A merge fails without changing anything if either drive changed after the comparison you reviewed, so what you approve is what is merged. To take a merge back, open the source drive's [Activity](https://docs.orbitfs.io/guides/activity) and undo it; files someone changed afterwards are left alone. The same undo is the MCP tool `undo_changes`. ## Inspect a drive ```python info = orbit("GET", "/footage-experiment?x-uls-drive").json() ``` The response describes the drive: its `driveId`, name, creation time, the storage it uses on its own in `usageBytes`, and in `forkOf` the source and fork point if it is a fork. ## Storage and limits - A fork uses no storage when created. It is billed only for data written to it afterwards. See [what counts toward storage](https://docs.orbitfs.io/web/plans#what-counts-toward-storage). - A workspace can have up to 50 forks at a time. - You can fork a fork, up to 8 levels deep. - Forks don't count toward the Individual plan's one-drive limit. --- # History and restore Source: https://docs.orbitfs.io/guides/history See every version of a file, read the past, and bring an earlier version back. Every change to a file adds a version. Versions are immutable: nothing you do later alters one. That makes history a dependable undo, whether the change came from Finder, the web app, an S3 tool or an agent. ## In the web app - **See versions.** Choose **Version history** from a file's row menu, or open the file's details panel. - **Restore.** Choose **Restore** on a version. The file's contents become that version's contents. - **Bring back a deleted file.** Open **Deleted files** from the drive's **⋯** menu. - **Undo a stretch of work.** Open **Activity**. Each entry is the saves one person, agent or access key made together. **Undo** shows the files it would change before it changes them. - **Mark a moment.** **Create checkpoint** names the drive as it is now. **Return to this checkpoint** undoes everything changed since then, whoever changed it. Deleting a checkpoint removes only the name. The files and their history stay. ## How restore works Restoring doesn't rewind history. It adds a new version whose contents match the one you chose. The versions in between stay, so a restore can itself be undone. ```text v1 upload v2 edit v3 edit <- you restore v1 v4 restore of v1 <- current ``` ## List versions over S3 The standard call works with any client: ```sh aws s3api list-object-versions --bucket my-drive --prefix reports/q3.xlsx ``` For more detail about a single file, ask for its history as JSON. This uses the `orbit()` helper from [Edit files in place](https://docs.orbitfs.io/guides/edit-in-place#send-an-extension-request). ```python history = orbit("GET", "/my-drive/reports/q3.xlsx?x-uls-versions").json() ``` ```json { "key": "reports/q3.xlsx", "versions": [ { "versionId": "v_01jd2k...", "isLatest": false, "size": 48213, "etag": "\"9b2cf5...\"", "lastModified": "2026-11-27T09:14:02.000Z", "operation": "put", "restoredFrom": null }, { "versionId": "v_01jd4m...", "isLatest": true, "size": 48960, "etag": "\"4e17a0...\"", "lastModified": "2026-11-28T16:40:55.000Z", "operation": "write", "restoredFrom": null } ] } ``` Versions are listed oldest first. | `operation` | The version came from | | --- | --- | | `put` | An upload of the whole file | | `write` | An [in-place edit](https://docs.orbitfs.io/guides/edit-in-place), or a save from Finder | | `copy` | A copy from another file | | `restore` | A restore. `restoredFrom` names the version it copied. | ## Read an old version Pass a version ID to any `GetObject` or `HeadObject`: ```sh aws s3api get-object --bucket my-drive --key reports/q3.xlsx \ --version-id v_01jd2k... ./q3-before.xlsx ``` ## Read a file as of a time To read a file as it was at a moment, without looking up version IDs, send `x-uls-as-of` with an RFC 3339 timestamp: ```python old = orbit("GET", "/my-drive/reports/q3.xlsx", {"x-uls-as-of": "2026-11-27T12:00:00Z"}) ``` You get the version that was current at that time. If the file didn't exist then, or was deleted, the response is `404 NoSuchVersion`. Don't combine `x-uls-as-of` with `versionId`. ## Restore a version over S3 ```http POST //?x-uls-restore&versionId= ``` ```python response = orbit("POST", "/my-drive/reports/q3.xlsx?x-uls-restore&versionId=v_01jd2k...") print(response.headers["x-amz-version-id"]) # the new, current version ``` The response also carries `x-uls-restored-from` with the version you restored. Add `If-Match: ` to restore only if nobody has changed the file since you looked. ## What history doesn't do - **You can't delete a single version.** `DeleteObject` with a `versionId` returns `501`. - **History isn't a backup.** It lives in the same drive as the file. Keep an independent copy of data you can't afford to lose. - **Versions use storage.** Earlier versions and deleted files count toward the workspace's limit, though a version shares all the data it has in common with its neighbors. --- # Activity Source: https://docs.orbitfs.io/guides/activity See who changed an Orbit drive, undo a run or a merge, and return to a checkpoint from Activity. **Activity** in the web app is the list of recent saves on a drive, grouped by who made them. It is also where you undo a run or return to a checkpoint. The Mac app uses the same word for a different list: transfers in progress. This page is the web one. ## What a run is Open a drive's **⋯** menu and choose **Activity**. Each entry is the saves one person, one agent connection, or one access key made together. A merge and an undo show up as their own entries. Someone who can only view the drive can read Activity and cannot undo. The Mac window's **Activity** section is uploads and downloads, including a failed upload and its reason. Who changed a file, and undoing that change, is this web page, not the Mac list. See [Work in Finder](https://docs.orbitfs.io/mac/finder#activity). ## Undo a run or a merge **Undo** on an entry shows the files it would change, then applies that change. Undo does not erase history. It adds a new change, so the undo can itself be undone. - **Undo an agent run.** Choose **Undo** on that agent's entry. - **Undo a merge.** Open Activity on the original drive, not the fork, and undo the merge entry. Files someone changed after the merge are left alone. A connected agent with **Can edit** can do the same thing with the MCP tools `list_activity` and `undo_changes`. The names are the ones the server publishes. ## Return to a checkpoint A checkpoint is a named moment. **Create checkpoint** in Activity marks the drive as it is now. It copies nothing. **Return to this checkpoint** later undoes everything changed since then, whoever changed it. Deleting a checkpoint removes only the name. Files and history stay. For a broad change, a [fork](https://docs.orbitfs.io/guides/forks) is still the safer boundary. A checkpoint is for work you are doing on the original drive. The walkthrough is [Review and undo what an agent changed](https://docs.orbitfs.io/guides/review-and-undo). ## One file, not a whole run To bring one file back, use **Version history** on that file, not Activity. Restoring adds a new version with the older contents. A deleted file comes back from **Deleted files** in the drive's **⋯** menu. See [History and restore](https://docs.orbitfs.io/guides/history). --- # Connect Claude Code, Cursor and Codex to Orbit over MCP Source: https://docs.orbitfs.io/guides/agents Connect Claude Code, Cursor or Codex to Orbit's MCP server with OAuth. Pick drives and access, let agents work in a fork, merge only what you approve. **Let your agents loose on real files. Merge only what you approve.** Orbit has a remote MCP server at `https://mcp.orbitfs.io/mcp`. Claude Code, Codex, Cursor and other MCP clients use it to search, read and write drives without ever seeing an access key. You choose what the agent can reach on Orbit's consent page, and you can revoke the connection at any time. | | | | --- | --- | | Server URL | `https://mcp.orbitfs.io/mcp` | | Transport | Remote, Streamable HTTP | | Sign-in | OAuth, in your browser | | Connection name | `orbit` | | Install | Nothing. No package, plugin or local server | {#connect-an-agent} ## The one-line setup Open **Connect Agents** in the web app ([app.orbitfs.io/agents](https://app.orbitfs.io/agents)), copy the setup prompt, and paste it into your agent. Or paste this: ```text Read https://mcp.orbitfs.io/setup.md and follow it to connect this agent to Orbit. Start the sign-in yourself so my browser opens. ``` The agent reads Orbit's setup guide, adds the MCP connection for the client it is running in, and starts the sign-in. Your browser opens Orbit's page, "Allow an agent to use your files?". Check the access and press **Allow access**. The agent then checks the connection with `list_drives`, which is read-only. The setup guide keeps the client-specific steps current. If your installed client's `--help` differs from what is written here, follow the installed help. ## What you need - An Orbit account. Sign in at [app.orbitfs.io/login](https://app.orbitfs.io/login) with an emailed six-digit code or with Google. A new account gets a personal workspace, a first drive and 5 GB, with no card. - A client that supports remote MCP servers with Streamable HTTP and OAuth: Claude Code, Codex, Cursor, VS Code, the Claude desktop app or claude.ai, among others. You don't need the Mac app. MCP works from any machine your agent runs on. ## Set up by client ### Claude Code Add the connection for your user, so it works in every folder and later sessions: ```sh claude mcp add --scope user --transport http orbit 'https://mcp.orbitfs.io/mcp' ``` Then sign in. The command opens your browser and waits until you approve: ```sh claude mcp login orbit ``` It prints `Authenticated with "orbit"` when it is done. Inside a session you can also run `/mcp`, choose `orbit` and authenticate. If the session exposes an authenticate tool for this server, calling that starts the same sign-in. Use `--scope project` or `--scope local` only when you want Orbit in one project. A folder-only connection disappears when you open another folder. Working over SSH with no browser? Run `claude mcp login orbit --no-browser`, open the link it prints, and paste the address you land on back into it. ### Cursor Add Orbit to `~/.cursor/mcp.json`, or to `.cursor/mcp.json` in a project if you want it there alone. Keep the entries already in the file: ```json { "mcpServers": { "orbit": { "url": "https://mcp.orbitfs.io/mcp" } } } ``` Cursor cannot be signed in from a command. Open Cursor's MCP settings and press **Connect** (or **Needs login**) next to `orbit`. ### Codex ```sh codex mcp add orbit --url 'https://mcp.orbitfs.io/mcp' codex mcp login orbit ``` The login command opens your browser. Keep it running until you approve. Without the command line, use Codex **Settings → MCP servers → Add server**, choose Streamable HTTP, and enter the URL. ### VS Code ```sh code --add-mcp '{"name":"orbit","type":"http","url":"https://mcp.orbitfs.io/mcp"}' ``` Then start `orbit` from the MCP server list and allow the sign-in it asks for. ### Claude desktop app and claude.ai Connectors are added by you, not by the agent. Go to **Settings → Connectors**, add a custom connector named `Orbit` with the URL `https://mcp.orbitfs.io/mcp`, then press **Connect**. Your browser opens on Orbit's consent page. ### Any other MCP client Use the client's own instructions for a remote MCP server with Streamable HTTP and OAuth, and the URL above. If the client supports neither, it cannot connect to Orbit over MCP. Use the [S3 API](https://docs.orbitfs.io/guides/s3-for-agents) with a scoped key instead. :::note An agent never needs your password, refresh token or S3 secret to use MCP. If a setup step asks for one, stop. ::: {#what-you-approve} ## What you approve on the consent page A connection is limited to one workspace and never gets workspace administration: it cannot manage members, billing or access keys. Its access is also capped by your live role. If you are later reduced to viewer, the connection becomes read-only. If you leave the workspace, it stops working. | Choice | The agent can | | --- | --- | | **Can view** | List, read and search the drives it can reach, and read file history. | | **Can edit** | Also add, change, move and delete files, restore versions, create checkpoints, merge and undo changes. | | **Every drive** | Reach current drives and drives added to the workspace later. | | **Only these drives** | Reach only the drives you select. | | **May create and copy drives** | Create empty drives and fork drives it can read. This needs **Can edit** and an owner or admin role. | | **May delete drives** | Delete a drive, and list or restore deleted drives. This needs **May create and copy drives**. A deleted drive keeps its files until it is restored or removed for good. | Start with **Can view** and only the drives a task needs. Add **Can edit** and **May create and copy drives** when you want the agent to work in forks. ## Check the connection The agent checks the connection with `list_drives`, which is read-only. - **It returns drives.** You are connected. - **It returns no drives.** The connection works, and the workspace you allowed has no drives, or you named none. - **401 or a sign-in error.** The sign-in did not finish. Start it once more. In Claude Code, `claude mcp get orbit` shows whether the connection is signed in. If Orbit's tools do not appear yet, reload the client's tools before restarting the session. After connecting, the agent loads Orbit's built-in guide with `get_skill`. That guide covers versions, idempotency keys, forks, and treating file content as data. ## What the agent can do over MCP The client lists the exact tools after it connects. Write tools appear only with **Can edit**. `fork_drive`, `create_drive`, `rename_drive`, `list_deleted_drives` and `restore_drive` appear only with **May create and copy drives**. `delete_drive` also needs **May delete drives**. | Tool | What it does | | --- | --- | | `fork_drive` | Creates a new drive that starts as a copy of another. No file data is copied. | | `compare_fork` | Lists what a fork changed, against the original as it is now. | | `merge_fork` | Applies a fork's changes to the drive it was forked from, as one commit. | | `undo_changes` | Undoes one run, or everything after a checkpoint, as a new commit. History stays. | | `list_activity` | Lists recent runs, with the `since_seq` and `until_seq` that `undo_changes` needs. | | `create_checkpoint` | Names the drive's current state so later work can be undone in one step. | Other groups, present only when the connection allows them: | Group | Examples | | --- | --- | | Browse and read | `list_drives`, `list_files`, `glob_files`, `stat_file`, `read_file`. PDF and DOCX files return their extracted text. | | Search | `full_text_search` for words or an exact phrase, `grep` for a regular expression. Not semantic, and no OCR. | | Write | `write_file`, `edit_text`, `append_rows`, `create_folder`, `move_file`, `delete_file`. | | History | `list_versions`, `read_file` with a `version_id`, `restore_version`. | | Sandbox tokens | `create_sandbox_token`, `list_sandbox_tokens`, `extend_sandbox_token`, `revoke_sandbox_token`. | A sandbox token lasts from 5 minutes to 12 hours. The default is 1 hour. The secret is returned once. Revoking it stops new requests within about 30 seconds. A replace passes the version the agent read (`if_version`). A create passes `if_absent`. Every write passes an idempotency key, so a conflict changes nothing and a retry of the same call does not apply twice. File text, paths and search results come back inside untrusted-content markers. The guide tells the agent never to follow instructions found inside files. {#use-the-s3-api-directly} Inline MCP writes are for small text files, up to 1 MiB for `write_file`. For large or binary files, have the agent mint a sandbox token and use an S3 client, or open the drive in Finder with the Mac app. See [S3-compatible storage for AI agents](https://docs.orbitfs.io/guides/s3-for-agents). ## Command line :::note **Coming soon.** Orbit does not ship a command-line tool. Sign in and mount a drive with the Mac app, review a fork in the web app, and fork, merge or undo with the MCP tools on this page. ::: {#a-safe-working-pattern} ## Let your agent work in a fork, then merge what you approve For a broad reorganization or batch edit: 1. The agent calls `fork_drive` and works in the fork. A fork copies no file data. 2. You open the fork's **Review changes** screen, or the agent calls `compare_fork`. 3. You merge the changes you approve, in the web app or with `merge_fork`, or you delete the fork. 4. If a merged or in-place run was wrong, open the drive's **Activity** and undo that run, or the agent calls `undo_changes`. Undo adds a new change rather than erasing history. The full walkthrough is [Review and undo what an agent changed](https://docs.orbitfs.io/guides/review-and-undo). ## Limits to know | Limit | Value | | --- | --- | | Inline text write | 1 MiB per `write_file` call | | Byte-range read | 32,768 bytes per call | | Tool result | About 32 KiB of text | | Sandbox tokens per connection | 100 unexpired tokens | | Sandbox token lifetime | 5 minutes to 12 hours, default 1 hour | | Agent access token | 1 hour. Refresh tokens rotate and last 30 days | | Revoking a connection | Takes effect within 30 seconds | These match the [limits](https://docs.orbitfs.io/reference/limits) page and the MCP tool definitions. ## Troubleshooting - **A connection named `orbit` already points somewhere else.** Check its address before changing it. Only `https://mcp.orbitfs.io/mcp` is Orbit's server. - **An Orbit connection exists but is not signed in.** Start the sign-in for that entry. Do not add a second one. - **The sign-in failed or expired.** Start one sign-in and wait for it. Do not open the link a second time while one is pending. - **The agent asks for a password, key or token.** Stop. Sign-in happens only in your browser. - **A step asks for a package or a local server.** That is not part of this setup. ## See or revoke a connection Open [Connect Agents](https://app.orbitfs.io/agents). The page lists each connection's client, workspace, access, drives and last use. **Revoke connection** ends its access within 30 seconds, and the sandbox tokens that connection minted end with it. `/settings/agents` only redirects to `/agents`. ## FAQ ### Does the agent ever see my S3 keys? No. An MCP connection uses OAuth. It never needs your password, refresh token or S3 secret. A sandbox token is a separate, short-lived S3 key the agent can mint for a job, and that secret is shown once. ### Can an agent damage my files? Every change is saved as a new version, so you can restore the earlier one. For broad changes, have the agent call `fork_drive`, then review before `merge_fork`. A merge or a run can be undone with `undo_changes`. Keep independent backups of important work. ### Do I need a Mac? No. The Mac app needs macOS 14+ on Apple silicon. MCP and the S3 API work from any machine. ### Is search semantic? No. `full_text_search` finds words or an exact phrase, including the text of PDF and Word files. `grep` matches a regular expression. There is no OCR. ### Do agents cost a seat? The billing catalog prices plans per member and does not list a separate charge for an agent connection. It also does not say that a connection uses a seat. ### Can I point my agent at the docs? Yes. [llms-full.txt](https://docs.orbitfs.io/llms-full.txt) is every page in one file, and any docs URL plus `.md` is that page as Markdown. {#docs-for-your-coding-agent} ## Related - [Review and undo what an agent changed](https://docs.orbitfs.io/guides/review-and-undo) - [Fork a drive](https://docs.orbitfs.io/guides/forks) - [History and restore](https://docs.orbitfs.io/guides/history) - [Activity](https://docs.orbitfs.io/guides/activity) - [S3-compatible storage for AI agents](https://docs.orbitfs.io/guides/s3-for-agents) - [Access keys](https://docs.orbitfs.io/start/access-keys) - [Limits](https://docs.orbitfs.io/reference/limits) - [Quickstart](https://docs.orbitfs.io/start/quickstart) - [Orbit vs FlashDrive](https://orbitfs.io/blog/orbit-vs-flashdrive) --- # Fork and rollback for AI agent workspaces Source: https://docs.orbitfs.io/guides/fork-and-rollback Give an AI agent a fork of your drive, review what it changed, and roll back a file, a run or everything since a checkpoint. Every write is a version. **Every change an agent makes is a version. Every run can be taken back.** Orbit drives are versioned file storage. An AI agent, connected over MCP or S3, can work in a fork of a drive instead of the original. When it is done, you see what it added, changed and removed, and merge only what you approve. If something wrong already landed, you roll back one file, one run, or everything since a checkpoint, and nothing is erased on the way back. This page explains the pieces and when to use each. For the click-by-click workflow, see [Review and undo what your AI agent changed](https://docs.orbitfs.io/guides/review-and-undo). ## How fork and rollback work - **Every write adds a version.** An upload, a save from Finder, an in-place edit, a write from an agent: each one adds an immutable version. Nothing you do later alters a version. - **A fork is an instant copy of a drive.** It starts with every file, folder and version the source held at that moment. No file data is copied, so forking a large drive takes about as long as forking a small one. After that the two drives are independent. Nothing written to one appears in the other. - **A merge brings a fork back as one change.** Orbit compares the fork point, the fork now and the original now, and applies what only the fork changed. The original takes over the fork's stored blocks, so nothing is copied. - **Rollback adds a change. It never rewinds.** Restoring a version, undoing a run or returning to a checkpoint writes a new change with the earlier contents. The versions in between stay, so a rollback can itself be undone. ```text v1 upload v2 edit by agent v3 edit by agent <- you restore v1 v4 restore of v1 <- current ``` ## Pick the right rollback | What went wrong | Roll back with | Web app | MCP tool | | --- | --- | --- | --- | | An agent run you have not merged | Discard the fork | Delete the fork | — | | Part of a fork is good | Merge only that part | **Review changes** on the fork | `compare_fork`, then `merge_fork` with `paths` | | A merge you regret | Undo the merge | **Activity** on the original, **Undo** | `undo_changes` with the merge's run | | An agent changed the original in place | Undo that run | **Activity**, **Undo** on the run | `list_activity`, then `undo_changes` | | Everything since a known good moment | Return to a checkpoint | **Return to this checkpoint** | `undo_changes` with `checkpoint_id` | | One file is wrong | Restore a version | **Version history**, **Restore** | `list_versions`, then `restore_version` | | A file was deleted | Bring it back | **Deleted files** in the drive's **⋯** menu | `list_deleted_files`, `list_versions`, then `restore_version` with `if_absent: true` | An undo leaves alone any file someone changed after the run you are undoing, and lists it. **Undo** shows the files it would change before it changes them. ## Before the agent starts 1. **Connect the agent with the right access.** Follow [Connect an agent](https://docs.orbitfs.io/guides/agents) for Claude Code, Codex, Cursor or VS Code. On the consent page choose **Can edit**, **Only these drives**, and **May create and copy drives** so the agent can fork. Leave **May delete drives** off. Without permission to create and copy drives, `fork_drive` is not in the agent's tool list. 2. **Ask for a fork in the prompt**, or fork the drive yourself: in the web app open the drive's menu and choose **Fork**; in the Mac app choose **Fork…** from the drive's **…** menu. Forking needs the owner or admin role. 3. **Working in place instead?** Create a checkpoint first: **Create checkpoint** in Activity, or have the agent call `create_checkpoint`. It copies nothing and takes no storage. For broad changes, a fork is still safer. ## Fork, review and merge over MCP The agent works through these tools: 1. `fork_drive` creates the fork and returns its `drive_id`. The agent works only in the fork. 2. `compare_fork` lists every path the fork changed. Each entry is `clean` (merges as is), `same` (the original already has it) or `conflict` (both sides changed it differently), plus `fork_seq` and `source_seq`. 3. `merge_fork` with `dry_run: true` shows what would happen. Then `merge_fork` with the same `fork_seq` and `source_seq` applies it as one change. Clean changes are applied and conflicts are skipped unless you decide them. If either drive changed since the comparison, nothing merges. The fork itself is not changed or deleted. 4. If you don't want the result, delete the fork. The original is untouched. In the web app, the same comparison is **Review changes** on the fork, marked **Ready to merge**, **Already in the original** or **Conflicts**. :::note Orbit does not combine two edits to the same file. A file both sides changed is a conflict, whatever its format. You choose which version wins, and the other stays in history. ::: ## Undo AI agent file changes over MCP - `list_activity` lists recent runs on a drive, newest first. A run is one connection's saves with no long pause between them, from an agent connection, an access key, or a person's session. Each run has its `session`, `since_seq` and `until_seq`. Merges and undos are runs of their own. - `undo_changes` takes exactly one of `mine: true` (this connection's own changes), `session` with `since_seq` and `until_seq` (one run, by anyone), or `checkpoint_id` (everything after a checkpoint). Call it with `dry_run: true` first. - `list_versions` and `restore_version` bring back one file. `restore_version` makes an older version current as a new version. ## Fork and roll back from a script (S3) A drive is an S3 bucket. Fork with a full-control key by naming the source in `x-uls-fork-source`: ```http PUT / x-uls-fork-source: ``` The response carries `x-uls-drive-id` (the fork), `x-uls-fork-source-id` and `x-uls-fork-point`. Give the job a [child key](https://docs.orbitfs.io/start/access-keys#child-keys) that reaches only the fork: ```json { "drives": [""], "access": "write", "label": "agent-run-42" } ``` To roll back one file over S3, restore a version. Add `If-Match: ` to restore only if nobody changed the file since you looked: ```http POST //?x-uls-restore&versionId= ``` To read a file as it was at a moment, send `x-uls-as-of` with an RFC 3339 timestamp. See [History and restore](https://docs.orbitfs.io/guides/history) and [S3 for agents](https://docs.orbitfs.io/guides/s3-for-agents). :::note **Coming soon.** Orbit does not ship a command-line tool. Review in the web app, or have the agent call `compare_fork` and `merge_fork`. ::: ## Limits and what this does not do - A workspace can have up to 50 forks at a time, up to 8 levels deep. Forks don't count toward the Individual plan's one-drive limit. - A fork uses no storage when created. It is billed only for data written to it afterwards. Earlier versions and deleted files count toward storage, though a version shares the data it has in common with its neighbors. - You can't delete a single version. `DeleteObject` with a `versionId` returns `501`. - History is not a backup. It lives in the same drive. Keep an independent copy of data you can't afford to lose. - Revoking an agent connection takes effect within 30 seconds. ## FAQ ### What is versioned file storage with fork and rollback? Storage where every write adds a version you can return to, and a whole drive can be copied instantly as a fork. In Orbit, an AI agent works in a fork, you review and merge what you approve, and you can roll back a file, a run or everything since a checkpoint. ### How do I undo an AI agent's file changes? Open **Activity** on the drive and choose **Undo** on the agent's run. It shows the files it would change first. From the agent itself, `undo_changes` does the same. The undo is a new change, so it can be undone too. ### Does forking a drive copy all the data? No. A fork shares stored data with its source until one of them changes, so it uses no storage when created and takes about as long for a large drive as a small one. ### Is my original drive safe while an agent works in a fork? Yes. Nothing written to the fork appears in the original until you merge, and you can delete the fork to throw the work away. ### Which agents can fork and roll back? Any MCP client connected to Orbit with **Can edit** and **May create and copy drives**, including Claude Code, Codex, Cursor and VS Code. Scripts and workers can do the same over S3 with a key limited to the fork. ### What happens when the agent and a person changed the same file? The comparison marks it as a conflict and the merge skips it unless you choose the fork's version. The original's version stays in history either way. ### How much does it cost? Plans are priced per member and include storage. The billing catalog does not list a separate charge for an agent connection, and it does not say a connection uses a seat. Free includes 5 GB, Individual 500 GB, and Teams 1 TB per member. A fork costs nothing when created and grows only as it diverges. Earlier versions and recoverable deleted files count toward storage. See [Plans and storage](https://docs.orbitfs.io/web/plans). ## Related - [Review and undo what your AI agent changed](https://docs.orbitfs.io/guides/review-and-undo) - [Connect an agent over MCP](https://docs.orbitfs.io/guides/agents) - [S3-compatible storage for AI agents](https://docs.orbitfs.io/guides/s3-for-agents) - [Fork a drive](https://docs.orbitfs.io/guides/forks) - [History and restore](https://docs.orbitfs.io/guides/history) - [Activity](https://docs.orbitfs.io/guides/activity) - [Orbit vs FlashDrive](https://orbitfs.io/blog/orbit-vs-flashdrive) - [Pricing](https://orbitfs.io/pricing) --- # Review and undo what your AI agent changed Source: https://docs.orbitfs.io/guides/review-and-undo Let Claude Code, Codex or Cursor work in a fork of your drive, review exactly what changed, merge only what you approve, and undo a whole run in one step. **Let your agents loose on real files. Merge only what you approve.** An agent can rename a hundred files or rewrite every document, and it can get one of those changes wrong. In Orbit it can do that work in a fork. You see what it added, changed and removed, merge the parts you approve, and take back a whole run if it was wrong. Which kind of rollback fits which mistake is in [Fork and rollback](https://docs.orbitfs.io/guides/fork-and-rollback). ## How it works in one minute 1. The agent calls `fork_drive` and works in the fork. A fork copies no file data. 2. You open **Review changes**, or the agent calls `compare_fork`. 3. You merge what you approve, or you delete the fork. 4. If a merged or in-place run was wrong, undo it from **Activity**, or the agent calls `undo_changes`. Undo adds a new change. It does not erase history. The MCP names `fork_drive`, `compare_fork`, `merge_fork` and `undo_changes` are the tool names the server publishes. `compare_fork` is how the agent reads the same comparison you see in Review changes. ## Give the agent the right access Connect the agent with [the MCP setup](https://docs.orbitfs.io/guides/agents). On the consent page: | Choice | Why | | --- | --- | | **Can edit** | Change files, restore versions, create checkpoints, merge and undo. | | **May create and copy drives** | Call `fork_drive`. This needs **Can edit** and an owner or admin role. | | **Only these drives** | Limit the agent to the drives the task needs. | Leave **May delete drives** off unless the task needs it. Without **May create and copy drives**, `fork_drive` is not in the tool list. ## Have the agent fork the drive Ask for the fork in the prompt, or fork it yourself. In the web app, open the drive's menu and choose **Fork**. In the Mac app, choose **Fork…** from the drive's **…** menu. Forking in the apps needs the owner or admin role. A fork starts with every file, folder and version the source held at that moment. After that the two drives are independent. Nothing written to one appears in the other. ## Review the changes In the web app, open the fork and choose **Review changes**, or **Compare with the original**. Orbit compares three states of every path the fork touched: the fork point, the fork now, and the original now. | Mark | Meaning | | --- | --- | | **Ready to merge** | Only the fork changed it. Merging applies it. | | **Already in the original** | Both drives ended with the same content. Nothing to do. | | **Conflicts** | Both drives changed it differently. It is skipped unless you choose the fork's version for that file. The original's version stays in its history. | Orbit does not combine two edits to the same file. A file both sides changed is a conflict, whatever its format. `compare_fork` returns the same split. Each entry is `clean`, `same` or `conflict`, plus `fork_seq` and `source_seq`. Pass those two numbers to `merge_fork` so a drive that moved after the comparison stops the merge. ## Merge what you approve, or throw the fork away - **Merge.** The fork's changes land on the original as one change you can undo. No file data is copied. The original takes over the fork's stored blocks. If either drive changed after the comparison you reviewed, the merge fails and changes nothing. - **Keep some files.** Copy them into the original with any S3 client, for example rclone between the two drives. - **Discard.** Delete the fork. The original is untouched. `merge_fork` does this from the agent. Call it with `dry_run: true` first. Conflicts are skipped unless `on_conflict` is `fork`, and that option is for paths you have already decided. The fork itself is not changed or deleted. ## Undo a merge or a whole run Open **Activity** on the drive that changed. It lists recent saves grouped by person, agent connection, or access key. See [Activity](https://docs.orbitfs.io/guides/activity). - **Undo a run.** **Undo** on that entry shows the files it would change, then applies the change. - **Undo a merge.** Undo the merge entry on the original drive. Files someone changed afterwards are left alone. Undo adds a new change. It does not rewind history, so the undo can be undone too. A viewer can read Activity and cannot undo. Over MCP, `list_activity` returns each run's `session`, `since_seq` and `until_seq`. `undo_changes` takes exactly one of: `mine: true` for this connection's own changes, `session` with those sequence numbers for one run, or `checkpoint_id` for everything after a checkpoint. `dry_run: true` changes nothing. ## Mark a checkpoint before a big job A checkpoint names the drive as it is now. Create one in Activity, or have the agent call `create_checkpoint`, before in-place work. Returning to it undoes everything changed since, whoever changed it. Deleting a checkpoint removes the name only. For a broad change, `fork_drive` is still safer than a checkpoint on the original. ## Restore a single file **Version history** on a file, then **Restore**, adds a new version with the old contents. The versions in between stay. A deleted file comes back from **Deleted files** in the drive's **⋯** menu. Over S3, `POST //?x-uls-restore&versionId=` does the same, and `x-uls-as-of` reads a file at an RFC 3339 time. See [History and restore](https://docs.orbitfs.io/guides/history). ## From a script Fork with a full-control key, then give the job a child key that reaches only the fork: ```http PUT /specs-agent x-uls-fork-source: specs ``` ```json { "drives": [""], "access": "write", "label": "agent-run-42" } ``` :::note **Coming soon.** Orbit does not ship a command-line tool. Review in the web app, or have the agent call `compare_fork`, `merge_fork` and `undo_changes`. On a Mac, open the fork in Finder. ::: ## What this does not do - It does not merge two edits into one file. If both sides changed a file, you pick a version. - History is not a backup. It lives in the same drive. Keep an independent copy of data you cannot lose. - You cannot delete one version. `DeleteObject` with a `versionId` returns `501`. - Versions and deleted files count toward storage. A version shares the bytes it has in common with its neighbors. A fork uses no storage until it diverges. - A workspace can have 50 forks at a time, 8 levels deep. Forks do not count toward the Individual plan's one-drive limit. ## FAQ ### Does this work with Claude Code, Codex and Cursor? Yes, when the connection has **Can edit** and **May create and copy drives**. Those are the tools `fork_drive`, `compare_fork`, `merge_fork`, `create_checkpoint` and `undo_changes`. Without permission to create drives, `fork_drive` is not offered. ### Can I review in a terminal? **Coming soon.** There is no command-line tool to install. Review in the web app, have the connected agent call `compare_fork`, or open the fork in Finder on a Mac. ### The agent already edited the original. Every save is still a version. Undo that run from **Activity**, or restore files from **Version history**. ### Is the original safe while the agent uses a fork? Yes. A write to the fork does not appear on the original until you merge. ## Related - [Fork and rollback](https://docs.orbitfs.io/guides/fork-and-rollback) - [Fork a drive](https://docs.orbitfs.io/guides/forks) - [History and restore](https://docs.orbitfs.io/guides/history) - [Activity](https://docs.orbitfs.io/guides/activity) - [Browse and upload](https://docs.orbitfs.io/web/files) - [Connect an agent](https://docs.orbitfs.io/guides/agents) - [S3 for agents](https://docs.orbitfs.io/guides/s3-for-agents) --- # S3-compatible storage for AI agents Source: https://docs.orbitfs.io/guides/s3-for-agents Point boto3, the AWS CLI or rclone at Orbit and give each agent a scoped, expiring key. Every write is a version, and a fork keeps mistakes off the main. **Let your agents loose on real files. Merge only what you approve.** Orbit is a cloud drive with an S3-compatible endpoint at `https://s3.orbitfs.io`. A drive is a bucket, so the AWS CLI, rclone, boto3 and the AWS SDKs work after you change the endpoint. The same drive is open to coding agents over [MCP](https://docs.orbitfs.io/guides/agents), to people in the web app, and in Finder on a Mac. What a plain bucket does not do: every write is a version you can restore, a drive can be forked without copying data, and a key can be limited to one folder and set to expire. ## Why agents write to Orbit over S3 - **Use the tools you already have.** Scripts and workers that speak S3 need a new endpoint and path-style addressing. - **A write is a version.** `GetBucketVersioning` is always `Enabled`. Versioning cannot be turned off. Restoring adds a new version, so a restore can be undone too. See [Supported operations](https://docs.orbitfs.io/s3/operations). - **Least access.** A key can be read-only, limited to some drives or one folder, set to expire, and barred from changing agent instruction files. - **A fork is the boundary.** Give the job a fork and a key that reaches only that fork. Review the result, then merge what you approve. - **Large files.** Orbit's `x-uls-` extensions write at an offset or patch ranges, sending the bytes that changed. A plain `PutObject` still replaces the whole object. MCP is the path when the agent can use a remote server and should not hold a key. S3 is the path for batch jobs, workers, CI, and large or binary files. ## Connection settings | Setting | Value | | --- | --- | | Endpoint | `https://s3.orbitfs.io` | | Region | `auto` | | Addressing | Path style: `https://s3.orbitfs.io//` | | Signature | AWS Signature Version 4 | | Credentials | An access key ID and secret | | Bucket | A drive's name or its drive ID | A file's path inside the drive is the object key. A key ending in `/` is a folder. Create a key from **Access keys** in the web app. The secret is shown once. ## Connect your tools ### AWS CLI ```sh export AWS_ACCESS_KEY_ID=ULS... export AWS_SECRET_ACCESS_KEY=... export AWS_ENDPOINT_URL=https://s3.orbitfs.io export AWS_DEFAULT_REGION=auto aws s3 ls aws s3 cp ./scene.blend s3://my-drive/renders/scene.blend ``` `AWS_ENDPOINT_URL` needs AWS CLI 2.13 or later. On older versions, pass `--endpoint-url https://s3.orbitfs.io` on each command. To keep Orbit off your AWS account, use a named profile and set `s3.addressing_style` to `path`, as in [Connect a client](https://docs.orbitfs.io/s3/connect). :::warning The AWS CLI uses `UploadPartCopy` to copy objects larger than 8 MB between keys, and Orbit does not implement `UploadPartCopy`. Raise the threshold with `aws configure set s3.multipart_threshold 5GB`, or copy with rclone. ::: ### boto3 ```python import boto3 from botocore.config import Config s3 = boto3.client( "s3", endpoint_url="https://s3.orbitfs.io", region_name="auto", config=Config(s3={"addressing_style": "path"}), ) s3.upload_file("scene.blend", "my-drive", "renders/scene.blend") ``` The client reads `AWS_ACCESS_KEY_ID` and `AWS_SECRET_ACCESS_KEY`. `upload_file` uses multipart above the SDK default. A single `put_object` body must be at most 95 MB. ### rclone ```sh rclone config create orbit s3 provider=Other \ access_key_id=ULS... secret_access_key=... \ endpoint=https://s3.orbitfs.io region=auto force_path_style=true rclone lsd orbit: rclone copy ./renders orbit:my-drive/renders ``` ### AWS SDK for JavaScript v3 ```js import { S3Client, ListObjectsV2Command } from "@aws-sdk/client-s3"; const s3 = new S3Client({ endpoint: "https://s3.orbitfs.io", region: "auto", forcePathStyle: true, }); ``` Pass `credentials` from the environment when the process does not already have them. `forcePathStyle: true` is required. ## Give each agent its own key Give each machine or job its own key, so revoking one does not stop the others. Put keys in environment variables or a secret manager, not in source code or a prompt. ### Access levels | Level | Allows | | --- | --- | | Read only | List and download files. | | Read and write | Also upload, change and delete files. | | Full control | Also create, fork and delete drives. | A key cannot do more than the person who created it. It reaches every drive in the workspace unless you select drives. A request for any other drive gets `NoSuchBucket`. ### Expiry, folder scope and protected instruction files | Option | Effect | | --- | --- | | Expiry | The key stops at the time you set, up to 30 days ahead. | | Folder scope | The key reaches one folder of one drive. | | Protect instruction files | The key can read but not change files such as `CLAUDE.md`, `AGENTS.md`, `.claude/` and `.git/hooks`. | ### Child keys A program that holds a key can create a narrower key without a person signing in. A child can have the same access or less, and the same drives or fewer. It cannot outlive, widen, or remove a guard on its parent. Revoking a key revokes every key created from it. The request is a signed `POST` to `https://s3.orbitfs.io/_uls/keys`. The body fields are `drives` (required), `access` (`read`, `write` or `admin`), `label`, `expiresIn` (60 to 2,592,000 seconds), `prefix` (one folder, and not with `admin`), and `protectInstructions`. The response is `201` with a `secretAccessKey` that is not shown again. The full request is in [Access keys](https://docs.orbitfs.io/start/access-keys#child-keys). ### Sandbox tokens from an MCP agent An agent connected over MCP can call `create_sandbox_token` to mint a short-lived S3 key for one drive or one folder, then `list_sandbox_tokens`, `extend_sandbox_token` and `revoke_sandbox_token`. You do not hand it your own key. The token lasts from 5 minutes to 12 hours. The default is 1 hour. A connection can hold 100 unexpired tokens. Revoking the token stops new requests within about 30 seconds, and revoking the connection revokes its tokens. The secret is returned once. ## Let the agent write to a fork A fork starts with every file, folder and version the source held, and copies no file data. A full-control key creates one with: ```http PUT / x-uls-fork-source: ``` The response headers are `x-uls-drive-id`, `x-uls-fork-source-id` and `x-uls-fork-point`. Mint a child key that reaches only that drive id, with `"access": "write"`. The source stays unchanged until you merge. See [Fork a drive](https://docs.orbitfs.io/guides/forks) and [Review and undo](https://docs.orbitfs.io/guides/review-and-undo). A workspace can have 50 forks at a time, up to 8 levels deep. A fork uses no storage until something is written to it. ## Two writers, one file `If-Match` writes only if the object is unchanged since you read it. `If-None-Match: *` writes only if it does not exist. Both are documented on `PutObject`, `CopyObject`, `DeleteObject` and the `x-uls-` extensions. A failed condition is `412 PreconditionFailed` and writes nothing. ```python obj = s3.get_object(Bucket="my-drive", Key="handoff/plan.md") s3.put_object( Bucket="my-drive", Key="handoff/plan.md", Body=new_text, IfMatch=obj["ETag"], ) ``` A drive has one authority that orders every change, so of two conditional writes racing on one file, one wins and the other gets `412`. ## Change part of a file | Extension | Request | | --- | --- | | Write at an offset, or truncate | `PUT //?x-uls-write` | | Many edits in one version, up to 10,000 | `POST //?x-uls-patch` | | Insert or remove bytes | `PUT //?x-uls-splice` | | Rename in one step | `PUT //?x-uls-rename` | Every `x-uls-*` header must be part of the signature. The AWS SDK has no method for these. [Edit files in place](https://docs.orbitfs.io/guides/edit-in-place) has a signer that uses botocore. ## Read the past `ListObjectVersions` and `GetObject` with `versionId` read history. `x-uls-as-of` with an RFC 3339 timestamp reads a file as of a moment. `POST //?x-uls-restore&versionId=` adds a new version with the old contents. `DeleteObject` with a `versionId` returns `501`. History is not a backup. Keep a copy of data you cannot lose. ## What is not implemented `UploadPartCopy`, multi-range `GetObject`, object and bucket ACLs, object tagging, lifecycle, CORS, bucket policies, Object Lock, S3 Select, and Signature Version 2 return `501`. The full list is [Supported operations](https://docs.orbitfs.io/s3/operations). Abandoned multipart uploads are not expired for you. Abort the ones you do not mean to finish. ## Limits | Limit | Value | | --- | --- | | Largest file | 5 TiB | | Single `PutObject` body | 95 MB | | Multipart part / part count | 95 MB / 10,000 | | Write, patch or splice body | 64 MiB | | Keys per `DeleteObjects` | 1,000 | | Ranges per `GetObject` | 1 | | Revoking a key | Within 30 seconds at the S3 endpoint | At the storage limit, writes return `403 QuotaExceeded`. Reads and deletes still work. ## FAQ ### Does existing S3 code work? If it uses path-style addressing and the operations above, change the endpoint to `https://s3.orbitfs.io` and the region to `auto`. ### Can versioning be turned off? No. `GetBucketVersioning` is always `Enabled`. Versions count toward storage. A version shares the bytes it has in common with its neighbors. ### How do I stop a job editing its own instructions? Turn on **Protect instruction files**, or set `"protectInstructions": true` on a child key. ### Is there an Orbit SDK or CLI? **Coming soon.** Neither is released. Use any S3 client. The Mac app puts a drive in Finder. ## Related - [Connect a client](https://docs.orbitfs.io/s3/connect) - [Supported operations](https://docs.orbitfs.io/s3/operations) - [Access keys](https://docs.orbitfs.io/start/access-keys) - [Fork a drive](https://docs.orbitfs.io/guides/forks) - [Edit files in place](https://docs.orbitfs.io/guides/edit-in-place) - [History and restore](https://docs.orbitfs.io/guides/history) - [Connect an agent](https://docs.orbitfs.io/guides/agents) - [Review and undo](https://docs.orbitfs.io/guides/review-and-undo) - [Limits](https://docs.orbitfs.io/reference/limits) --- # Limits Source: https://docs.orbitfs.io/reference/limits Size, count and timing limits across the S3 API, the web app and the Mac app. ## Files and drives | Limit | Value | | --- | --- | | Largest file | 5 TiB | | Key (path) length | 1,024 bytes | | Drive name | 3 to 63 characters: lowercase letters, digits, hyphens | | Forks per workspace | 50 at a time | | Fork depth | 8 levels | | Drives on the Individual plan | 1, plus forks | ## S3 API | Limit | Value | | --- | --- | | Single `PutObject` body | 95 MB | | Multipart part size | Up to 95 MB | | Parts per multipart upload | 10,000 | | Write, patch or splice body | 64 MiB | | Edits per patch | 10,000 | | Keys per `DeleteObjects` request | 1,000 | | Keys per list page | 1,000 | | Ranges per `GetObject` | 1 | ## Web app | Limit | Value | | --- | --- | | Upload, per file | 3 GiB | | Download, per file | 512 MiB | | Edit in the browser | Markdown and CSV, up to 1 MiB | | Public upload request | One file, up to 16 MiB | | Search query | At least 3 characters to search the whole drive | Use the Mac app or an S3 client for files beyond the web limits. ## Mac app | Limit | Value | | --- | --- | | macOS version | macOS 14+ on Apple silicon | | Space for opened files | 20 GB by default. Change it in **Settings → Drives & Storage**. | ## MCP and agents | Limit | Value | | --- | --- | | Inline text write | 1 MiB per call | | Byte range read | 32,768 bytes per call | | Tool result | About 32 KiB of text | | Sandbox tokens per agent connection | 100 unexpired tokens | | Agent access-token lifetime | 1 hour; refresh tokens rotate and last 30 days | ## Access and timing | Event | Takes effect | | --- | --- | | Revoking an access key or agent connection | Within 30 seconds | | Removing a member | New access stops immediately. Connected apps can continue for up to 15 minutes. | | Workspace or drive invitation | Expires after 7 days | | Public link | Expires after 7 days | | Presigned URL | Expires when you set it to | ## Storage Storage limits depend on your plan. See [Plans and storage](https://docs.orbitfs.io/web/plans). --- # How it works Source: https://docs.orbitfs.io/reference/how-it-works What happens to a file between your app and Orbit's storage, and why the design makes large files fast. You don't need this page to use Orbit. It explains the behavior the other pages describe. ## Two services Orbit separates deciding who you are from moving your files. | Service | Does | | --- | --- | | Control plane | Accounts, sign-in, workspaces, members, access keys, billing | | Data plane | Stores and serves file data, one drive at a time | A client signs in with the control plane and asks it for a short-lived token for one drive. From then on the client talks to the data plane directly. File reads and writes don't pass through the control plane. S3 requests arrive at `s3.orbitfs.io`, which checks the request's signature against your access key and then uses the data plane like any other client. MCP requests arrive at `mcp.orbitfs.io`, which resolves the agent connection with the control plane and then uses the data plane with a short-lived drive token. The MCP server never holds the signing key or an S3 secret. ## One authority per drive Each drive has its own small database that holds the folder tree, every version, and a log of changes. All changes to a drive go through it, one at a time. That gives each drive a single order of events: - A read after a write sees the write. - Of two conditional writes to the same file, exactly one succeeds. - A change is either fully recorded or not at all. Because the authority is per drive, one busy drive doesn't slow another. ## Blocks File data is kept apart from the tree, as blocks. When a file is stored, it is cut into blocks averaging 2 MiB, with a minimum of 256 KiB and a maximum of 16 MiB. The cut points are chosen from the content, using FastCDC. Each block is named by its SHA-256 hash and never changes once written. A version of a file is a list of block names and lengths. ```text version 1 [ a3f1 ][ 77c0 ][ 0be9 ][ d412 ] version 2 [ a3f1 ][ 91aa ][ 0be9 ][ d412 ] one block replaced ``` Content-chosen boundaries matter when bytes are inserted. With fixed-size blocks, an insertion near the start would shift every later block and change all of their hashes. With content-chosen boundaries, the cut points move with the content, so only the blocks near the insertion are new. ## What that buys **Opening a large file is fast.** The Mac app maps the bytes an app asks for onto blocks and fetches those. Blocks it has fetched are verified against their hash and kept in the local cache. A cached block can't be stale, because its name is its content. **Saving is fast.** The Mac app records a save on local disk first, so the app you're working in gets its answer at local speed. Orbit then cuts new blocks around the changed ranges, uploads the ones the drive doesn't have, and commits a version that lists the new and the reused blocks. **Edits over S3 are small.** A [write, patch or splice](https://docs.orbitfs.io/guides/edit-in-place) loads the list of blocks, fetches only those the edit overlaps, and commits a new list that reuses the others. **Forks are free.** A [fork](https://docs.orbitfs.io/guides/forks) copies the source's tree and version records, not its blocks. Both drives point at the same blocks until one writes something new. ## Conflicts Every commit names the version it was based on. If the file has moved on since, the commit is refused. - Over S3, the caller receives `412 PreconditionFailed` and decides what to do. - In Finder, Orbit keeps the newer remote version in place and saves yours beside it as a [conflict copy](https://docs.orbitfs.io/mac/finder#when-two-people-save-the-same-file). No write is silently discarded in either case. ## Content search Beside the file tree, each drive has a content index that follows its change log. It extracts UTF-8 text and the text layer of PDF and DOCX files, so connected agents can search words, phrases and regular expressions and read the result by line. The index is derived data: it never changes the files, and a result is checked against the file's current version before it is returned. Scanned images and PDFs have no OCR and are not read. ## Live updates The Mac app keeps a connection open to each drive in Finder. When someone else changes a file, the drive sends the change, and Finder refreshes. After sleep or a network change, the app resumes from the last change it saw. ## Access tokens | Credential | Lifetime | Held by | | --- | --- | --- | | Session access token | 15 minutes | The app, in memory | | Refresh token | Rotates on each use | The Mac app keeps it in the macOS Keychain | | Drive token | 15 minutes | The app, in memory | | Access key | Until revoked | You | Short lifetimes are why removing a member or lowering a role takes full effect within 15 minutes. ## Where data lives File blocks are stored in Cloudflare R2, and each drive's authority runs on Cloudflare's network. Data is encrypted in transit with TLS and at rest by the storage provider.