/workspace is the default mutable work tree for agent and repo-style flows.
General filesystem APIs also accept valid machine-scoped absolute paths such as
/tmp/result.txt, /data/model.bin, /context/input.json, and
/srv/app/config.json.
Avoid writing to Nullspace runtime-managed paths under /workspace/.nullspace;
they are reserved for machine control metadata and transfer state.
Quick Example
Choose A File Operation
Inspect And Mutate
depth=0 for the immediate directory only or a larger depth to include
nested paths.
Batch Write
write_files() is best for small in-memory files. For larger local files,
directories, resumable transfers, or progress events, use
upload_file() and upload_dir().