Skip to main content

Local-first RAG library — ingest files and SQLite, query semantically, pipe results into any AI agent

Project description

remex

remex

Your private knowledge base — fully offline, never leaves your machine.


License CI Windows macOS Linux


Remex Studio



Semantic search
Semantic search
AI answer
AI answer
File ingestion
File ingestion
Collections manager
Collections manager

Remex is a local-first knowledge base for your documents. Point it at any folder — PDFs, notes, code, spreadsheets — and it becomes instantly searchable using natural language. Ask questions and get answers backed by the exact sources in your files, with no data ever leaving your machine.

It runs entirely offline, requires no cloud account, and works with any AI provider you already have — Anthropic, OpenAI, or a local Ollama instance.


Remex Studio

A native desktop app (Windows · macOS · Linux) to ingest, search, and query your documents with AI — no terminal required.

Download the latest release →

Building from source: see studio/README.md.


Python CLI

pip install remex-cli          # core — ingest + query
pip install remex-cli[api]     # adds the FastAPI sidecar (used by Studio)

Quick start

# 1. Scaffold a project
remex init

# 2. Drop files into docs/ then ingest
remex ingest docs/

# 3. Semantic search
remex query "how does authentication work?"

# 4. AI answer (auto-detects Anthropic / OpenAI / Ollama)
remex query "how does authentication work?" --ai

All commands

Command Description
remex init [path] Scaffold docs/, remex.toml, and .gitignore
remex ingest [dir] Ingest files from a directory
remex ingest-sqlite <db> Ingest rows from a SQLite table
remex query <text> Semantic search (add --ai for AI answer)
remex sources List all ingested source paths
remex stats Show chunk/source counts for a collection
remex delete-source <path> Remove all chunks for a source
remex purge Remove chunks whose source file no longer exists
remex reset Wipe an entire collection
remex list-collections List all collections in a database
remex serve Start the FastAPI sidecar (used by Studio)

Use remex <command> --help for full option reference.


Features

Fully offline No data leaves your machine — local embeddings, local storage
12 file formats .pdf .docx .md .txt .csv .json .html .pptx .xlsx .epub .odt .jsonl
SQLite ingest Embed rows from any table — or all tables at once — alongside your files
Incremental ingest SHA-256 hash check — unchanged files are skipped automatically
Batch embedding Chunks are embedded in batches for fast ingestion of large directories
AI answers Auto-detects Anthropic, OpenAI, or a local Ollama instance
Multi-collection search Query across collections, results merged by relevance score
Source filtering Narrow query results to a specific file or table
Export results Copy or export query results for use elsewhere
Collections manager Rename, delete, and inspect your knowledge bases from the UI
Keyboard shortcuts Full keyboard navigation — press ? in Studio for the reference

Configuration

Place a remex.toml in your project root (created by remex init):

[remex]
db             = "./remex_db"
collection     = "remex"
embedding_model = "all-MiniLM-L6-v2"

# chunk_size     = 1000
# overlap        = 200
# min_chunk_size = 50
# chunking       = "word"   # "word" or "sentence"

CLI flags always override remex.toml values.


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

remex_cli-1.0.0.tar.gz (1.6 MB view details)

Uploaded Source

Built Distribution

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

remex_cli-1.0.0-py3-none-any.whl (46.3 kB view details)

Uploaded Python 3

File details

Details for the file remex_cli-1.0.0.tar.gz.

File metadata

  • Download URL: remex_cli-1.0.0.tar.gz
  • Upload date:
  • Size: 1.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for remex_cli-1.0.0.tar.gz
Algorithm Hash digest
SHA256 aecb40ff8b97903c5a5002bad1583e199046d112adca0a45de3ee7c4dfc85fe0
MD5 861d82242f6bb43f5f798bb4851f95f8
BLAKE2b-256 ddb777be2fe41f30daad597f0a518ecd923d34a65859f32ff877e9fe51f3ed95

See more details on using hashes here.

Provenance

The following attestation bundles were made for remex_cli-1.0.0.tar.gz:

Publisher: publish.yml on adm-crow/remex

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file remex_cli-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: remex_cli-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 46.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for remex_cli-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6a8ca88464c424a46995809297d48d80b1a2fa4fc3188b65c7abc85a9e62e8b4
MD5 1ed7bd85bcad5a1c24f68b48e30134a5
BLAKE2b-256 f2f757dc319c735491d4c42e565959868e370d4b97fdd5b8d9775d98e5658eb9

See more details on using hashes here.

Provenance

The following attestation bundles were made for remex_cli-1.0.0-py3-none-any.whl:

Publisher: publish.yml on adm-crow/remex

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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