raine/git-surgeon
Git primitives for autonomous coding agents
This tool helps AI coding agents precisely manage Git changes without needing interactive prompts. It takes a repository's current changes and allows the agent to stage, unstage, or commit individual code modifications (hunks) or even specific lines. This is for developers using AI agents for autonomous code generation and modification tasks.
Use this if you are a developer leveraging AI coding agents and need them to perform granular Git operations like committing specific code sections or refactoring commit history, without getting stuck on interactive prompts.
Not ideal if you are a human developer performing Git operations directly or if your AI agent does not require fine-grained control over code changes.
Stars
21
Forks
—
Language
Python
License
MIT
Category
Last pushed
Mar 10, 2026
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/agents/raine/git-surgeon"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
kodustech/kodus-ai
AI Code Review with Full Control Over Model Choice and Costs.
judge0/judge0
Robust, fast, scalable, and sandboxed open-source online code execution system for humans and AI.
web3infra-foundation/mega
Mega is an open-source implementation of Google Piper — a Git-compatible monorepo engine built...
ddVital/coParrot
coParrot is an intelligent Git CLI assistant that uses AI (OpenAI/Anthropic/Gemini/Ollama) to...
tang-vu/ContribAI
Autonomous AI agent that contributes to open source — discovers repos, analyzes code, generates...