Parley
code review TUI for AI code
Working when we checked on .
What is Parley?
Parley is a terminal-first review tool designed for local Git diffs, optimized for iterative AI-assisted code review. It provides structured, line-anchored discussion threads where review comments are tied to specific lines in the diff rather than being loose notes. The tool maintains explicit review state with thread statuses including open, pending, and addressed, ensuring that review state and thread resolution remain human-controlled even when AI assists.
Key features include a keyboard-first TUI (Terminal User Interface) optimized for rapid navigation, MCP (Model Context Protocol) integration for review automation, and optional AI-assisted replies and refactors. The TUI supports navigation with keybindings like h/l for file navigation, j/k for line movement, and dedicated keys for thread actions (m/c for creating threads, r for replies, a/o for marking addressed/open). AI operations integrate into the same thread model and support multiple providers including codex, claude, and opencode in refactor and reply modes.
Parley is designed for developers and engineering teams who work with AI-generated or AI-assisted code changes and need to maintain structured review workflows. It works with working tree changes, specific commits, or base/head commit ranges. The tool stores local review data under .parley/ directory and is open source under Apache-2.0 license, installed via cargo install parley-cli.
Parley pricing
Pricing model: Freemium
Parley is completely free and open source under Apache-2.0 license. There are no subscription fees or paid plans. The tool is installed via cargo install parley-cli at no cost. AI inference is billed separately through your chosen AI provider (codex, claude, or opencode) - you pay for AI usage directly to those providers, not to Parley.
Parley pros
- Review threads anchored to specific diff lines, not loose notes
- Explicit thread status: open, pending, addressed
- Keyboard-first TUI optimized for rapid navigation
- AI operations integrate into same thread model without bypassing review state
- Supports multiple AI providers: codex, claude, opencode
- MCP-compatible JSON-RPC interface for automation
- Works with working tree, commits, or base/head ranges
- Root mode lazy-loads files with JSON pretty-printing and Markdown rendering
- Per-file AI logs and global AI activity list available
- Mouse capture can be disabled for SSH/terminal compatibility
- Open source under Apache-2.0 license
- Free to use with no subscription fees
- Review state exists for compatibility but TUI completion is thread-based
- Force-address feature for selected threads
- In-app help available with ? keybinding
Parley cons
- Requires Rust toolchain for installation and building
- Only works within Git repositories
- Terminal with TUI support required
- No native GUI alternative, entirely terminal-based
- TUI has limited screen reader accessibility
- SSH compatibility requires --no-mouse flag
- AI costs billed separately, not included in tool
- Relatively new tool with only 4 releases so far
Frequently asked questions about Parley
What is Parley?
Parley is a terminal-first review tool for local Git diffs with structured, line-anchored discussion threads and optional AI-assisted replies/refactors. It is designed for iterative review loops where code changes are generated or assisted by AI, but review state and thread resolution remain explicit and human-controlled.
How do I install Parley?
Install Parley using Cargo with the command: cargo install parley-cli. You need the Rust toolchain and a Git repository as your working directory. You can also build from source using cargo build --release and run from source with cargo run -- tui.
What AI providers does Parley support?
Parley supports three AI providers: codex, claude, and opencode. Each provider can be used in refactor mode (targets open and pending threads) and reply mode (targets open and pending by default). Provider startup/config errors and stderr are surfaced in the per-file AI logs popup.
What are the thread status states in Parley?
Parley has three explicit thread statuses: open (new comment or reply by original thread author), pending (reply by different author including AI in normal flows, waiting for human review), and addressed (explicitly resolved by original thread author). Any open thread keeps review work active.
How do I navigate the TUI?
Use h/l for previous/next file, j/k for line up/down, /query for search, and R to refresh diff and review data. Press ? for in-app help. Thread actions include m/c for creating threads, r for replies, a for marking addressed, o for marking open, and N/P for next/previous thread.
What is MCP integration in Parley?
Parley exposes an MCP-compatible JSON-RPC interface over stdio for review automation. Run it with parley mcp. Available MCP tools include list_reviews, get_review, list_open_comments, add_reply, mark_comment_addressed, mark_comment_open, set_review_state, and run_ai_session.
Can I review historical Git changes?
Yes, Parley supports reviewing historical diffs using --commit for specific commits, --base/--head for commit ranges, or --root to review the repository root as files. Examples include: parley tui --review my-review --commit HEAD~2 or parley tui --review my-review --base main --head feature/my-branch.
Where does Parley store review data?
Parley stores local review data under the .parley/ directory in your repository. This includes review name, threaded comments, and status history. By default, .parley/ is excluded from review diff file lists. To include it, set ignore_parley_dir = false in .parley/config.toml.
How do I create and start a review session?
Create a review session with parley review create my-review, then start it with parley review start my-review (which is a shortcut for set-state my-review under_review). Open the TUI on current working tree changes with parley tui --review my-review.
Does Parley work over SSH?
Yes, but you need to disable mouse capture for SSH/terminal compatibility by using the --no-mouse flag: parley tui --review my-review --no-mouse. This ensures the TUI works properly in SSH environments where mouse support may be limited.