How it works
When a file is written to a watched volume, the trigger fires and sends the following to your agent as a message:- File metadata (name, path, size, last modified time)
- File content, up to 100KB for text files
Setting up a filesystem sync trigger
- Navigate to your agent and click Triggers in the sidebar
- Click Add trigger
- Select Filesystem sync from the available options
- Choose the volume to watch:
- Shared memory volume — files stored in your project’s shared memory, accessible to all project members
- Personal files volume — files stored in your own personal files area
- Optionally configure glob patterns to filter which files trigger the sync (see Filtering files with glob patterns)
- Save the trigger
Filtering files with glob patterns
By default, any file write to the watched volume triggers the sync. You can narrow this down using glob patterns.- Include patterns — only files matching these patterns trigger the sync (e.g.,
**/*.pdfto watch only PDF files) - Exclude patterns — files matching these patterns are ignored even if they also match an include pattern (e.g.,
**/tmp/**to skip temporary files)
Glob pattern examples
Glob pattern examples
| Pattern | Matches |
|---|---|
**/*.csv | Any CSV file in any subfolder |
reports/** | All files inside a reports/ directory |
**/tmp/** | Any file inside a tmp/ directory |
invoices/2025-*.pdf | PDF files in invoices/ whose names start with 2025- |
Access controls
- Shared memory volume: only file writes made by the user who created the sync trigger cause the sync to fire. Writes by other project members do not trigger it.
- Personal files volume: only the owner of the personal files volume can create a sync on it, and only their own writes trigger the sync.
Frequently asked questions (FAQs)
What happens when the same file is written to multiple times?
What happens when the same file is written to multiple times?
Each write to the same file appends a new message to the existing conversation thread for that file. This keeps all activity related to a single file in one continuous thread rather than creating separate conversations.
Is there a file size limit?
Is there a file size limit?
Text file content is sent to the agent up to 100KB per file write. Files larger than 100KB will have their content truncated; file metadata is always sent in full regardless of file size.
Can other team members' file writes trigger my sync?
Can other team members' file writes trigger my sync?
No. Only file writes made by the user who created the sync trigger cause it to fire, even when watching the shared memory volume.
Can I watch both volumes with a single trigger?
Can I watch both volumes with a single trigger?
No. Each filesystem sync trigger watches one volume. Create a separate trigger for each volume if you need to watch both.
Do glob patterns affect the exclude list independently?
Do glob patterns affect the exclude list independently?
Yes. If you configure both include and exclude patterns, a file triggers the sync only when it matches at least one include pattern and does not match any exclude pattern. Exclude patterns always take precedence.

