Rig Code · beta

The code editor with all of Rig built in.

Rig Code is a code editor like Cursor, with an AI agent you choose: The Duke, Claude, Grok, GPT or Gemini. Every agent can see the running app through Rig, so it starts the server, reads the error, fixes it and checks again before it hands back.

Add-on to any paid Rig plan · from +$20 a month · Mac, Windows and Linux first, browser and mobile later · not on sale yet

Rig Code editor with the Rig servers list, a route file open, and The Duke's panel showing it read get_status, db_status and env_diff before editing.
The Duke checks the server, database and env through Rig before it edits a line.
What Rig Code is

An editor you know, with Rig inside.

Rig Code is built on Code-OSS, the open-source core of VS Code. Your keybindings, themes and extensions carry over. What is new is that the editor and its agent are connected to everything Rig runs on your computer, on Mac, Windows and Linux.

Editor

Familiar from the first minute.

The VS Code editor, keybindings and themes, with extensions from Open VSX. Remote over SSH, WSL and Dev Containers are built in, and your Rig mesh machines and Rig Launch servers show up in the remote list.

Agent

Agent, Ask, Edit and Tab.

Agent plans and edits across files and shows each change as a diff to accept. Ask answers questions about the code and the running app without changing anything. Edit rewrites a selection. Tab completes the next lines as you type.

Rig

The runtime, not just the files.

Servers, ports, logs, crashes, env, Postgres and Redis, Live Links and git, all visible to the agent through Rig's own tools. Other editors' agents only see files and a terminal.

Rig's MCP tools
Choose your agent

The Duke by default. Any model you like.

The model picker sits at the top of the agent panel. Whichever model you pick gets the same tools, the same Rig context and the same approvals.

Pick per project

The Duke is Rig's own coding agent. He reads the running app before he edits and checks it after, and he is built to finish a task for less of your included AI than a general model.

Claude, Grok, GPT and Gemini are one click away. The default for each project is saved in Rig, so it follows the project to your other computers. Bring your own API key for any provider if you prefer.

The model picker open in the agent panel: The Duke as the project default, then Duke Fast, Claude Opus, Claude Sonnet, Grok, GPT and Gemini.
The agent sees your running app

It runs the code, then reads what happened.

Every agent in the editor can use Rig: server status, logs, crash reports, env, the database, and screenshots and console errors from the page itself. So a change is not done when the file is saved. It is done when the app works.

The server crashed on restart. The Rig log pane shows a SyntaxError for a missing export, and The Duke's panel says it read the crash and is fixing the import.
It crashes. The Duke reads the crash from Rig's logs and finds the bad import.
The fixed route file, the server running again, and The Duke's panel listing the fix, the approved restart, a 200 from the health check and a clean review of its own diff.
Fixed and checked. It restarts the server, calls the route, reviews its own diff and hands back.
Servers

Status and ports

Which servers run, on which ports, and whether they are healthy.

Logs

Logs and crashes

The agent reads the crash, not a copy you pasted into chat.

Data

Env and database

Missing env keys, and Postgres and Redis status, before it touches code.

Page

Screenshots

After a UI change it opens the page, takes a screenshot and reads the console.

It checks the page too

Rig's local browser gives every agent a screenshot of the page and its console errors. After a UI change The Duke looks at the result, fixes what is broken and shows you the screenshots in the thread.

Here the route worked, but the status page read the wrong field. The screenshot caught it.

The Duke's panel with a screenshot of the status page showing Health: undefined, one console error, and its note that the page read the wrong field and is now fixed.
Approvals stay in Rig

You decide what runs.

Edits arrive as diffs to accept. Terminal commands follow one policy per project, which you can change. Anything that touches the running app waits for Approve in Rig, the same as it does for every agent today.

Runs straight away

Read-only and tests

ls, git status, your test, lint and build scripts. Heavy runs wait in Rig's queue, so five agents cannot start five test suites at once.

Asks first

Everything else

Installs, scripts not on the list and network calls ask in the editor before they run. Restarts, deploys and database restores wait for Approve in Rig.

Never

The dangerous ones

rm -rf outside the project, git push --force, sudo, writes outside the workspace, and anything that touches a Live lane.

Checkpoints

Undo the code and the database.

Restore to here

Rig takes a checkpoint of your working tree when an agent starts and before each change. When the agent is about to run a migration or a seed, Rig snapshots the database too.

"Restore to here" rolls back the code and the database together, approved in Rig. No half-migrated database left behind.

Rig's Restore to here dialog over the editor: three checkpoints, two of them code plus database, with Restore and Cancel.
Beyond the editor

Work that keeps going when you step away.

Background agents on your other computers

Hand a task to a background agent and keep working. It runs in its own git worktree on this computer, or on another computer in your Rig mesh using that machine's runtime, and hands back a branch.

One, three or ten at a time, depending on your plan.

The agent panel after the project was teleported to a Mac Studio, with a background agent running there for 14 minutes.

Pull request review

