Mainline
Git-native memory for coding agents. Repo memory before the diff
by mainline-orgFree
Domain Rating
by Ahrefs
Domain Rating by Ahrefs3
Description
Mainline is a Git-native memory layer for coding agents. Agents save developer intent, tradeoffs and key decisions as records inside your Git repository, next to the code. It does not store code or AI chat logs. It keeps the judgment future agents need: approaches that were tried and abandoned, module constraints and high-risk boundaries, so the next agent sees the trap before walking into it. The records are stored as Git refs and notes, so teammates get the same decision history through normal fetch, branch and merge. The site describes live conflict detection, where another agent's recorded intent can reveal a logic conflict before a pull request exists. The command line tool offers commands such as preflight, start, append and seal, and the data stays in your repo. Mainline is aimed at engineering teams that use coding agents and want decisions shared through Git.…
Highlights
- Agents save intent, tradeoffs and decisions in Git
- Abandoned approaches recorded so agents avoid repeating them
- Live conflict detection before a pull request
- Records shared through normal Git fetch and merge
- Command line tool with preflight, start, append and seal
Ratings & Reviews
No ratings yet
Be the first to rate Mainline.
People also visit

riponcm/projectmem
Local-first memory for coding agents: records issues, failed attempts
Mainline FAQ
What does Mainline save?
It saves the intent, tradeoffs and key decisions behind a change. It does not save the code itself or AI chat logs.
Where is the data stored?
Records are stored as Git refs and notes in your repository, so the data stays in your repo.
How do teammates get the records?
Team members get the same decision history through Git, using the usual fetch, branch and merge.
How do I install it?
The site gives a one-line curl command that runs its install.sh script. After that you use the mainline command, starting with mainline preflight.
What happens when two agents work on the same area?
Other agents can see a recorded intent early, so they can spot a logic conflict before it turns into a Git conflict.
What are the best Mainline alternatives?
Popular alternatives to Mainline include Ownmem, Okf Agent Memory and Engraphis. See all Mainline alternatives


