Four crates that present a Weave drive as a local filesystem. POSIX-compatible operations that mirror the Locus API, debounced watchers with intelligent batching, a bi-directional sync engine, and a structured diff format for conflict resolution. Multi-device sync is demonstrated end-to-end by Loom's 7-stage integration test.
use agentfs::Drive;
use agentfs_mirror::Mirror;
let drive = Drive::open("locus://team/notes").await?;
let mirror = Mirror::new("./notes", &drive).bi_directional();
mirror.start().await?; // watchers up, initial sync pass
// Now ./notes <-> locus://team/notes stay converged.AgentFS is the surface most developers — and most agents — touch first. It behaves like a local filesystem and converges with the network behind the scenes.