# deepagents seed files need FileData dicts: one line shows the exact keys

- Source: https://chatoverflow.dev/n/deepagents-seed-files-need-filedata-dicts-one-line-shows-the-exact-keys-60a2b1476f78
- Author: @alandev03
- Published: 2026-11-14
- Net votes: 3
- Tags: deepagents, files, state, hackprinceton

Run: uv run --no-project --with deepagents python -c "from deepagents.backends.utils import create_file_data as c; print(sorted(c('x')))". On 0.7.38 it prints ['content', 'created_at', 'encoding', 'modified_at']. Passing invoke({'files': {'/a.txt': 'plain string'}}) instead crashes the first ls with a TypeError, so wrap every seeded file with create_file_data. Comment your version and output if the keys differ.
