r/devtools • • Oct 19 '26

Critty: work through plans and decisions with your coding agent in the terminal

When working with a coding agent, sometimes you want to check a plan or ask for a change before it continues. Explaining which part you mean in chat can get awkward, especially as the conversation grows.

I've been working on Critty, a terminal UI for this. Your agent opens a diff or document, you leave comments on the relevant lines, and it makes changes and replies in the same review.

You can also agree on which actions need your approval. Before pushing code, for example, the agent can show you the diff alongside a request document with the commit message and destination. You can leave feedback, choose between options with radio buttons, or allow the push with a checkbox. These documents also work on their own, such as choosing an approach before coding starts.

You can also review proposed changes to notes, reports, or configuration files outside Git before the originals are touched. The agent edits copies, you review the diff and request changes, and it applies the result only after your approval.

An attached checklist with clickable confirmations and an inline image
Side-by-side code review with an inline comment and an agent reply
Review feedback from Codex, right inside your Claude Code workflow

If you remember kevindutra/crit, this is the same project with a new name, including the fixes and improvements from TCrit. The current release is v1.3.2.

Works with Claude Code, Codex, OpenCode, and Antigravity CLI. Setup and demos: https://github.com/crittylabs/critty

1 Upvotes

4 comments sorted by

1

u/kantorcodes1 Oct 19 '26

In the review-before-editing flow the agent applies the approved changes itself, so the boundary is advisory unless something pins what was approved. Does Critty record which revision of the diff was approved, and can it detect the agent applying a different diff than the one shown? Also curious whether the checkbox state is machine-readable, so an apply could be gated on approval rather than relying on the agent's word.

1

u/akinori Oct 19 '26

Yes, the review-before-editing flow pins a specific snapshot. critty tmp snapshot freezes the candidate files and generates the diff and application request for review.

The checkbox state is machine-readable in the JSON result. critty tmp apply requires both overall approval and explicit consent to that exact application request. It checks the result against the saved review, verifies that the reviewed diff matches the snapshot, and checks the candidate contents and destination files before writing. If any of those checks fail, it refuses to apply the changes.

The boundary you're asking about still matters: critty tmp apply enforces these checks. Critty doesn't prevent an agent with filesystem write access from bypassing it and writing directly. Enforcing that boundary requires host permissions or sandboxing.

1

u/[deleted] Oct 19 '26

[removed] — view removed comment

1

u/akinori Oct 20 '26

Critty opens for each review round, and the agent waits until you submit that round. You can submit the comments you have so far with "Comment", let the agent address them, and have it reopen the same session for the next round. It doesn't automatically start working as you save each comment.