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


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.2.1.tar.gz (1.5 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.2.1-py3-none-any.whl (46.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: remex_cli-1.2.1.tar.gz
  • Upload date:
  • Size: 1.5 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.2.1.tar.gz
Algorithm Hash digest
SHA256 b5c8748899464facafaeb52236010915656aa54ca3fbaa4aafb960f3424eeb35
MD5 bf9978f23d60bf0448672051ffb4f9cb
BLAKE2b-256 a8982569b7dfc69a5902c92b0d8477f064e077a4a77459df32d3e724ac94cc1d

See more details on using hashes here.

Provenance

The following attestation bundles were made for remex_cli-1.2.1.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.2.1-py3-none-any.whl.

File metadata

  • Download URL: remex_cli-1.2.1-py3-none-any.whl
  • Upload date:
  • Size: 46.2 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.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 339e2feebbf03cb51d8deb6035a57850d921b9ca709099c1e1dfc1bbb371f8c0
MD5 d9feb33786d29f6a9fcb3a3f376a9751
BLAKE2b-256 204e8aef5a50f61d37ef25eebe23225e14d12eb93d6128cd53cd4a02ce8183ce

See more details on using hashes here.

Provenance

The following attestation bundles were made for remex_cli-1.2.1-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