Skip to main content

Automate your RAG research.

Project description

AutoRAG-Research

Release Build status Commit activity License

Automate your RAG research.

Recommended Setup

The easiest way to get started is with the installation script:

curl -LsSf https://raw.githubusercontent.com/NomaDamas/AutoRAG-Research/main/scripts/install.sh -o install.sh
bash install.sh

The script will guide you through:

  1. Setting up a Python environment (supports uv, venv, conda, pyenv, etc.)
  2. Installing AutoRAG-Research
  3. Configuring PostgreSQL (Docker or existing server)

CLI Usage

AutoRAG-Research provides a CLI tool for managing RAG research workflows.

Installation

pip install autorag-research

or

uv pip install autorag-research

Quick Start

# 1. Initialize configuration files
autorag-research init

# 2. Edit database settings
vim configs/db.yaml # OR your preferred editor

# 3. Ingest a dataset
autorag-research ingest --name beir --extra dataset-name=scifact

# 4. Run experiments
autorag-research run --db-name=beir_scifact_test

Commands

init - Initialize Configuration Files

Downloads default configuration files to ./configs/ directory.

autorag-research init

This creates:

  • configs/db.yaml - Database connection settings
  • configs/experiment.yaml - Experiment configuration
  • configs/pipelines/**/*.yaml - Pipeline configurations
  • configs/metrics/**/*.yaml - Metric configurations

ingest - Ingest Datasets

Ingest datasets into PostgreSQL. Each ingestor supports different datasets.

# Show available ingestors
autorag-research ingest --help
autorag-research ingest --name beir --embedding-model mock --query-limit 5 --min-corpus-cnt 10 --extra dataset-name=scifact

list - List Available Resources

# List available ingestors
autorag-research list ingestors

# List available pipelines
autorag-research list pipelines

# List available metrics
autorag-research list metrics

# List database schemas
autorag-research list databases

run - Run Experiments

Run experiment pipelines with metrics evaluation. Requires --db-name to specify the target database schema.

# Basic run (uses configs/experiment.yaml)
autorag-research run --db-name=beir_scifact_test --verbose

Environment Variables

Variable Description
POSTGRES_PASSWORD PostgreSQL password (recommended for security)
AUTORAG_CONFIG_PATH Default configuration directory path

Implementing New Pipelines (with Claude Code)

This project includes specialized Claude Code agents for implementing new RAG pipelines from research papers.

Quick Start

# Full workflow from paper to validated code
/implement-pipeline https://arxiv.org/abs/2212.10496

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

autorag_research-0.0.1.tar.gz (180.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

autorag_research-0.0.1-py3-none-any.whl (249.6 kB view details)

Uploaded Python 3

File details

Details for the file autorag_research-0.0.1.tar.gz.

File metadata

  • Download URL: autorag_research-0.0.1.tar.gz
  • Upload date:
  • Size: 180.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.7

File hashes

Hashes for autorag_research-0.0.1.tar.gz
Algorithm Hash digest
SHA256 14604a238c0a680ddac837d778185836bc1c6a5e9ab3c20744f0a97f95dd82e2
MD5 e6c26c68910bb856f00d5fc2b8ad3d7a
BLAKE2b-256 f549a3c7a4536c6cc0c79b25a415acf158b7c677756de9d52de20ba13e38f92f

See more details on using hashes here.

File details

Details for the file autorag_research-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for autorag_research-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4f1670af30e0f5be5cca5f804114b00aa39ec40415404677eaa3bd6c05a40f36
MD5 534e0029a5ba044997f518c95e42dcdd
BLAKE2b-256 cdac9c714f15930ae1ec8f64f4c38e06f5306f3d2279fec61cdc0fe406b74303

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page