Junie
NewJetBrains' coding agent that plans, edits, runs tests and returns a diff, working in Air inside JetBrains IDEs, in a terminal CLI and in GitHub or GitLab CI, with a free Junie Lite model and bring-your-own-key support.
Junie
Explore features, practical uses and pricing below.
Junie is the coding agent JetBrains builds. Given a task, it reads the code, writes a plan, makes the change, runs the tests and hands you a diff. It runs in three places: inside Air in a JetBrains IDE, as a command-line tool in any terminal, and as an automation step in GitHub Actions or GitLab CI/CD. Guidelines, skills and plans kept in a .junie/ folder apply in all of them.
Air, the CLI and CI: three ways to run Junie
Air is JetBrains' environment for working with agents, and Junie is selected there by default. In the IDE you press Ctrl twice, describe the change and review the diff. JetBrains says Junie calls the IDE's own tools and uses its inspections to catch errors as it works, the main reason to prefer it inside IntelliJ IDEA or PyCharm. You can run several sessions at once, each in its own worktree, and leave a comment on a line for Junie to pick up.
The Junie CLI runs on Linux, macOS and Windows, with @ file references, image input, slash commands and follow-up prompts while a task is running. The GitHub Action runs on your own runners and can review pull requests with inline comments, turn issues into pull requests, and fix CI failures or merge conflicts when someone mentions @junie-agent.
The old Junie plugin is retiring: JetBrains says it is already off in 2026.3 and stops working in 2026.2 on December 3, 2026, with accounts and .junie/ files moving to Air.
Approvals, brave mode and the sandbox
By default the CLI asks before running most terminal commands, editing files outside the project or calling MCP tools. Choosing "Always allow" adds a command to an allowlist in ~/.junie/allowlist.json. Brave mode has three levels. Off asks for everything not on the allowlist, Auto lets a safety check approve commands it judges safe, and On skips approvals entirely. A sandbox mode, still in the Early Access Program, wraps agent commands in an OS-level sandbox on macOS and Linux. On a machine with production credentials, keep brave mode Off.
Models, keys and running locally
Junie Lite is a free model on every JetBrains account and runs on JetBrains servers. For other models you can bring your own key from OpenAI, Anthropic, Google, xAI, OpenRouter or GitHub Copilot, connect endpoints such as Ollama or LM Studio, or spend AI credits from a JetBrains AI Pro or AI Ultimate plan. Plan Mode and Eco mode let a pricier model plan while a cheaper one builds. Junie Local runs a quantized coding model on your own hardware, but the requirements are steep: an M4 or newer Mac with 48 GB of RAM, or a Windows 11 PC with an NVIDIA RTX GPU and 24 GB of VRAM.
Example: handing off a flaky test
- Add .junie/AGENTS.md with your test and lint commands.
- In Air, ask Junie why OrderServiceTest fails intermittently and to propose a fix without touching production code.
- Review the plan, then let it run in its own worktree while you keep working.
- Read the diff and run the suite yourself, then merge or comment on a line and send it back.
Cost, eligibility and who it fits
Junie Lite is free with a JetBrains account and no card, an offer JetBrains says runs until December 31, 2026. Paid usage comes through BYOK or the credit plans in the JetBrains AI store. Junie suits developers who live in JetBrains IDEs. VS Code users have more direct options such as GitHub Copilot or Claude Code, and Air itself can also run other agents, including Claude Agent, Codex and Copilot.
What JetBrains users ask about Junie
Do I need Air?
No. The CLI works in any terminal, and the same agent runs in GitHub Actions and GitLab CI/CD.
Does my code leave my machine?
Usually, as JetBrains puts it. Code goes to whichever provider runs the model. Junie Local is the route when nothing can leave the machine.
Will it read instructions I wrote for other agents?
Yes. It reads AGENTS.md, and the first time it opens a project it offers to import guideline files from other agents into .junie/AGENTS.md.