Registry / ai-ml / crewai-files

crewai-files

JSON →
library1.14.6pypypiunverified

File handling utilities for CrewAI multimodal inputs, enabling agents to read, write, and process various file formats (PDF, CSV, DOCX, images, etc.). Current version 1.14.6, released monthly.

pip install crewai-files
INSTALL
IMPORT
SIG · CREWAI-FILES
C
crewai-files
ai-mlpythonv1.14.6
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

FileHandler
from crewai_files import FileHandler
from crewai.files import FileHandler

Basic usage of FileHandler to read, write, and process multimodal files.

from crewai.files import FileHandler handler = FileHandler() # Read a PDF file content = handler.read('example.pdf') print(content) # Write to a CSV handler.write('output.csv', [['name', 'age'], ['Alice', '30']]) # Process an image (multimodal) with open('image.jpg', 'rb') as f: handler.process_image(f)
Debug
Known issues
breakingIn v1.12+ the import path changed from crewai_files to crewai.files. Old imports will raise ImportError.
fix
Replace `from crewai_files import ...` with `from crewai.files import ...`.
affects: >=1.12.0
deprecatedThe `file_extension` parameter in `FileHandler.read()` is deprecated, use explicit format detection instead.
fix
Remove the `file_extension` argument; the library now autodetects format from file content.
affects: >=1.14.0
gotchaMultimodal image processing requires the 'pillow' package to be installed (not included by default). Missing it causes silent failures or AttributeError.
fix
Run `pip install pillow` or install crewai-files with extras: `pip install crewai-files[images]`.
affects: all
gotchaFileHandler.write() with list-of-lists always appends to existing file; there is no mode to overwrite without explicit delete.
fix
Use `import os; os.remove('output.csv')` before writing if you want a fresh file.
affects: all
Upgrade
Version history
1.14.6latest on PyPI · released May 28, 2026
Audit
Dependencies
crewairequiredCore framework dependency for multimodal agent integration
Agent activity
20 hits · last 30 days
node
18
OpenAI (training)
1
Resources

No resource links recorded.