Home / Companies / Turso / Blog / Post Details
Content Deep Dive

AgentFS in the Browser

Blog post from Turso

Post Details
Company
Date Published
Author
Glauber Costa
Word Count
1,278
Language
English
Hacker News Points
-
Summary

AgentFS introduces a virtualized filesystem for browser-based agents, addressing their inability to leverage traditional command-line tools like mkdir or git, which are central to their training data. Built on a SQLite foundation with Turso's Rust-based rewrite and utilizing a WASM build, AgentFS enables agents to operate within the browser without server infrastructure. It supports both in-memory and persistent storage through the Origin Private File System (OPFS) and allows data synchronization across devices using Turso Cloud. This approach maintains the Unix-inspired "everything is a file" philosophy, facilitating familiar file-based workflows in a secure, isolated, and auditable manner. An example of its utility is demonstrated by implementing Git functionality in the browser, offering seamless integration with popular libraries like isomorphic-git.