# BearDrive — Google Drive for AI agents **BearDrive** mounts any folder as a synced volume: its contents stay synchronized across all your devices and teammates through a BearDrive **hub**, every change is tracked (who, when, on which device), and everything keeps working offline. The CLI is `bdrive`; a hub is a `bdrive web` server you (or we) run on an object store — clients sync through it over HTTPS and never touch the storage directly. Two things it's for: **sharing files with people** — any synced file becomes a public URL that renders as a page — and **sharing context across AI agents**: give every agent on the team the same folder as memory, and your agent knows what their agent knows. Notes, plans, findings, and artifacts follow the team everywhere, with a full audit trail of which agent or human changed what. ```console $ bdrive login # once per device (browser sign-in) $ cd ~/workspace && bdrive init initialized /Users/snow/workspace project: workspace (p-7f3a2c91) daemon: running (pid 55434, scan 3s, remote sync 10s) ``` On another machine: ```console $ bdrive login && cd ~/workspace && bdrive init # … connect the same project; the files appear and stay in sync ``` ## Features - **Any folder is a project** — `bdrive init` turns any folder into a synced project. Files are *real files on disk*: every tool, editor, and agent can use them with zero integration work. Rename or move the folder freely — state is keyed by a stable id, never the path. - **Multi-device sync** — devices converge through a shared hub. Each device only writes its own append-only journal, so no locking service is needed; the hub can be backed by any object store. - **Change tracking** — `bdrive log` and the web UI's History view show which account changed which file, when, from which device (name, OS, IP). Content is stored content-addressed, so every version is retained — view or download any point in a file's history. - **Cloud-provider agnostic** — a hub can store on Amazon S3 (`s3://`), Google Cloud Storage (`gs://`), any S3-compatible store (MinIO, Cloudflare R2 via `AWS_ENDPOINT_URL`), or a plain shared directory (`file://`, e.g. a NAS). Clients never see it. - **Offline-first** — the working folder is always fully usable with no network. Changes are journaled locally and pushed when the remote becomes reachable again. - **Conflict-safe** — concurrent edits resolve deterministically (last-writer-wins), and the losing version is preserved as a `name.bdrive-conflict--