Quickstart, in five commands.
Make a research repository, record a run, bind a number in your paper to it, and watch the audit catch the mismatch. Local only: no server, no AI.
✓ verified end to endpython ≥ 3.11 · uv~5 min
Install (local, no server, no AI)#
Requires Python ≥ 3.11 and uv.
git clone <this repo> researchvc && cd researchvc
uv sync
source .venv/bin/activate # puts `rvc` and the `researchvc` SDK on PATH
rvc --help
A first research repository#
mkdir study && cd study
rvc init # works inside an existing Git repo too
mkdir data paper
python - <<'EOF'
import json
with open("data/eval.jsonl", "w") as f:
for i in range(20):
f.write(json.dumps({"id": i, "q": f"question {i}"}) + "\n")
EOF
printf '\\section{Results}\nOur method reaches 71.2\\%% accuracy.\n' > paper/main.tex
cat > train.py <<'EOF'
import researchvc as rvc
with rvc.start_run("baseline", config={"seed": 1}) as run:
run.log_dataset("data/eval.jsonl")
run.log_metric("accuracy", 0.738)
EOF
rvc dataset add data/eval.jsonl --name eval --key id
rvc manuscript add paper/main.tex
rvc hypothesis add "Reward normalization improves accuracy"
rvc run --name baseline -d eval -- python train.py
rvc commit -m "Baseline on eval"
RUN=$(rvc --json experiments list | python -c 'import sys,json;print(json.load(sys.stdin)[0]["id"])')
rvc claim add "Our method reaches 71.2% accuracy." --category quantitative \
--source paper/main.tex:2 --evidence "$RUN" --metric accuracy --value 71.2
rvc audit # → error: manuscript says 71.2 but the run reports 0.738 (73.8%)
Next steps: rvc log, rvc show <entity>, rvc diff HEAD~1 HEAD --semantic,
rvc graph descendants dataset:eval, rvc branch create alt --switch, rvc merge alt,
rvc release create acl-submission --kind submission, rvc ask "Which experiments failed?".
Demo project#
uv run python scripts/seed_demo.py --force # builds var/demo/multilingual-qa (synthetic)
cd var/demo/multilingual-qa && rvc log --oneline && rvc audit
Server + web app#
Without Docker (SQLite, single process):
make dev-local # API on :8000 (terminal 1)
uv run python scripts/seed_demo.py --force --server http://localhost:8000
cd apps/web && npm ci && npm run dev # web on :3000 (terminal 2)
Log in as demo@example.org / demo-password-123. With Docker: docker compose up --build
(PostgreSQL, Redis, SeaweedFS S3, API, worker, web), then seed with --server http://localhost:8000.
Push your own repository:
rvc remote add origin http://localhost:8000/api/v1/sync/<org>/<project>
rvc login http://localhost:8000/api/v1/sync/<org>/<project> --token <API token from Settings>
rvc push