cd /news/ai-agents/getting-started-with-air-in-rustrove… · home › topics › ai-agents › article
[ARTICLE · art-178722] src=blog.jetbrains.com ↗ pub= topic=ai-agents verified=true sentiment=↑ positive

Getting Started With Air in RustRover

JetBrains bundled its Air coding-agent workspace into RustRover 2026.3, letting developers start, monitor and review agent sessions inside the IDE, according to a JetBrains how-to guide. Air connects agents including Junie, Codex, Claude Agent, OpenCode, GitHub Copilot, Gemini CLI and Pi ACP through the Agent Client Protocol, and supports sign-in via existing agent accounts, a JetBrains AI subscription, or API keys from Anthropic, OpenAI, Gemini or OpenRouter. The guide walks through connecting agents, running sessions in separate editor tabs, inspecting changes in the built-in diff viewer and using Git worktrees before merging a pull request.

key takeaway

RustRover 2026.3 ships the Air plugin enabled by default, so developers can connect agents such as Junie, Codex and Claude Agent via ACP and review each session's diffs in the IDE before committing.

by read12 min views4 publishedNov 30, 2026
Getting Started With Air in RustRover
Image: Blog (auto-discovered)
[How-To's](https://blog.jetbrains.com/rust/category/how-tos/)

[JetBrains Air](https://blog.jetbrains.com/rust/category/jetbrains-air/)

In our latest livestream, Orhun Parmaksız, RustRover Developer Advocate and creator of Ratatui, showed how he uses coding agents while working on the Ratatui repository. We’ve turned that workflow into a practical guide to using Air in RustRover, from starting an agent session to reviewing its changes and merging a pull request.

Watch the recording to see the workflow in action 👇

Air is bundled with RustRover 2026.3 and works with the agents and accounts you already use. Update your IDE if you haven’t.

What do you need to use Air in RustRover? #

Before your first session, make sure you have:

  • RustRover 2026.3. and later. The Air plugin is bundled and enabled by default in this release. To check that Air is enabled, pressCtrl+Alt+S , selectPlugins , and search for Air.
  • At least one coding agent. Junie, the JetBrains agent, ships with the IDE, and its free Junie Lite model is available for every JetBrains Account. If your company restricts the use of cloud-based AI tools, Junie Local lets you run a coding model on your own machine.
  • A Git repository. You’ll need one to use worktrees (see Step 6).

For a full feature reference, see Agents in RustRover in the RustRover documentation.

What is Air in RustRover? #

Air is JetBrains’ system for building software with coding agents. Air in RustRover provides a dedicated workspace for managing agent sessions and reviewing their work. You can start sessions from the main toolbar, open each session in its own editor tab, and inspect code changes using the IDE’s built-in diff viewer.

Air also includes services beyond the IDE: Air Teams provides shared projects, cloud environments, and automations for your team, while Air Governance helps organizations manage agent access, costs, and usage. This guide, however, is focused solely on using Air in RustRover.

Each session displays its current status and, when supported by the agent, its cost. Air can also notify you when an agent finishes a task. Because agents work directly with files in your project, you can inspect their changes and use RustRover’s editor, terminal, and Git tools to validate the results before committing anything.

Step 1: Connect your coding agents #

Before you can start a session, you need to connect at least one agent to Air. First, check which agents are available.

In the Agent Sessions tool window, click the arrow next to New Session. The menu lists the agents you can start a session with, including Junie, Codex, Claude Agent, OpenCode, GitHub Copilot, Gemini CLI, and Pi ACP. To configure agents or add new ones, select Manage Agents…

This opens the Agents tab, where Air lists the agents it has detected on your machine. Use the toggle to enable an agent, and click Accept if prompted to agree to its license terms. To add another agent, find it under Available and click Install. The agents in this list connect through the Agent Client Protocol (ACP).

Air uses the accounts and configuration you already have. If you’re signed in to Codex, for example, Air detects that login. You can also switch accounts later. If Air can’t find an existing login, your first message opens the Choose a sign-in method dialog. From there, you can sign in with the agent’s own account, using a JetBrains AI subscription, or connecting an AI provider with your own API key.

To add a provider’s API key:

  1. Go to Settings |AI |Air |Accounts and clickMore Providers
  2. In the API Keys list, choose a provider:Anthropic ,OpenAI ,Gemini , orOpenRouter .
  3. Enter your API key and click Apply .

Start with an agent you’re familiar with. You can add more later and use different agents in different sessions.

Step 2: Start with a small task #

Once you’ve connected an agent, give it a small task that you can review in a minute or two, such as fixing a lint warning. This helps you get familiar with the session workflow before trusting the agent with more complex tasks.

Click New Session in the agent widget to start a session, or press Ctrl twice(⌃⌃) to open the global prompt from anywhere in the IDE. Pick a model, reasoning effort, and access level. The access level determines what the agent can do without asking for your permission.

You can also provide context directly from the editor. Select a piece of code before opening the global prompt, and Air automatically adds the selection to your prompt as context. To start a session with a different agent, click the arrow next to the agent widget and select one from the list.

Keep your prompt short. If a link, error message, or lint warning already describes the problem, paste that description directly instead of describing the problem in your own words. To add more context, type @file: or @folder: to reference project files and folders, or click + to attach files, commits, or skills.

While the agent works, follow its replies in the session. When it references a file or a line of code, click the reference to jump to that spot in the editor.

Step 3: Review the agent’s changes in the diff #

When the agent finishes, its work is only a proposal until you’ve reviewed it. After each reply, the chat shows a Since last turn list of changed files. Click a file to open its diff, with Before Turn on the left and After Turn on the right, or click Review to step through all the changes.

Review Code, in the top-right corner of the session tab, shows the total number of changed lines. Click it to choose what to review: Local changes for everything that isn’t committed yet, or an earlier commit.

Review the changes as you would a colleague’s pull request. If something needs reworking, leave a note directly on the relevant code:

  1. Click the chat icon in the gutter next to a line you want to comment on.
  2. Add your note.
  3. Repeat for any other lines you want reworked.
  4. Click Go to Session to return to the chat.

Your notes appear as pending notes above the message box and under Code Notes in the Agent Sessions tool window. Send them with your next message.

You can also dictate a note with your microphone instead of typing it.

A note on a specific line tells the agent exactly which code you want to change, so you don’t have to describe its location in a prompt. If you’re unsure why the agent made a particular change, ask in a note. The agent explains its reasoning, and you decide whether to keep the change.

Don’t keep changes that fall outside the scope of your task. For example, if the agent adds tests to an example file that you didn’t ask it to modify, you can revert those changes using the gutter icon in the diff or ask the agent to undo them.

Step 4: Use Plan mode for issues and commit messages #

Once the code looks right, you can use the agent for some of the work that comes next, too. For example, after a fix, ask it to create a branch and write a commit message in your project’s format, such as Conventional Commits.

For larger follow-up tasks, you can use Plan mode to draft a GitHub issue. Click the mode selector in the bar below the message box (it shows Manual by default), select Plan, and ask the agent to create an issue. Review the draft and refine it with short prompts. You can ask the agent to add links to related pull requests, fix the wording, or adjust the scope. When the issue is ready, ask the agent to post it.

Step 5: Save repeated instructions as a preset #

After a few sessions, you may notice that you keep giving the agent the same instructions, such as which branch to check out or what to include in its final report. A preset stores instructions together with the agent, model, and reasoning effort under a single name.

  1. In the Agents tab, clickManage Presets… in the top-right corner.
  2. Add a new preset and choose the agent, model, and reasoning effort.
  3. Write the instructions Air should inject into every session that uses the preset.
  4. Give the preset a descriptive name.

When you start a new session, select your preset, and Air automatically applies the saved instructions. Your prompt can then be as simple as a single pull request link.

Whenever you find yourself repeating the same instruction in multiple prompts, you can simply add or update a preset.

Step 6: Work on several pull requests in parallel #

With a preset handling the setup, starting a session requires little more than providing a link. This makes it easier to work on several pull requests at once.

Air can create a new branch and Git worktree for a session in one click. A worktree gives each pull request its own branch and working copy, ensuring that changes from one session won’t affect any other sessions.

To run sessions in parallel:

  1. Start a new session. Above the message box, click Local and selectNew Local Worktree .
  2. Select your preset by clicking the agent selector below the prompt box, then paste the pull request link.
  3. Repeat for each pull request you want to work on.

RustRover opens each worktree in a new window, so you can treat each window as a workspace for one task. The Agent Sessions tool window marks each session as in progress, waiting for your input, or finished with results you haven’t opened yet.

To see how long a session has run and what it has cost so far, click the Filter icon and enable Time and Cost. When an agent asks for permission to perform an action, for example, running cargo test, simply respond in that session’s tab. You can also send follow-up prompts while an agent is busy. Air queues these prompts and sends them when the current turn finishes.

Assign different agents to different sessions depending on the type of task. For example, you can use Codex agent for focused fixes, then ask Junie to review the repository’s open pull requests and suggest which ones to tackle next.

Step 7: Verify the result in the IDE #

A diff shows you what changed. Running the code tells you whether it works.

Build the project, run the examples or tests that cover the change, and check the output yourself. RustRover’s inspections provide deterministic checks for agent-generated code, and Local History lets you compare or restore earlier versions, even when the agent has not yet committed any changes.

For terminal UI work, check the result in a terminal that supports the features you’re testing.

If the code works but needs polishing, give the agent a focused follow-up prompt with clear constraints. Instructions such as “don’t overcomplicate it” or “don’t change the behavior” help keep refactoring within the intended scope.

You can also combine agent-generated changes with your own edits. For small changes like adding spacing or moving a function, editing by hand in RustRover takes less time than writing a prompt. For a one-line value change, such as updating a cron schedule, you can use your IDE’s built-in code completion and accept its suggestion with the Tab key.

To learn more about debugging Rust applications, check out our blog post Debugging Rust in 2026.

Step 8: Finish and merge #

Once the changes work and look good, it’s time to prepare the pull request for merging.

Ask the agent for a final review of the full set of changes. Then ask it to commit the changes in small, logical steps, with one commit for each distinct change.

Before you merge each pull request, build the project and run the tests on the final version of the branch, including any changes made during the agent’s most recent session. Verify that all CI checks report successful results, just as you would for any other pull request. If your project requires signed commits, sign them yourself in the terminal.

While you’re reviewing another pull request, ask the agent to take care of follow-up tasks for this request, such as regenerating assets after code changes.

If a pull request requires more work than you can handle right now, stop its session and return to it later. For pull requests that are ready to merge, you can keep their sessions open until they’re merged, making it easier to ask follow-up questions about the changes.

Conclusion #

With Air in RustRover, the agent writes the code and you decide what gets merged. You connect the agents you already use, review their changes line by line, and verify the result with the same editor, terminal, and Git tools you use for your own code.

Presets and worktrees make it easier to scale this workflow from a single fix to several pull requests running in parallel.

Air continues to evolve, and we rely on your feedback to decide what to build next. Tell us what works for you and what’s missing in the comments or on YouTrack.

FAQ #

Does Air in RustRover use my existing agent subscription?

Yes. Air detects the accounts and configurations already available on your machine, so you can start with the agent you already use. You can also use JetBrains AI subscription or bring your own API key, and switch accounts later.

Which agents and models work with Air?

Air supports Junie, Codex, Claude, GitHub Copilot, OpenCode, Qwen, and Grok, as well as other agents that support ACP. You can also connect your own models, including local ones, through Pi ACP.

Is Junie free in RustRover?

Yes. Junie Lite is a free model tier available for every JetBrains Account. It is not a trial and does not require a credit card. If you need higher usage limits or access to more powerful models, you can use a JetBrains AI subscription or bring your own API key.

How do I get Air in RustRover?

Update to RustRover 2026.3 or later. Air is bundled with the IDE starting from this release. You may still need to install individual agents or sign in to their accounts from the Agents tab.

Do I need worktrees to use Air?

No. You can run sessions on your current branch. Worktrees are optional, but they are useful when you want to work on several pull requests in parallel.

Subscribe to Rust Blog updates

── more in #ai-agents 4 stories · sorted by recency
── more on @jetbrains 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/getting-started-with…] indexed:0 read:12min 2026-11-30 · —