Before a push, The Duke reviews the branch and runs Rig's safety check. He looks for invented packages, broken contracts, removed checks and weakened tests, then comments on the GitHub pull request.

The Duke's review of a branch: safe to push, one weakened login test found and restored, no invented packages, and a pull request opened with his notes.

Deploy to Rig Launch

"Deploy to Rig Launch" in the command palette plans the deploy, shows you what will change and runs it once you approve. From code to a live server without leaving the editor.

About Rig Launch

The Duke deploying rig-web to Rig Launch: the plan, the approved run, the live URL and a 200 from the health check on the server.

Approve from your iPhone

When The Duke finishes or needs an approval, the Rig iPhone app gets the notification and the approval card. Approve the restart from the sofa, or continue the chat on your phone.

About the iPhone app

An iPhone approval card asking to restart rig-web on the Mac Studio, with Approve and Deny buttons.
Code stays on your computer

Your code is not uploaded to index it.

Rig's cloud features reach your projects through the Rig app on your computer. They never sync your code.

Index

Built on your computer

The codebase index and its embeddings are built and stored locally. Nothing is uploaded to Rig to search your code.

Agent

The loop runs locally

The agent, its tools and its approvals run on your computer. Only model calls leave it, through the Rig AI gateway to the model you picked.

Gateway

Counts usage, not code

The gateway keeps usage counts for your plan, never prompts or code. Providers are used under zero-data-retention terms where they offer them.

Rig security
For Rig Team and Agency

One admin view for the whole team.

Limits, models and rules

On Rig Team and Agency, admins see each developer's AI use against a per-seat limit, choose which models the team may use, and share rules and MCP servers across every project.

SSO and the agent audit log cover the whole team. Each seat adds the Code plan you pick.

The Rig Code admin view for a four-seat team: AI used per developer against a $60 seat limit, top model per person, and settings for allowed models, team rules, MCP servers, SSO, the agent audit log and usage past the included AI.
Pricing · coming soon

Rig Code is an add-on to a paid Rig plan.

Pick a Code plan on top of any paid Rig plan: Pro, Team or Agency. Prices in USD. Not on sale yet: join the beta to try it first.

Most people

Code Pro

+$20/mo

$35 a month in total with Rig Pro · per seat on Team and Agency

  • Monthly AI allowance included
  • Unlimited Tab completions
  • The Duke, Claude, Grok, GPT and Gemini
  • 1 background agent at a time
Coming soon
Daily agent use

Code Pro+

+$60/mo

$75 a month in total with Rig Pro · per seat on Team and Agency

  • A bigger monthly AI allowance
  • Unlimited Tab completions
  • The Duke, Claude, Grok, GPT and Gemini
  • 3 background agents at a time
Coming soon
All day, every day

Code Ultra

+$200/mo

$215 a month in total with Rig Pro · per seat on Team and Agency

  • The biggest monthly AI allowance
  • Unlimited Tab completions
  • The Duke, Claude, Grok, GPT and Gemini
  • 10 background agents at a time
Coming soon
How it works
Included AIEach plan includes a monthly AI allowance for agent and chat use. Bigger plans include more.
Past your allowanceOff by default. Turn it on with a monthly spend limit, billed at model cost plus 10%.
Tab completionsUnlimited on every plan.
Your own keysAdd an Anthropic, xAI, OpenAI or Google key and those calls go straight to the provider.
Annual billing2 months free.
Trial14 days of Code Pro free, with no card, on any Rig plan including Hobby.

Rig plans and pricing

FAQ

Questions about Rig Code.

Can I buy Rig Code today?

Not yet. Rig Code is in beta. Join the beta on this page and we will tell you when you can try it. The prices on this page are the planned prices.

Which models can I use?

The Duke is the default. Claude, Grok, GPT and Gemini are in the same model picker. Every model gets the same tools, the same Rig context and the same approvals. You can also add your own Anthropic, xAI, OpenAI or Google key.

Do I need a Rig plan?

Yes. Rig Code is an add-on to any paid Rig plan: Pro, Team or Agency. The free 14-day trial of Code Pro works on any Rig plan, including Hobby, and needs no card.

Does Rig Code run in the browser or on a phone?

Not at first. Rig Code starts as a desktop app for Mac, Windows and Linux. A browser version and mobile apps come later. In the browser your code, the agent and the runtime stay on your own computer and are reached through the Rig app. From the start you can approve the agent's actions from the Rig iPhone app.

What happens when the AI allowance runs out?

Agent and chat pause until your next month starts, unless you turn on extra usage or add your own API keys. Extra usage is off by default. When it is on, it is billed at model cost plus 10%, up to a monthly spend limit you set. Tab completions are unlimited on every plan.

Is my code uploaded?

The codebase index is built and stored on your computer. Only model calls leave it: the prompt goes through the Rig AI gateway to the model you picked and comes straight back. The gateway keeps usage counts, not prompts or code.

Try Rig Code first.

Join the beta and we will email you when your place opens. Rig itself is free for local development today.