Developers

A drive your agents can use

The folder you see in Finder is also a drive for programs and AI agents. They read and write the same files, with a key you control and 30 days to undo anything they do.

A first file, in three steps.

  1. Make a key

    On the web app’s Access keys page: a name, read or write, and the drives it may use. It is shown once.

  2. Install

    # macOS and Linux. Puts phantomdisk in ~/.local/bin, checked against its checksum.
    curl -fsSL https://api.phantomdisk.com/v1/tools/install.sh | sh
    
  3. Write a file and read it back

    export PHANTOMDISK_KEY=pdk_YOUR_KEY
    
    phantomdisk mkdir /notes
    phantomdisk put plan.md /notes                 # upload, verified before it counts
    phantomdisk ls /notes
    phantomdisk get /notes/plan.md -               # to standard output
    phantomdisk history /notes/plan.md             # every save, kept for 30 days
    

Safe to hand to an agent.

An agent will make mistakes. The drive is built so that none of them is final.

  • A key for one drive

    Limit a key to one drive, make it read-only, and turn it off in a click. Every other drive answers as if it did not exist.

  • No permanent delete

    A key can move files to Recently Deleted. It can never delete for good, change your account or make more keys.

  • 30 days to undo

    Every save is a version. Bring one file back, or roll a whole folder back to how it was before the agent started.

  • Forks

    A copy of a whole drive in seconds, with no data copied. The agent works there; you keep the result or throw it away.

  • Encryption still on

    With your own key turned on, names and files are sealed on the machine the agent runs on. We cannot read them.

  • Verified writes

    Every piece of an upload is checked before the file counts. A file changed meanwhile becomes a conflict copy, never an overwrite.

Fork a drive. Let the agent loose in the copy.

A fork holds every file of the drive it was made from, and no data is copied, so it takes seconds. Give the agent a key for the fork only. Your drive does not change, whatever it does.

# A new drive with everything in "My Drive". No data is copied.
phantomdisk drive fork "My Drive" experiment
phantomdisk put plan.md experiment:/notes        # work in the fork
phantomdisk get /notes/plan.md -                 # the original has not changed

Make room on your Mac. Keep every file.