Every change traceable. Every mistake reversible.
In the AI Agent era, agents autonomously read, write, and modify files at scale. aifs turns your filesystem into a time machine — powered by PostgreSQL PITR. Rewind to any moment, recover deleted files, and let agents work fearlessly.
Everything you need to make file operations reliable, reversible, and observable.
PostgreSQL WAL-based PITR lets you rewind the entire filesystem to any timestamp — seconds, hours, or weeks ago.
Full, differential, and incremental backups. Take a snapshot before any risky operation, delete old ones to reclaim storage.
Mount any PostgreSQL database directly with --url. No local containers needed — just a connection string.
Same database, multiple machines. Mount the same filesystem on Linux, macOS, and Windows simultaneously — PostgreSQL handles concurrency.
Native FUSE on Linux and macOS. WinFsp drive-letter mounts on Windows (Z:, X:, etc.). One binary, one config.
aifs manages its own PostgreSQL and backup containers via Podman. No server setup, no DBA required.
A filesystem backed entirely by PostgreSQL — simple to deploy, powerful to recover.
Spin up a PostgreSQL container with aifs create + aifs start.
Initialize the filesystem with aifs format, then mount it as a local drive.
Take a full snapshot before risky work. aifs handles WAL archiving continuously.
Rewind to any timestamp. Inspect read-only, then promote back to read-write when ready.
Pre-built binaries for Linux, macOS, and Windows. Installation and upgrade use the same command.
curl -fsSL https://raw.githubusercontent.com/mars-base/aifs/main/scripts/install.sh | sh
Prepare the Windows runtime environment — run once before installing:
irm https://raw.githubusercontent.com/mars-base/aifs/main/scripts/aifs-setup.ps1 | iex
Then install aifs:
irm https://raw.githubusercontent.com/mars-base/aifs/main/scripts/install.ps1 | iex