Skip to content

safegit

The Git CLI that is safe to hand to your AI Agents: no sharp edges by design, commit concurrency built-in, Git-compatible because it uses Git plumbing under the hood.

safegit is a git CLI built to be handed to AI agents, for setups where several agent sessions commit to the same repository at once. Each commit stages through its own temporary index and updates refs under per-ref locks, so concurrent commits never mix files, and an operation log records every change so the last operation can be undone. It implements a deliberate subset of git and produces ordinary git commits. safegit is written in Go; the source is mirrored at github.com/stricttools/safegit.

Go cli 0.33.0

What it is

The Git CLI that is safe to hand to your AI Agents: no sharp edges by design, commit concurrency built-in, Git-compatible because it uses Git plumbing under the hood.

safegit is for agents, not for all humans.

What it does

Install

No published install command yet; the source is on the repository.

Package names
  • Gostricttools.com/safegit

More tools

saferm

Go

The `rm` replacement that is safe to hand to your AI Agents: deleted files can be restored, know exactly which session deleted a file, when, and why, with the reason being a required flag.

selfdoc

Go

Static Site Generator that builds a project's documentation site directly from its source code, so the docs can never drift from the code they describe, with SEO/AEO, first-class blog, search, and cross-project linking built in.

strictcli

Go

A CLI framework for the Era of Agents: nothing is inferred, everything is declared. Written in Go.