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.
🖥️ GUI app — designed for daily office use. Protect your files with a simple, intuitive interface. Zero learning curve.
⌨️ CLI tool — built for advanced users and automation. Mount/storage separation, cloud remote mount, scripting, and more.
| ✅ Great for | ❌ Not ideal for |
|---|---|
| AI agent work directories | Large media files (video, database dumps) |
| Code repositories | High-IO frequent reads/writes |
| Documents & presentations | Compiling large projects |
| Research papers, configuration files |
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 remote PostgreSQL database directly with --url. Connect to AWS RDS, Supabase, Neon, or any cloud Postgres — no local containers needed.
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.
Beyond a filesystem — aifs is also a lightweight, single-machine multi-instance PostgreSQL management tool. Spin up an IO-optimized PG 18 instance with full WAL streaming and PITR backup/recovery in under 10 seconds. Run multiple independent instances side by side, each with its own port, data directory, and backup policy.
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
⚠️ Run the following commands in PowerShell (not CMD)
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