The artifacts system uses separate file storage for each agent execution. Each thread has its own input and output directories.
Files are thread-scoped by design; cross-thread access is blocked by platform policy but should not be relied on as a hard security boundary.
How Artifacts Work
Thread Creation
Each agent execution gets a unique thread ID and isolated storage
Input Files
Uploaded files are placed in the thread’s input directory
Processing
Agent reads input files and generates output files
Output Files
Results are written to the thread’s output directory
Retrieval
Download output files via UI, CLI, or API
File Structure
Each thread has this directory layout:
artifacts/
└── threads/
└── abc123-def456/ # Thread ID
├── input/ # Input files
│ ├── data.csv
│ └── config.json
└── output/ # Output files
├── results.csv
└── report.pdf
Via UI
In the agent detail page at http://localhost:3001:
- Click Choose Files
- Select files to upload
- Files appear in the input list
Downloading Output Files
Via UI
Navigate to the execution details to see output files. Click to download.