AI-powered lab assistant CLI
Project description
๐ Ripple Copilot CLI (rpl)
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cf4f4b5ab6079deea59323739582944e3d045f70a89451bec9254ee7defa69f2
|
|
| MD5 |
e14858e2ef4a87000380aac10a48a2af
|
|
| BLAKE2b-256 |
910bc94b1eb34ae7e6da43e5f132ce0319fbb413ed05a4dc7ce605b84e06b784
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
27fe72c7787600080fdb4800252c4506a4b601773a60a0bc0cabdcd9f53cd62e
|
|
| MD5 |
862d2ced8bd120d7e0da002e8539fc09
|
|
| BLAKE2b-256 |
92a07f7de06dff84470122a3ff5f7dd695d63d90db14ed4ba8e90f47578f4023
|