Review what your agents change, flow by flow.
treefy is a PR and codebase toolset for agentic development. Each repo keeps its flows as tree docs, plain-text trees whose nodes point at code, and a review starts from the flow a change touches, not from a wall of diffs.
curl -fsSL https://treefy.ouzx.me/install.sh | shFree and open source, under the MIT license. For macOS, Windows and Linux.
Every flow sits beside the code it explains.
A tree doc names the code behind each step: a file, a symbol, a line. Pick a node and its code lights up; pick a line and you see the nodes that explain it.
Pick a node, or a line of code.
Review a change one node at a time.
treefy draws the flow a change touches as a diff tree, and puts each code change under the node that explains it. Check a node and its changes fold away. Code no node explains is flagged, so nothing slips through unread.
Every PR and branch on one map.
The PR atlas draws open PRs, drafts, stacks and local branches as lines off the branch they merge into, as a subway map does. A stack reads at a glance, and so does a PR with a conflict or one that needs a restack.
Talk to your agent from the review.
Leave a note on any node, line or PR. Notes gather in a review session in the order you write them; your agent reads them with treefy notes and answers beside each one.
- Must-fixsrc/retry.ts:2
Cap the wait at 30 s, or a phone on bad Wi-Fi waits for minutes.
claudeCapped at 30 s, with a test for it.
- QuestionRetries › offline
Do we wait for the network before the first try too?
treefy notes$ treefy notes
Review session backoff, open in treefy web: 2 open of 2
- n1 (must-fix) on wt/backoff, at src/retry.ts:2
Cap the wait at 30 s, or a phone on bad Wi-Fi waits for minutes.
- n2 (question) on wt/backoff, at docs/retry.md › offline
Do we wait for the network before the first try too?
$ treefy notes --resolve n1 --reply "Capped at 30 s, with a test for it."
This demo runs in your browser: nothing you write here is sent anywhere.
One small core, everywhere you work.
The same TypeScript core reads the trees and reviews the changes in every part: the CLI, the web app, the Claude Code mod and the VS Code extension. The desktop app is next.
Try it on a repo, in your browser.
Open a sample repo as treefy shows it: its flows, a review of each PR, the PRs' atlas, its files and its docs. Nothing to install.
Your own repo, or any public one by its link, opens in the desktop app. Get it
Get treefy.
The desktop app to review in, the CLI for your shell and your agents, and the mod for Claude Code. Every build comes from GitHub releases.
Desktop app
treefy's main app, in Rust: any repo by its link, reviewed node by node.
The builds aren't signed yet. If macOS won't open the app, go to System Settings → Privacy & Security and press Open Anyway.
The build isn't signed yet: if SmartScreen stops it, press More info, then Run anyway. There's no build for ARM yet.
CLI
One binary: the review, notes, tours and the PR body, from your shell or your agent's.
curl -fsSL https://treefy.ouzx.me/install.sh | shOr download a binary:
Claude Code
The mod draws trees in replies and opens the review beside the chat; its skill keeps your flows as tree docs. At Claude Code's prompt:
/plugin install treefy --marketplace Ouzx/treefyFree, and it stays free.
treefy is open source under the MIT license. There's no account, no plan and no price, now or later. It runs on your machine, on your repos.