Review RelayReview Relay turns VS Code comments into a live review channel between you and local coding agents. Add comments to code with VS Code's native comment UI. Agents can read them, reply in the same threads, add their own comments, and navigate your editor through a loopback-only API and bundled CLI. For agents running in containers or without local access, copy the review as Markdown instead. Getting started
Review Relay's Comments tree groups comments by file and thread. Click a row to open its location in the editor. Resolved threads are hidden from the tree. Hover over a thread or comment for Copy Comment ID and Delete Comment, or use its right-click menu. Deleting a thread removes all replies; deleting a reply preserves the rest of the thread. These actions work even when the file has been moved or deleted. Inline comments also remain available through VS Code's native Comments UI. Use Resolve in a thread's title bar when you are done with it (Reopen brings it back). Resolved threads fold away, use VS Code's native resolved state (so the Comments panel's resolved filter applies), and are skipped by agents and the Markdown export. Any new reply reopens a thread. Keyboard commandsThese commands act on the thread covering the active editor's cursor line, so they can be bound to keys. When several threads (or comments) qualify, a numbered quick pick chooses one.
VS Code anchors a thread on its last line and has no stable API to focus a reply editor, so Reply briefly moves the cursor to that line to focus it. If another thread ending on the same line could take the focus instead, the reply is typed in an input box. Connect a coding agentUse Copy Agent Instructions in the Review view and paste the result into your agent chat. The instructions contain the current workspace, connection details, complete interface, and ready-to-run commands. Review Relay includes a dependency-free CLI for macOS, Linux, and Windows. In remote workspaces, the extension and its loopback server run in the workspace host so native comments work in the remote editor. Copied agent instructions pass the workspace-local endpoint explicitly to the CLI. VS Code also provides a forwarded endpoint for tools running on the local UI host. Agents can:
If an agent cannot access the host loopback interface or filesystem, use Copy as Markdown in the Review view. The export includes the complete conversation, including AI replies. Local and safe by default
If saved workspace data is corrupted, Review Relay stops before rendering it and shows the validation error. Reset Project Data removes only Review Relay's opaque state for that workspace and reloads the window. CLI and APIThe copied Agent Instructions are the recommended reference because they include the live executable path and the endpoint appropriate for the CLI environment. The core CLI commands are:
The HTTP API exposes the corresponding Development
Press F5 in VS Code to launch an Extension Development Host. Each reply must specify the current document URI and start line. The entire thread moves to that location, including across file renames. End line defaults to the start line. |