Vajra - AI Coding Assistant
Vajra — AI Coding Assistant for IntelliJ IDEA Vajra is a free-to-use AI coding assistant for IntelliJ IDEA, PyCharm, WebStorm, and all JetBrains IDEs.
Install in
Vajra is a free-to-use AI coding assistant for IntelliJ IDEA, PyCharm, WebStorm, and all JetBrains IDEs. It brings Claude, GPT, Grok, Gemini, DeepSeek, Kimi, Qwen and 65+ built-in models — plus hundreds more through OpenRouter — directly into your editor — a powerful alternative to GitHub Copilot, Cursor, Tabnine, Codeium, Amazon Q, and JetBrains AI Assistant.
Why Vajra?
- Your API key, your choice — no subscriptions, no vendor lock-in; keys are kept in the IDE password safe, never in plain-text settings
- 11 providers in one plugin: OpenAI, Anthropic, Google Gemini, DeepSeek, Mistral, Groq, Grok (xAI), Kimi (Moonshot), Qwen, OpenRouter (hundreds of models, free tier included), Ollama
- Tab autocomplete: as-you-type ghost-text suggestions, Tab to accept
- Vajra Composer: Agent mode (multi-file edits with a batched diff), Plan mode (approve or edit a plan first; plan with a strong model, build with a cheaper one) and read-only Ask mode
- Inline Edit (Ctrl+K): free-form instruction at your cursor, no chat panel needed
- Terminal awareness: run build/test commands and let Vajra analyze failures
- Checkpoints: revert an entire agent edit in one click
- Hooks: .vajra/hooks.json runs your scripts before/after agent edits and commands — a failing pre-hook blocks the action; each hooks file requires your approval
- Skills & slash commands: reusable prompts in .vajra/skills (shared via git) or ~/.vajra/skills — type / in chat to run them as chat, Ask, Plan or Agent
- Plan files: Plan-mode plans are saved to .vajra/plans as Markdown — review them in git, edit, and run again with Build This Plan
- Self-checking agent: after each Composer edit, IDE inspections run on the changed files and new problems are fed back to the model for a fix
- Rules files: .vajrarules plus AGENTS.md, CLAUDE.md, .cursor/rules, .cursorrules and Copilot instructions, with a clear precedence order and a "rules loaded" indicator
- Multi-turn conversation history that persists across IDE restarts
- 100% local option: run Ollama models offline — no data leaves your machine
- Smart context injection: type @ to inject @currentfile, @selection, @codebase, @gitdiff, @file:name, @web:query, @docs:query, @terminal:cmd
- MCP support: connect Model Context Protocol servers and let Vajra call their tools
- IDE-aware context: @codebase and @codebase:query use IntelliJ's own code intelligence (definitions, Find Usages, implementations, Structure View, modules) with an offline embeddings fallback, under a token budget — and every reply shows exactly what context was sent
- Test agent loop: generate tests → run → parse failures → propose fixes → re-run, with diffs and checkpoints at every step
- VCS tooling: Conventional Commit messages in the commit dialog, PR descriptions from your branch, and diff-aware code review
- Vision → code: paste or drag screenshots into chat — "Implement this UI" / "Match this design" — with Claude, GPT, Gemini, Grok, Kimi, Mistral, Groq and Ollama vision models
- Searchable model picker: type to find any model across providers, with price per 1M tokens and FREE badges at a glance
- Smart model routing & cost control: fast models for autocomplete, strong models for agents, per-task overrides, one-click lock, token & cost under every reply, and session / per-project budget caps (warning at 80%, hard stop at 100%)
- Next-edit suggestions: after an accepted edit, fix renamed references, call sites and related tests one click at a time
- Smart code actions: Explain, Refactor, Debug, Optimize, Generate Tests, Add Comments, Fix Problems
- Always up to date: supports the latest models as soon as they release
Supported AI Models (v1.2.0):
- OpenAI: gpt-5.6-sol, gpt-5.6-terra (default), gpt-5.6-luna, gpt-5.5, gpt-5.5-pro, gpt-5.4, gpt-5.4-mini, o3-pro, o4-mini, o3, gpt-4o
- Anthropic Claude: claude-opus-5, claude-fable-5, claude-opus-4-8, claude-sonnet-5 (default), claude-haiku-4-5
- Google Gemini: gemini-3.7-flash (default), gemini-3.6-flash, gemini-3.5-flash, gemini-3.1-pro-preview, gemini-2.5-pro, gemini-2.5-flash
- Grok (xAI): grok-4.6 (default), grok-4.5, grok-4.3, grok-4.20, grok-4.20-reasoning, grok-4.1, grok-4.1-fast, grok-3-mini
- Kimi (Moonshot AI): kimi-k3, kimi-k2.7-code, kimi-k2.6 (default), kimi-k2.5, moonshot-v1-32k, moonshot-v1-8k
- DeepSeek: deepseek-v4-pro (default), deepseek-v4-flash, deepseek-chat, deepseek-reasoner
- Mistral AI: mistral-large-latest, mistral-medium-latest, mistral-small-latest (default), codestral-latest, codestral-2508
- Groq (fast inference): llama-3.3-70b-versatile (default), llama-3.1-8b-instant, llama-4-scout, gpt-oss-120b, gpt-oss-20b, qwen3-32b
- Qwen / Alibaba: qwen3.8-max, qwen3.7-max, qwen3.7-plus (default), qwen3.6-plus, qwen3.5, qwen3-235b, qwen2.5-coder-32b
- OpenRouter: hundreds of models from one key, loaded live — including free models (FREE badge, free-only filter); openrouter/auto by default
- Ollama (local / offline): qwen3-coder:30b (default), devstral:24b, qwen3:8b, deepseek-r1:8b, llama3.3:70b, qwen2.5-coder:7b, gemma3, llava:13b, deepseek-coder-v2:16b — and any model you pull
Code Actions (right-click any code):
- Edit with Vajra (Inline, Ctrl+K) — free-form instruction, inline diff
- Explain with Vajra — understand any code instantly
- Refactor with Vajra — clean up and improve code quality
- Debug with Vajra — find bugs and get fixes
- Optimize with Vajra — improve performance
- Generate Tests with Vajra — auto-generate unit tests
- Add Comments with Vajra — generate documentation
- Fix Problems with Vajra — fix the IDE's reported errors/warnings
Quick Start:
- Install Vajra from the JetBrains Marketplace
- Go to Settings > Tools > Vajra
- Paste your API key (OpenAI, Anthropic, Gemini, or any supported provider)
- Open View > Tool Windows > Vajra Chat
- Or right-click any code and pick a Vajra action
Works with IntelliJ IDEA, PyCharm, WebStorm, GoLand, Rider, CLion, DataGrip, and all JetBrains IDEs.
Written by Joobi from the project's own listing. See the source page
1.2.0 - Plan First, Any Model
- NEW: OpenRouter provider — one key for hundreds of models; live model list with FREE badges and a free-only filter; rate-limit backoff with optional fallback
- NEW: Composer modes — Agent, Plan (review and edit a plan before anything is built; plan with a strong model, build with a cheaper one) and read-only Ask
- NEW: Plan files — plans are saved to .vajra/plans as Markdown; edit them and run again with Build This Plan
- NEW: Skills & slash commands — reusable prompts in .vajra/skills shared with your team; type / in chat; run as chat, Ask, Plan or Agent
- NEW: Self-checking agent — after a Composer edit, IDE inspections run on the changed files and new errors/warnings go back to the model for a fix
- NEW: Rules from every tool — AGENTS.md, CLAUDE.md, .cursor/rules, .cursorrules and Copilot instructions alongside .vajrarules, with a clear precedence order and a loaded-rules indicator
- NEW: Searchable model picker with prices per model, and an Auto / Locked routing switch that explains which model each task uses
- NEW: Budget controls — session and per-project cost caps; warning at 80%, paid requests stop at 100%
- NEW: Hooks — .vajra/hooks.json runs your scripts before/after agent edits and commands; a failing pre-hook blocks the action; every hooks file needs your approval
- IMPROVED: Chat text renders Markdown, follows your IDE theme and font size, with an Aa button for text size
- SECURITY: API keys are stored only in the IDE password safe; keys from older versions migrate automatically
1.1.0 - Accuracy & Daily-Use Release
- NEW: PSI-aware @codebase / @codebase:query context (definitions, Find Usages, implementations, Structure View, modules) with offline embeddings fallback, token budget, and a visible "Context used" breakdown
- NEW: Generate Tests agent loop: generate → run → parse failures → fix → re-run (JUnit, TestNG, Kotest, pytest, Jest, Vitest, go test), diffs + checkpoints every round
- NEW: Conventional Commit messages in the Commit window, PR descriptions, and diff-aware Review Changes
- NEW: Vision: paste / drag / attach images with thumbnails, UI presets, vision on all capable providers incl. Ollama, graceful fallback
- NEW: Smart model routing, per-task overrides, model lock, per-provider last model, token + cost under every reply
- NEW: Next-edit suggestions: renamed references, call sites and related tests after an accepted edit
- NEW: Vajra → Send Feedback… — tell us what works and what doesn't (ashishjsharda@gmail.com)
- NEW: Alt+Shift+V chords — T tests, C commit, P PR, R review, N related edits, L lock model
1.0.1 - August 2026 Model Refresh
- NEW: Anthropic claude-opus-5 — Anthropic's new flagship model
- NEW: Gemini gemini-3.7-flash (now the default) and gemini-3.6-flash
- NEW: Grok grok-4.6 (now the default) — cheaper and stronger than the prior flagship
- NEW: Qwen qwen3.8-max — Alibaba's largest Qwen model to date
- NEW: Kimi kimi-k3 — Moonshot's new flagship, native vision, 1M-token context
1.0.0 - The Cursor-Parity Release 🚀
- NEW: Tab autocomplete — debounced, as-you-type ghost-text completions, Tab to accept
- NEW: Vajra Composer — multi-file agent mode: describe a task, review a batched diff across every file, apply or reject
- NEW: Inline Edit (Ctrl+K) — free-form instruction at your cursor or selection, no need to open the chat panel
- NEW: Terminal awareness — "Run Command and Ask Vajra" runs your build/test command and analyzes failures; @terminal: mention injects command output
- NEW: Optional embedding-based semantic search for @codebase, blended with TF-IDF; incremental re-indexing on file save instead of full rebuilds only
- NEW: Rules files — .vajrarules / ~/.vajra/rules.md are automatically included in every chat, Composer plan, inline edit, and diagnostics fix
- NEW: Checkpoints — "Revert Last Vajra Change" undoes an entire Composer/inline-edit/diagnostics-fix batch in one click
- NEW: Auto-context — current file is included automatically when nothing else is mentioned (toggle in Settings)
- NEW: @web: and @docs: mentions for best-effort, no-API-key web lookups
- NEW: Paste an image (Ctrl+V) into chat to attach it — supported by OpenAI, Anthropic, and Gemini
- NEW: "Fix Problems with Vajra" — reads the IDE's own error/warning highlights and proposes a full-file fix
- NEW: Minimal MCP (Model Context Protocol) client — configure stdio MCP servers in Settings; Vajra can call their tools mid-conversation
- NEW: Persistent chat sessions — conversation history now survives IDE restarts (toggle in Settings)
- NEW: Automatic model fallback — if your key isn't authorized for a specific model, Vajra retries once against the provider's default instead of failing
- NEW: Model lineup refreshed across all 10 providers: OpenAI GPT-5.6 family + o3-pro, Claude Fable 5 & Sonnet 5, Gemini 3.1 Pro Preview, Grok 4.5, Qwen 3.7, and more
0.2.9 - Latest Models + Chat UI Fix
- FIXED: Chat panel crash (NullPointerException on startup)
- NEW: Claude: claude-opus-4-5, claude-sonnet-4-5, claude-haiku-4-5
- NEW: OpenAI: gpt-4.1, gpt-4.1-mini, gpt-4.1-nano, o4-mini, o3, o3-mini, o1
- NEW: Gemini: gemini-2.5-pro, gemini-2.5-flash, gemini-2.0-flash, gemini-1.5-pro/flash
- NEW: DeepSeek provider: deepseek-chat (V3), deepseek-reasoner (R1)
- NEW: Mistral provider: mistral-large-latest, codestral-latest, mistral-small-latest, mistral-nemo
- NEW: Groq provider: llama-3.3-70b-versatile, llama-3.1-8b-instant, gemma2-9b-it
- NEW: Qwen: qwen3-235b-a22b, qwen3-32b, qwen3-14b, qwen3-8b
- NEW: Ollama: qwen3, deepseek-r1, llama3.3, llama3.2, phi4
0.2.7 - New Sexy Chat UI
- NEW: Complete Chat UI overhaul - looks just like Cursor!
- NEW: Bubble-style messages with proper code formatting
- NEW: Easy model switching dropdown (Provider + Model)
- NEW: "Smart Context" toggles for better AI awareness
0.2.6
- Maintenance release and internal improvements
0.2.5 - Inline Experience & Bug Fixes 🎉
- NEW: Inline AI suggestions like Cursor and GitHub Copilot!
- NEW: Ghost text for code suggestions (press Tab to accept)
- NEW: Inline diff view with Accept/Reject buttons
- NEW: Smart explanation popups right next to your code
- FIXED: Threading issues with read/write actions
- FIXED: Timeout errors (increased to 60s for cloud, 120s for Ollama)
- FIXED: Markdown formatting in AI responses
- IMPROVED: No more popup dialogs breaking your flow!
- All AI responses now appear inline - stay in context while coding
- Added proper plugin icon
0.2.4
- Fixed compatibility range (now supports up to 253.*)
- Internal improvements
0.2.3
- Internal improvements and bug fixes
0.2.1
- Updated to use gpt-4o as default model
- Improved error handling with detailed error messages from API
- Updated Anthropic Claude model names to proper API format
0.2.0
- Initial release of Vajra for IntelliJ IDEA
- Support for 10+ AI providers
- Interactive chat interface
- Code actions and local model support
Follow this listing's changes (Atom feed)