Thanks for your interest in contributing! Scientra Copilot is an open-source literature knowledge OS for researchers.
# Clone & install
git clone https://github.com/your-org/scientra-copilot.git
cd scientra-copilot
python -m venv .venv
source .venv/bin/activate # or .venv\Scripts\activate on Windows
pip install -e ".[dev]"Before contributing, please understand these core principles:
- One-Way Gate: Data flows PDF → Parse → Metadata → Tag → Summary → Embedding → LanceDB → API → Agent. No step can mutate upstream data.
- Single Entry Point: All agents must call
literature_query(). Direct access to PDFs, SQLite, or LanceDB is forbidden. - Policy Enforcement: The Agent SDK enforces access boundaries at runtime.
- Source Anchoring: Every result must have a traceable citation back to its source.
- Python 3.11+ with type hints
- Follow PEP 8
- Use
rufffor linting:ruff check . - Run tests before submitting:
pytest Tests/ -v
- Fork the repo and create a feature branch
- Add tests for new functionality
- Update docs if you change public APIs
- Ensure
python Scripts/system_check.pypasses - Submit a PR with a clear description
See README.md for the full directory layout.
Open a GitHub Discussion or check the docs.