prtea
Terminal PR dashboard with AI-powered review
- Language
- Go
- Version
- 0.6.0
- License
- MIT
- Category
- Dev Tool
A three-panel TUI built with Bubbletea for reviewing GitHub PRs without leaving the terminal. Browse PRs, read diffs, and chat with an AI sidekick powered by the Codex CLI about the changes — with hunk selection to focus the conversation, a review basket that batches inline comments into one submission, CI status, and a live feed of what the agent is actually doing.
Preview
Features
Three-panel layout — PR list, diff viewer and AI chat side by side, each toggleable and zoomable
AI sidekick — press a for a "what is this PR, what's risky, where do I look" overview, then keep asking
Live activity feed — watch the commands and reasoning the agent runs, message by message, rather than waiting on a spinner
Safe by design — the agent runs in a read-only sandbox with no network, and any GitHub action it proposes executes only after you confirm it in the TUI
Hunk selection — pick specific diff hunks to focus the conversation on what actually matters
Review basket — draft inline comments on diff lines, see them queued in the Review tab, and submit them with your verdict as one review
CI status tab with check results grouped by status
Per-reviewer approval breakdown with visual badges
Comments with full markdown rendering, and review threads that show their resolved state
Custom per-repo review instructions, so the AI context matches the codebase
Search in diff with /, navigate matches with n and N
Command palette — Ctrl+P for quick commands, : for full mode with autocomplete
Real session resume — a conversation picks up where you left off, resuming the codex session rather than replaying history
Vim-style navigation — j/k, Ctrl+d/u, g/G, and modal editing in chat
Demo mode — 6 fictional PRs with realistic diffs, comments, CI and a scripted AI engine; no gh or codex needed, writes disabled
Install
Homebrew
$ brew install shhac/tap/prtea GitHub Release (macOS)
$ curl -L https://github.com/shhac/prtea/releases/latest/download/prtea-darwin-arm64.tar.gz | tar xz Build from Source (needs Go 1.25+)
$ git clone https://github.com/shhac/prtea.git && cd prtea && make build Getting Started
prtea drives two external CLIs: gh for everything GitHub, and the Codex CLI for the AI sidekick. gh is required; codex is optional — without it prtea is still a full diff viewer and review tool.
01 · Install and authenticate the GitHub CLI
$ brew install gh && gh auth login Required. prtea uses gh to fetch PRs, diffs, comments and CI, and to submit reviews.
02 · Install the Codex CLI (optional)
$ brew install codex Enables the AI overview and chat; sign in with your ChatGPT account. Without it, everything except the AI panel still works.
03 · Try it with no prerequisites at all
$ prtea --demo Six fictional PRs with a scripted AI engine — no gh, no codex, and write operations disabled.
04 · Launch it for real
$ prtea Run from any directory. The PR list loads your review requests and authored PRs. Press ? for the full keybinding reference.
Usage
$ prtea $ prtea --demo $ prtea --version