Why AgentFS?
Building reliable AI agents requires solving fundamental challenges:- State Management: Agents need persistent memory across sessions
- Auditability: Every action must be traceable for debugging and compliance
- Reproducibility: Agent states must be snapshottable and restorable
- Simplicity: Complex distributed systems shouldn’t be required for agent development
Key Features
Virtual Filesystem
POSIX-like file and directory operations for agent data management
Key-Value Store
Fast, typed storage for agent state and configuration
Tool Call Tracking
Automatic audit logging of all agent tool invocations
Single File Storage
Entire agent runtime in one portable Turso database
Core Capabilities
🗄️ Unified Storage
Everything your agent needs—files, state, history—stored in a single database file. No complex infrastructure, just one file you can query, backup, or move.🔍 Built-in Auditability
Every filesystem operation, state change, and tool call is automatically recorded. Query your agent’s behavior with SQL:🔄 State Reproducibility
Snapshot agent states at any point and restore them later. Perfect for:- Debugging complex agent behaviors
- Testing different execution paths
- Creating checkpoints in long-running workflows
📦 Portability
Move your entire agent between environments with a single file. Development to production, cloud to edge—your agent’s complete state travels with it.Architecture
AgentFS provides three main interfaces: All operations are atomic and transactional, ensuring data consistency even during failures.Quick Example
Use Cases
Development & Testing
Develop agents locally with full state persistence and debugging capabilities
Production Deployment
Deploy agents with built-in logging, monitoring, and state management
Compliance & Auditing
Track every agent action for regulatory compliance and accountability
Multi-Agent Systems
Share state between agents or maintain isolation with separate databases
Getting Started
Ready to build more reliable AI agents? Start with our quickstart guide:AgentFS Quickstart
Set up AgentFS and build your first stateful agent in minutes
Available SDKs
TypeScript
Full-featured SDK for Node.js and browser environments
Rust
High-performance native SDK with async support
Python
Coming soon - Python SDK for data science and ML workflows
Learn More
- Blog: Introducing AgentFS - Deep dive into why we built AgentFS
- GitHub Repository - Source code and examples
- API Reference - Complete API documentation