Processes large structured and unstructured collections using natural-language operators. Offers Python and YAML pipelines, optimization, and a DocWrangler UI playground.
Overview
DocETL is a system for agentic LLM-powered data processing and ETL. You describe operations in natural language, and the toolkit orchestrates map, reduce, filter, and related steps in parallel across data while optimizing prompts, models, and subtasks for accuracy and cost.
It targets document-heavy workflows from the EPIC Data Lab at UC Berkeley, turning unstructured material into queryable tables. Pipelines can be authored through a Python API for production and notebooks, or declared in YAML for low-code setups, with operators such as map, filter, reduce, resolve, split, gather, and extract.
DocWrangler provides an interactive UI for prompt iteration, available on the project playground site or runnable locally, including Docker-based setup documented alongside the core package. A CLI is part of the documented workflow, and integration helpers mention Claude Code skills and full prompt bundles for external assistants.
Example published flows include multi-step LLM and non-LLM stages over large text corpora, with reported costs for running and optimizing pipelines on real datasets.
Key features
- Natural-language pipeline operators
- Automatic cost and accuracy optimization
- Python Frame API
- YAML declarative pipelines
- DocWrangler interactive UI
- Map-reduce style orchestration
- Mixed LLM and code steps
- CLI and agent skill installers
Use cases
- Extract themes from large document sets
- Build repeatable document ETL with LLMs
- Prototype prompts in DocWrangler
- Run pipelines from Python or YAML
- Analyze unstructured text at scale