Skip to main content

Agentic File Organizer

A Python-based file organizer that asks for a folder path at startup, uses an LLM to decide a category and descriptive name for each file, and only moves files (never deletes).

It now supports richer file inspection tools:

  • Text/code preview for common source and text formats
  • PDF extraction
  • DOCX/XLSX/PPTX extraction
  • OCR for images (via docTR)
  • VLM image understanding via Ollama (for image-only files)

Setup

From source

  1. Create and activate a virtual environment.
  2. Install dependencies:
    • pip install -e .
  3. Install and run Ollama locally.
  4. Run organize-files init --pull-models
  5. OCR uses docTR; model weights are downloaded on first OCR run.
  6. Copy .env.example to .env only if you want to override defaults while developing from source.

End-user install flow

  1. Install Python
  2. Install pipx
  3. Install Ollama from https://ollama.com/download
  4. Install the app:
    • pipx install agentic-file-organizer
  5. Complete guided setup:
    • organize-files init --pull-models

Useful .env options:

  • OLLAMA_MODEL (text LLM)
  • OLLAMA_VLM_MODEL (image model)
  • ENABLE_OCR=true|false
  • ENABLE_VLM=true|false
  • MAX_PREVIEW_CHARS=1200

Run

  • python -m agentic_file_organizer.main
  • or organize-files

CLI commands

  • Guided setup:
    • organize-files init
  • Guided setup + pull models:
    • organize-files init --pull-models
  • Interactive mode:
    • organize-files
  • Non-interactive organize:
    • organize-files organize /path/to/folder --preferences "group by project" --yes
  • Preview only (no changes):
    • organize-files organize /path/to/folder --dry-run
  • Skip verification pass:
    • organize-files organize /path/to/folder --no-verify --yes
  • Environment/model health check:
    • organize-files doctor
  • Pull missing required models:
    • organize-files setup-models
  • Publish the package to PyPI
  • Have users install with pipx
  • Keep Ollama and local models separate from the Python package
  • Use organize-files init and organize-files doctor for setup validation

Safety

  • Operates only on files directly inside the folder you manually enter.
  • Moves files into category folders under that same root folder.
  • Never deletes files.
  • Prevents moving outside the chosen root.

Metadata

Release files for agentic-file-organizer 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for agentic-file-organizer 0.1.0
File Size Uploaded Provenance Actions
agentic_file_organizer-0.1.0.tar.gz 15.5 kB Without provenance Details for agentic_file_organizer-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for agentic-file-organizer 0.1.0
File Interpreter ABI Platform Actions
agentic_file_organizer-0.1.0-py3-none-any.whl Python 3 none any Details for agentic_file_organizer-0.1.0-py3-none-any.whl

Total release size: 32.2 kB

Release files / agentic_file_organizer-0.1.0.tar.gz

Download URL agentic_file_organizer-0.1.0.tar.gz
Size 15.5 kB
Tags Source
SHA-256 checksum
How to use checksums
9457ef7620d1ea7f071297d12eb5f1cf1a2146ad245a523b06a3af962bb36c74
BLAKE2b-256 checksum
How to use checksums
5ece950ecd9eeecce9064f9c83a929d7abaac1865226f6499830c7627e36047f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.3

Release files / agentic_file_organizer-0.1.0-py3-none-any.whl

Download URL agentic_file_organizer-0.1.0-py3-none-any.whl
Size 16.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
220fd5eca0dbbd451365dbf1819c0a53cd94bedfe992096d49bcdc2478f45ba8
BLAKE2b-256 checksum
How to use checksums
114637de3926d24b87ca7099ed15e8a74f119c39e4efc66fd9c0b67dc843dd9c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.3

Security for agentic-file-organizer 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page