Delphi
Reproducible econometrics, paper-ready
AI-augmented economics research toolkit: reproducible econometrics, data pipelines, and paper-oriented workflows. Estimation suite covering OLS, IV, DiD, staggered DiD, RDD, panel FE, matching, DML, causal forest, synthetic DiD, quantile, decomposition, bounds, shift-share, selection, and randomization inference. Data pipelines for World Bank, FRED, UN Comtrade. CLI-first.
What this toolkit promises
Estimation, not estimation theater
Each estimator wraps a proven Python library (statsmodels, linearmodels, pyfixest, doubleml, econml, rdrobust) with a consistent interface: fit, diagnostics, export. No custom solvers competing with established code.
Paper-oriented workflows
Projects are directories with config, data, estimation scripts, and output folders. The CLI generates project scaffolds, runs estimation pipelines, validates outputs, and produces audit logs for replication.
Data pipelines built in
Fetchers for World Bank WDI, FRED, and UN Comtrade. Each pipeline handles pagination, caching, and schema validation. Data lands in clean CSV or Parquet, ready for estimation.
Why the name
The Oracle at Delphi delivered answers from structured inquiry. This toolkit provides the same contract: ask a well-formed empirical question, get a reproducible answer with diagnostics and provenance.
17 methods, consistent interface
Each estimator accepts a dataframe and a specification dict, returns fitted results with coefficient tables, diagnostics, and export helpers. Underlying libraries handle the numerics.
Technology
Pure Python library. No web server, no database. The estimators wrap well-tested packages; Delphi provides the glue, project structure, CLI, and audit trail.
Command-line interface
All commands use the econai entry point. Projects are self-contained directories with config, data, and output folders.
Get started
Install from the repository:
Scaffold a new paper project:
Fetch data and run the estimation pipeline:
The full reference (every estimator, CLI flag, project config schema) lives in the repo: