Skip to main content

AI-powered lab assistant CLI

Project description

๐Ÿš€ Ripple Copilot CLI (rpl)

PyPI GitHub Repo Docs

Your AI-powered lab assistant, right in the terminal.
Log experiments, upload documents, and build a smart, searchable knowledge base โ€” with zero friction.


๐Ÿ“ฆ Installation

pip install rplcopilot

(Optional, for global access:)

chmod +x rpl.py
ln -s $(pwd)/rpl.py /usr/local/bin/rpl

๐Ÿงช Commands

๐Ÿ”น rpl init <project>

Create a new project in the current directory.

rpl init quantum --description "Quantum film experiments"

๐Ÿ“ Project Structure

your-lab-project/
โ””โ”€โ”€ .rpl/
    โ”œโ”€โ”€ config.json               # Global pointer to current project
    โ””โ”€โ”€ projects/
        โ””โ”€โ”€ <project-name>/
            โ”œโ”€โ”€ metadata.json     # File info + summaries
            โ”œโ”€โ”€ logs/             # Individual experiment logs
            โ”œโ”€โ”€ uploads/          # Uploaded raw files
            โ””โ”€โ”€ faiss_index/      # Vector store

๐Ÿ”น rpl log

Log an experiment with rich metadata. Flags:

--title โ€“ Title of the experiment (required)

--notes โ€“ Full notes or description

--tags โ€“ Comma-separated tags or keywords

rpl log --title "Day 1" --notes "Tested sapphire substrate." --tags "GHz,permittivity"

๐Ÿ”น rpl upload <file_or_folder>

Upload and embed documents. Handles PDFs, scanned files, papers.

rpl upload notes.pdf
rpl upload ./papers/

Includes:

  • Chunking + embeddings (FAISS)
  • Semantic enrichment (summary, keywords, type detection)

๐Ÿ”น rpl query "<question>"

Ask natural language questions against indexed documents.

rpl query "What trends were found using sapphire substrates?"

๐Ÿ”น rpl hybrid "<question>"

Run hybrid search (BM25 + vector similarity) for improved retrieval.

rpl hybrid "Show experiments on dielectric response at 10 GHz"

Optional export:

rpl hybrid "sapphire films" --export json
rpl hybrid "quantum well" --export bib
rpl hybrid "mid-IR optics" --export tex

โš–๏ธ Combines symbolic + vector retrieval. Great for exact terms and fuzzy matches.


๐Ÿ”น rpl digest

Generate a digest-style summary of uploaded files. Includes:

๐Ÿ“„ File name

๐Ÿง  Summary (LLM-generated)

๐Ÿท๏ธ Keywords

rpl digest --format md

๐Ÿ”น rpl trace "<concept>"

Trace a concept or keyword across all indexed files. Flags:

--k โ€“ Number of top documents (default: 10)

--format โ€“ Export format: md, json, or bib

rpl trace "sapphire substrate" --format md

๐Ÿ” Outputs all occurrences with context, source, and exportable summary.


๐Ÿ”น rpl ls

List all available .rpl projects found in subdirectories.

rpl ls

๐Ÿ”น rpl switch <project>

Switch the active project context.

rpl switch metasurfaces

๐Ÿ”น rpl current

Display the current project in context.

rpl current

๐Ÿ”น rpl push

Prepares syncing payloads for a remote API. Reports:

๐Ÿ“ Files to sync

๐Ÿ“š Metadata size

๐Ÿง  Embeddings (optional)

rpl push

๐Ÿ“ค Export Formats

  • .json โ€” audit log of search results
  • .bib โ€” BibTeX citation (autogenerated)
  • .tex โ€” ready-to-include experiment snippets for LaTeX

๐Ÿ“ฌ Coming Soon

  • rpl pull โ€” download remote project

  • rpl auth โ€” API key authentication

  • rpl dashboard - interactive Streamlit viewer

  • rpl bib - manage BibTeX citations + export

  • Web UI โ€” view, filter, and explore experiments

  • Multi-user collaboration & versioning


๐Ÿ‘ฉโ€๐Ÿ”ฌ Ideal For:

  • Scientific labs
  • Industrial research
  • Long term experiment tracking
  • Biotech, nanotech, or AI-assisted experiments
  • Research labs and PhDs
  • For student to learn the research workflow

๐Ÿง  Credits

Crafted with โค๏ธ by the Ripple Copilot team
We welcome pull requests, feedback, and ideas!

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

rplcopilot-0.1.9.tar.gz (19.3 kB view details)

Uploaded Source

Built Distribution

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

rplcopilot-0.1.9-py3-none-any.whl (22.5 kB view details)

Uploaded Python 3

File details

Details for the file rplcopilot-0.1.9.tar.gz.

File metadata

  • Download URL: rplcopilot-0.1.9.tar.gz
  • Upload date:
  • Size: 19.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.12

File hashes

Hashes for rplcopilot-0.1.9.tar.gz
Algorithm Hash digest
SHA256 5df79b63b308221a9f0fba2c32a88fe3420921c21c4a1b3aa162375007c21c18
MD5 58ce2e0751148d7b0facc71bf2162706
BLAKE2b-256 d2bb4a799c932fd2771f311356e48a5e529809469bd63d5b3e82cb51afaede44

See more details on using hashes here.

File details

Details for the file rplcopilot-0.1.9-py3-none-any.whl.

File metadata

  • Download URL: rplcopilot-0.1.9-py3-none-any.whl
  • Upload date:
  • Size: 22.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.12

File hashes

Hashes for rplcopilot-0.1.9-py3-none-any.whl
Algorithm Hash digest
SHA256 16efb955c72e93f21ff14262f94fcf4424c593e7d3c1ade7944d3239edad5b22
MD5 2ab85eb59b8085a2ec810a61fa617e5d
BLAKE2b-256 dbe9bef908ea4a75fe6298cadf8b188f0a51c13e5eed110160a646173a12a06f

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