GitHub - adamveld12/ghost: Git is the coding agent
Hacker News
March 3, 2026
AI-Generated Deep Dive Summary
GitHub introduces *Ghost*, a revolutionary CLI tool that transforms the traditional Git workflow by focusing on commit intentions rather than code changes. Instead of committing specific code modifications, users describe their desired outcome through prompts, and an AI coding agent generates the necessary artifacts. This approach shifts the git log from a record of file changes to a chain of design decisions, preserving the intent behind each action. Each commit includes detailed metadata about the prompt, AI model, session ID, and affected files, enabling reproducibility and transparency.
The tool supports multiple AI agents, including Claude, Gemini, Codex, and OpenCode, allowing developers to choose the best fit for their task or set a default. Ghost’s enriched commit messages provide context beyond mere code diffs, linking the human decision (intent) with its implementation (AI-generated code). This makes git history a design document, capturing architectural choices and reasoning behind technical decisions. For example, a commit message like “add JWT authentication middleware” is paired with the exact prompt used to generate it, along with the AI model and session details.
This innovation matters because it bridges the gap between high-level design and implementation details, offering developers greater clarity and accountability. By preserving intent, Ghost enables teams to revisit past decisions and adapt them as
Verticals
techstartups
Originally published on Hacker News on 3/3/2026