File Operations#
MassGen provides comprehensive file system capabilities that enable agents to read, write, and manage files safely within defined boundaries. This section covers all aspects of file operations in MassGen.
Tip
For quick file operation examples, see Running MassGen.
Overview#
MassGenβs file system features include:
Workspace isolation - Agents operate within defined directories
Protected paths - Prevent modification of sensitive files
Project integration - Work with existing codebases safely
Memory filesystem - Combine file ops with session memory
Snapshot management - Track and restore file states
Guides in This Section#
Core file system capabilities
Read, write, edit files
Workspace configuration
File snapshots and restoration
Safety and isolation
Work with existing projects
Context paths configuration
Codebase exploration
Safe project modification
Multi-directory access
Secure file access
Protect sensitive files
Read-only paths
Path exclusion patterns
Security best practices
Combine files with session memory
Persistent file context
Memory-based file tracking
Multi-session file operations
Advanced workflows