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.8.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.8-py3-none-any.whl (22.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: rplcopilot-0.1.8.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.8.tar.gz
Algorithm Hash digest
SHA256 cf4f4b5ab6079deea59323739582944e3d045f70a89451bec9254ee7defa69f2
MD5 e14858e2ef4a87000380aac10a48a2af
BLAKE2b-256 910bc94b1eb34ae7e6da43e5f132ce0319fbb413ed05a4dc7ce605b84e06b784

See more details on using hashes here.

File details

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

File metadata

  • Download URL: rplcopilot-0.1.8-py3-none-any.whl
  • Upload date:
  • Size: 22.4 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.8-py3-none-any.whl
Algorithm Hash digest
SHA256 27fe72c7787600080fdb4800252c4506a4b601773a60a0bc0cabdcd9f53cd62e
MD5 862d2ced8bd120d7e0da002e8539fc09
BLAKE2b-256 92a07f7de06dff84470122a3ff5f7dd695d63d90db14ed4ba8e90f47578f4023

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