Skip to content
Ragon
Star
Apps
On this page

Ragon in VS Code

New from 0.9.10

The Ragon extension for VS Code arrives in 0.9.10.

The Ragon extension brings the same agent you run at a terminal into an editor window: a panel with your threads, plans, diffs, approvals and composer. This page covers installing it, what it does, how it finds ragon, remote windows and privacy.

What it is

The extension id is dreamference.ragon and its display name is Ragon. It works in the VS Code family: VS Code (version 1.96 or later), its Insiders build, and the open-source builds that install extensions from Open VSX. Other editor families are not covered yet.

The Ragon panel opens in the side bar and as an editor tab. In it you start a new thread, move through the thread list, read the conversation and the plan, work through diffs and approvals, and write in the composer. Pickers choose the model and the reasoning level; the air-gapped level shows and switches there; stop and steer work the same way as at a terminal.

The editor supplies context at the head of your message: the active file, your selections, the open tabs and diagnostics (errors and warnings). A context chip in the composer shows what will be sent and lets you switch it off for a plain message. Add file to thread and Add selection attach specific files or ranges, and you can paste or drop images into the composer.

Diffs and approvals

Proposed file changes open in the editor's own diff view, with Accept and Decline beside the same actions in the panel. The ragon agent applies the change on disk after you accept it; the extension itself never writes files from a diff. If a target file has unsaved edits in the editor, Accept stays disabled until you save or revert that buffer.

Command approvals appear in the panel with the command and its working folder. From the panel you can also review uncommitted changes in the working tree and undo the file changes of a completed turn.

Install

From Open VSX

In an editor that uses Open VSX, open the Extensions view and search for Ragon (dreamference.ragon), or install it from a terminal once Ragon 0.9.10 is installed:

ragon ide install

Offline from the release .vsix

Download ragon-<version>.vsix from the GitHub release page and install it in the editor with Extensions: Install from VSIX..., or at a terminal:

code --install-extension ragon-<version>.vsix

The .vsix is one platform-neutral package for every operating system, shipped as an unsigned preview before version 1.0. It is not published on the VS Code Marketplace yet (planned for version 1.0); in stock VS Code, install the .vsix from the GitHub release or with ragon ide install.

Installed ragon (no bundled binary)

The extension bundles no binary of its own. It runs the ragon already installed on the machine, so install Ragon first. It looks for the executable in this order, using the first one that answers:

  1. The setting ragon.executable, when set.
  2. ragon on the extension host's PATH.
  3. The standard Ragon install locations (~/.local/bin/ragon; on a Mac also the app bundle's Contents/Resources/ragon; on Windows %LOCALAPPDATA%\Programs\Ragon\bin\ragon.exe).

If none is found, the panel says Ragon is not installed on this machine, shows the install command and offers a link to the release page. When found, the panel shows which executable it used. One ragon child process runs per editor window, started the first time you open the panel and stopped when the window closes.

On a computer paired with a node, that local ragon finds and reaches the node the usual way (Connect from another computer). Your files stay on the machine where the editor has them.

Remote windows

In a remote window (over SSH, in WSL, or inside a container), the extension runs on the remote machine next to the files (extensionKind: workspace). Install ragon on that remote machine; if it is not installed there, the panel shows the install command for that machine.

Sign-in and air-gapped mode

When your node requires an account, the panel shows the same Ragon sign-in gate as the desktop app (Accounts). There is no vendor sign-in. The extension stores no secret; the account token stays where ragon keeps it.

The panel shows the thread's /airgapped level and changes it like the desktop app. At on, plugin installs, marketplace changes and shell commands from the thread are refused by policy. The extension works with no internet connection whenever the node is reachable on the same machine or on your local network.

Privacy

There is no telemetry. The extension carries no HTTP or telemetry dependency, filters every message against the same policy as the desktop app and ragon web, and locks its webview with a Content Security Policy that has no connect-src.

The extension opens no network connection of its own. Everything goes through its ragon child process, which connects only to loopback and to your node (ragon-admin audit egress --ide). The only external link the panel offers is the GitHub release page when ragon is missing, opened in your browser.

The editor's own telemetry belongs to the editor; the extension does not change it. You can turn it off in the editor's settings under telemetry.telemetryLevel. See Privacy & security.

Upstream Codex extension not supported

The upstream Codex extension for VS Code is not supported with Ragon. It is closed source and bundles its own agent binary, so its network connections cannot be audited and it does not enforce Ragon's policy or account sign-in. Use the Ragon extension instead.