Your Files, Protected Forever. Every change recorded, every deletion recoverable, nothing lost.
In the AI Agent era, agents autonomously read, write, and modify files at scale. aifs turns your filesystem into a time machine. Rewind to any moment, recover deleted files, and let agents work fearlessly. Store your code and agent sessions on aifs — pick up exactly where you left off, from any machine.
Whether you're a researcher, engineer, lawyer, teacher, or student — use aifs to protect your most important data. Every change to every file is precisely recorded and recoverable. Never worry about accidental deletion again. aifs aims to be essential software on every personal computer in the world, making data protection as simple, reliable, and accessible as possible.
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.
Store your AI agent sessions — ~/.claude, ~/.codex and more — on a remote aifs instance or cloud PostgreSQL. Mount from home, office, or anywhere. Your context follows you.
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