CLI Tools2026年5月13日·1 分钟阅读

Entire CLI — Record AI Sessions in Git

CLI that hooks into Git to capture AI agent sessions alongside commits. Index, rewind, and resume per branch without polluting commit history.

简介

Entire CLI 用 Git 原生方式记录和回放 AI 编码会话:你的代码提交保持干净,而会话元数据保存到独立分支,便于审计与复盘。

最适合: 需要审计/复盘 AI 编码过程,并且希望随时回滚的团队

适配: Git 仓库;可与多种 agent CLI 与常规 remote 流程配合

配置时间: 5–15 分钟

关键事实(已验证)

  • README 提供多种安装方式:Homebrew、install.sh、Scoop、Go install。
  • 会话数据写入独立的 entire/checkpoints/v1 分支(README 描述)。
  • GitHub:4,284 stars · 333 forks;最近更新 2026-05-13(GitHub API 验证)。

正文

把它当作“Agent 飞行记录仪”

AI 辅助开发往往需要同时满足两点:

  • 提交历史要干净git log 依旧可读)
  • 过程要可追溯(以后能回答“当时为什么这么改”)

Entire 的思路是把会话当作元数据记录,并在发生提交时产生可回滚的检查点。你可以回到某个稳定状态而无需重写历史。

README 原文节选(verbatim)

Entire CLI

Entire hooks into your Git workflow to capture AI agent sessions as you work. Sessions are indexed alongside commits, creating a searchable record of how code was written in your repo.

With Entire, you can:

  • Understand why code changed — see the full prompt/response transcript and files touched
  • Recover instantly — rewind to a known-good checkpoint when an agent goes sideways and resume seamlessly
  • Keep Git history clean — preserve agent context on a separate branch
  • Onboard faster — show the path from prompt → change → commit
  • Maintain traceability — support audit and compliance requirements when needed

Why Entire

  • Understand why code changed, not just what — Transcripts, prompts, files touched, token usage, tool calls, and more are captured alongside every commit.
  • Rewind and resume from any checkpoint — Go back to any previous agent session and pick up exactly where you or a coworker left off.
  • Full context preserved and searchable — A versioned record of every AI interaction tied to your git history, with nothing lost.
  • Zero context switching — Git-native, two-step setup, works with Claude Code, Codex, Gemini, and more.

Table of Contents

Requirements

🙏

来源与感谢

Source: https://github.com/entireio/cli > License: MIT > GitHub stars: 4,284 · forks: 333

讨论

登录后参与讨论。
还没有评论,来写第一条吧。

相关资产