crewai-files
File handling utilities for CrewAI multimodal inputs
What it is and what it does
crewai-files is a file abstraction layer for CrewAI agent workflows, wrapping multimodal file types (images, PDFs, text, audio, video) into typed objects that can be passed directly to crew tasks and agents. It handles file type detection automatically or via explicit type classes, abstracting away the underlying media handling complexity.
The package depends on aiocache, aiofiles, av, pillow, pypdf, python-magic, and tinytag to support its media operations. It's designed as a utility for CrewAI workflows where agents need to process diverse file formats as structured inputs, reducing boilerplate around file loading and type management.
Use it for:
- Pass images to agents for visual analysis tasks without manual format detection or PIL setup.
- Feed PDF documents to agents for extraction, summarization, or content analysis workflows.
- Supply audio or video files to agent tasks for transcription, metadata extraction, or media analysis.
- Auto-detect file types in batch processing pipelines where mixed media formats are common.
- Integrate file inputs into CrewAI task definitions with minimal setup overhead.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides file type abstractions for CrewAI multimodal inputs, auto-detecting and handling images, PDFs, text, audio, and video files for agent task processing.
Yes, if you are building CrewAI agents that consume multimodal files. The package is actively maintained, has low install friction, and directly solves the file-handling boilerplate problem for CrewAI workflows. However, verify the license before use in proprietary projects, and confirm system media library availability for your target file types.
Install
crewai-files on PyPI
pip
pip install crewai-filesuv
uv add crewai-filespoetry
poetry add crewai-filesInstalling crewai-files
Before you install
Low install friction with a pure-Python wheel and seven runtime dependencies covering media handling. Active maintenance with a release on 2026-08-14.
License in practice
License treatment is unclear—no SPDX identifier or raw license text is available. Verify the actual license before using in proprietary or copyleft-sensitive projects.
Quickstart
pip install crewai-files
from crewai_files import File, ImageFile, PDFFile
image = ImageFile(source="chart.png")
pdf = PDFFile(source="report.pdf")
Requires Python 3.10 or later. System libraries for media codecs (libmagic, ffmpeg-related) may be needed depending on file types processed.
Verify before relying
- Whether system-level media libraries (e.g., libmagic, ffmpeg) must be pre-installed for all file types or only specific ones.
- Exact license under which crewai-files is distributed and any redistribution constraints.
Package facts
| License | not declared (unclear) |
| Python support | supports the current Python release (<3.14,>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 7 — aiocache, aiofiles, av, pillow, pypdf, python-magic, tinytag |
| Maintenance | actively maintained — 0 days since the last release |
| First released | |
| Downloads | 124,514/month — #11,865 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: crewai_files-1.15.16-py3-none-any.whl
Tags
More Application Frameworks packages
FastAPI is a Python web framework for building…
permissive · top 100 on PyPI
annotated-docProvides a way to document function parameters,…
permissive · top 100 on PyPI
textualTextual is a Python framework for building…
permissive · top 100 on PyPI
typerTyper builds command-line applications from…
permissive · top 1,000 on PyPI
mcpBuild and connect to Model Context Protocol…
permissive · top 1,000 on PyPI
WerkzeugWerkzeug is a WSGI utility library providing…
permissive · top 1,000 on PyPI
crewai-toolsCrewAI Tools provides a collection of…
unclear · top 5,000 on PyPI
crewaiCrewAI is a Python framework for building…
unclear · top 5,000 on PyPI
crewai-coreProvides shared utilities, telemetry, and…
unclear · top 5,000 on PyPI
crewai-cliA command-line tool to scaffold, run, deploy,…
unclear · top 5,000 on PyPI
openinference-instrumentation-crewaiAutomatically instruments CrewAI agent…
permissive · top 15,000 on PyPI
filetypeInfers file type and MIME type by examining…
permissive · top 1,000 on PyPI
audiofileReads and writes audio files across formats…
permissive · top 15,000 on PyPI
livekit-agentsA framework for building realtime multimodal…
permissive · top 5,000 on PyPI
opentelemetry-instrumentation-crewaiAdds OpenTelemetry tracing to crewAI agentic…
permissive · top 5,000 on PyPI
audiolabaudiolab loads, processes, and saves audio…
permissive · top 15,000 on PyPI