smolfs Review 2026: Durable Workspace Folders for AI Agents
In-depth review of smolfs — an open-source tool that gives AI coding agents persistent workspaces across sessions, with local SQLite and cloud Redis+S3 backends, keeping files alive even after the agent process exits.
AI coding agents are stateless by nature. Claude Code spins up, solves your problem, and disappears. The files it creates live on your disk, but any organizational structure, intermediate artifacts, or workspace state vanishes with the process. If you want the agent to build on previous work, you’re either re-explaining the context or manually managing file locations across sessions. This statelessness is one of the quietest but most persistent friction points in agent-assisted development.
smolfs — short for “small filesystem” — tackles this head-on. It provides durable, mountable workspace volumes that survive agent process exits. An agent can mount a smolfs volume, write files to what looks like a normal directory, and return days later to find everything exactly as it left it. Under the hood, a Rust core handles the filesystem abstraction, with Python and TypeScript SDKs wrapping it for direct agent integration. The project, released under Apache 2.0, supports both local development (SQLite-backed) and cloud deployments (Redis metadata + S3-compatible object storage) from the same CLI surface.

What smolfs Does
smolfs creates virtual filesystem volumes that can be mounted as regular directories. To the agent — and to any other process — the mount point looks and behaves like any other folder. Reads, writes, creates, and deletes all work as expected. The difference is what happens when the agent process terminates: the volume persists.
The architecture is elegantly layered. A Rust core handles the low-level filesystem operations, with metadata stored in SQLite (local mode) or Redis (cloud mode) and file contents in local object files or an S3-compatible bucket. The CLI (smolfs init, mount, flush, status, unmount) manages the full lifecycle. For agent tooling, thin Python and TypeScript SDKs call the same Rust core, letting agents interact with workspaces programmatically without shelling out to the CLI.
Use Cases
- Multi-session agent workflows where an AI coding agent needs to pick up where it left off across separate invocations, preserving intermediate outputs, build artifacts, and working notes.
- Cross-machine team workspaces where multiple agents or developers access the same volume via the cloud backend (Redis + S3), sharing state without manual file transfers.
- Local development to cloud promotion where you prototype an agent workflow locally with SQLite, then switch to cloud storage when the workflow is ready for shared or production use.
- Encapsulated agent storage where each agent or task gets its own isolated workspace volume, preventing cross-contamination between parallel agent runs.
Key Features
Durable Workspaces
The core value proposition: mount a volume, write files, unmount. The files stay. Mount it again weeks later — everything is still there. This decouples agent lifetime from file lifetime, enabling genuinely long-running agent workflows that span multiple sessions without manual state management.
Dual Backend Architecture
Local mode uses SQLite for metadata and local object files for contents — zero external dependencies, perfect for development and single-machine use. Cloud mode swaps SQLite for Redis and local files for any S3-compatible object store (AWS S3, Cloudflare R2, MinIO), making the same workspace accessible from any machine. The transition from local to cloud is a configuration change, not a code change.
Unified CLI Lifecycle
Six commands cover the entire workflow: smolfs doctor verifies prerequisites, init creates a new volume, mount makes it available as a directory, flush syncs pending writes, status reports health, and unmount detaches cleanly. No daemons, no background processes, no complex configuration.
Multi-Language SDKs
Python and TypeScript SDKs provide native bindings to the Rust core. Agents can mount workspaces, read and write files, and manage volumes from within their own code without spawning shell processes. This is critical for agent frameworks that need deterministic, low-latency filesystem operations.
Explicit Configuration
Cloud metadata endpoints, bucket names, and credentials are explicitly configured rather than inferred from environment variables or implicit defaults. This makes it easy to audit exactly where agent data is stored and how it’s secured — important for teams handling sensitive codebases.
Pricing
smolfs is completely free and open-source under the Apache 2.0 license. There is no paid tier, no enterprise version, and no usage-based pricing. The self-hosted cloud mode incurs your own infrastructure costs (Redis instance, S3-compatible storage), which are typically negligible for agent workspace use cases. This makes smolfs effectively free for individual developers and teams willing to manage their own infrastructure.
Common Questions
How is this different from just using a regular directory? A regular directory is tied to a specific machine and offers no built-in versioning, synchronization, or lifecycle management. smolfs volumes are portable across machines (in cloud mode), explicitly managed through a lifecycle API, and provide a clean abstraction for agent tooling that doesn’t exist with raw filesystem access.
Does smolfs work with any AI coding agent? Yes — as long as the agent can execute shell commands or use the Python/TypeScript SDKs. Since smolfs volumes mount as regular directories, any agent that can read and write files can use them, including Claude Code, Codex, Cursor, OpenCode, and custom agent frameworks.
Verdict
smolfs solves a problem that’s easy to overlook until you’ve hit it repeatedly: AI agents need persistent state, and the filesystem alone doesn’t provide it in a structured, portable, agent-friendly way. The dual-backend architecture (local SQLite → cloud Redis+S3) is particularly thoughtful, letting developers start simple and scale to shared environments without changing their agent code.
At v0.1.1 with 14 GitHub stars, smolfs is undeniably early-stage. The documentation is solid but the community is nascent, and there’s no ecosystem of plugins or integrations yet. But the core idea is sound, the implementation is clean (Rust core with thin language bindings), and the Apache 2.0 license makes it safe for commercial use. For teams building multi-session agent workflows or agent orchestration systems, smolfs is a lightweight, well-architected piece of infrastructure worth adopting early.
Explore the best AI Coding tools
Related Articles
agent-run Review 2026: Run Coding Agents in a Sandbox Smaller Than a Megabyte
In-depth review of agent-run — a tiny standalone binary that runs pi, opencode, codex, or claude inside a Bubblewrap sandbox so AI coding agents can't touch anything outside your project.
Best AI Agent Tools in 2026: From Coding Assistants to Autonomous Workers
Complete guide to AI agent tools in 2026 — Claude Code, Codex, Cursor, Manus, and more. Which agents actually deliver on the promise of autonomous work?
Best AI Coding Tools in 2026: Cursor vs GitHub Copilot
Compare the top 5 AI coding tools of 2026: Cursor, GitHub Copilot, Claude Code, v0, and Windsurf. Find the best AI pair programmer for your workflow.
Bolt.new Review: In-Browser Full-Stack App Builder with Live Preview
A comprehensive review of Bolt.new, the AI tool that generates and previews full-stack web applications instantly in your browser with interactive feedback.
Subscribe to the 9bests weekly — get the full list free
Hand-picked AI tool reviews and updates every week. Subscribe to receive this full list + 7 more quick-reference sheets (writing / image / video / audio / chat models / data / API cost).
Subscribe free & get it →Independent reviews — ratings aren't influenced by vendor payments · double opt-in · unsubscribe anytime