gitwtfhub

wtf is research-git?

stepzerolab/research-git — explained in plain English

Analysis updated 2026-05-18

33PythonAudience · developerComplexity · 3/5LicenseSetup · easy

TL;DR

A companion tool for Git that lets AI coding agents save experiments and features as reusable capsules, then bring the best ideas back onto current code later.

Mindmap

mindmap
  root((research-git))
    What it does
      Saves ideas as capsules
      Regenerates onto new code
      Not a rollback
    Tech stack
      Python
      Git
      Claude Code
      Codex
    Use cases
      Revive old experiments
      Compare variants
      Share team memory
    Audience
      Developers
      ML researchers
    Under the hood
      Content addressed store
      Byte exact snapshots
      MCP read only sharing

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Why would anyone build with this?

REASON 1

Save a promising experiment as a capsule so it can be revived weeks later on updated code.

REASON 2

Ask a coding agent to bring back a specific past idea and get a reviewable diff on today's codebase.

REASON 3

Compare several variants of a feature, such as different caching strategies, and pull the winning one forward.

REASON 4

Share a team's experiment history over a read-only connection so teammates can regenerate ideas using their own agent.

What's in the stack?

PythonGitClaude CodeCodexGemini CLI

How it stacks up

stepzerolab/research-git410979729/scope-recallabdullahselek/reducepy
Stars333333
LanguagePythonPythonPython
Last pushed2022-04-03
MaintenanceDormant
Setup difficultyeasymoderatemoderate
Complexity3/53/53/5
Audiencedeveloperdeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you spin it up?

Difficulty · easy Time to first run · 5min

Requires an AI coding agent client like Claude Code, Codex, or Gemini CLI to bring ideas back.

Use freely for any purpose, including commercial use, as long as you keep the copyright notice.

Wtf does this do

research-git, also called rgit, is a companion tool to Git for people who work with AI coding agents such as Claude Code, Codex, Gemini CLI, and opencode. Regular Git remembers commits. research-git remembers ideas. When you try an experiment or build a feature, it can be saved as a reusable Feature Capsule that an agent can bring back later, adapted to whatever the code looks like by then. This is not the same as rolling back to an old commit or restoring a deleted branch. Instead, the agent reads the saved capsule and reimplements the idea on top of today's code, leaving you a normal diff to review. Each Feature Capsule stores why the change was made, the relevant code snippets, its settings or parameters, anything it depends on, the results or metrics it produced, and a guide the agent can follow to bring it back. These capsules are kept in a small folder called .rgit next to your repository, separate from your normal git history. Every run started through research-git also saves an exact snapshot of the code at that moment, so a past result can always be reproduced precisely. Setup is a short command line install with pip, followed by an install step that wires research-git into your agent tools, and an init step that creates the local store in your project. After that, you can simply talk to your agent, asking it to save an idea, or later asking it to bring a specific idea back. There are also terminal commands for running experiments, reviewing what has been captured, and comparing different variants against each other. The tool is aimed at situations where someone tries several versions of one thing, such as prompt structures, caching strategies, or machine learning training setups, and later wants to pull the best one forward onto current code. Teams can also share the same capsule graph over a read-only connection, so a teammate's own agent session can regenerate an idea using their own subscription. research-git is released under the MIT license.

Yoink these prompts

Prompt 1
Install research-git in this project and wire it into my Claude Code setup.
Prompt 2
Bring back the re-ranking retrieval step I tried last week and adapt it to the current code.
Prompt 3
Show me what feature capsules have been captured in this repository so far.
Prompt 4
Compare the different caching strategy variants I've tried and tell me which one performed best.

Frequently asked questions

wtf is research-git?

A companion tool for Git that lets AI coding agents save experiments and features as reusable capsules, then bring the best ideas back onto current code later.

What language is research-git written in?

Mainly Python. The stack also includes Python, Git, Claude Code.

What license does research-git use?

Use freely for any purpose, including commercial use, as long as you keep the copyright notice.

How hard is research-git to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is research-git for?

Mainly developer.

View the repo → Decode another repo

This repo across BitVibe Labs

Don't trust strangers blindly. Verify against the repo.