File Management in Brightsy AI provides capabilities for storing, organizing, and accessing documents and media. The File Manager is accessible through the main navigation and integrates seamlessly with AI agents through specialized tools.
Features & Capabilities
Hierarchical Storage: Unlimited folder structures with drag-and-drop organization
Full-Text Search: Search across file names, content, and metadata
Permission System: Public/private access control with signed URLs
Version History: Automatic versioning with rollback capabilities
CDN Integration: Global content delivery for optimal performance
AI-Powered Organization: Smart file categorization and tagging
Batch Operations: Bulk upload, move, and delete operations
Format Support: All common document, image, video, and archive formats
local_search_files: Search file contents with regex patterns
local_grep: Advanced text search with context
local_run_command: Execute terminal commands in project directory
Configuring File Tools for Agents
Navigate to Agents → Select your agent → Edit
In the Tools section, enable file management tools
Configure file access permissions and allowed paths
Save and test the agent with file operations
Example AI Interactions
Listing and Searching Files:
User: Find all PDF files in my documents
AI: [calls list_files with search filter]
AI: Found 5 PDF files in documents/:
• report_2024.pdf (2.3 MB, Modified: 2024-01-15)
• proposal.pdf (1.1 MB, Modified: 2024-01-10)
• contract_final.pdf (892 KB, Modified: 2024-01-08)
• meeting_notes.pdf (456 KB, Modified: 2024-01-05)
• invoice_march.pdf (234 KB, Modified: 2024-01-03)
Content Analysis:
User: Search for files containing "budget" in their content
AI: [calls local_grep or searches file content]
AI: Found 3 files mentioning "budget":
• financial_plan.docx (line 45: "Q4 budget allocation")
• project_proposal.pdf (page 12: "budget constraints")
• meeting_notes.txt (line 23: "discuss budget approval")
File Management:
User: Upload this image and create a gallery post
AI: [calls upload_file, then create_record]
AI: Uploaded image.jpg to images/ (1.2 MB)
Created gallery post "Sunset View" with the uploaded image
Batch Operations:
User: Move all files from temp/ to archive/ and clean up
AI: [calls list_files, move_file in batch]
AI: Moved 12 files from temp/ to archive/2024-q1/
Deleted empty temp/ folder
How to Use
File Operations
Listing Files: Browse directory contents
list_files(path="files")
Creating Folders: Organize files in a logical structure