JetBrains AI Assistant

An intelligent coding assistance built into your development workflow — code smarter, ship faster, and enjoy more.

New to JetBrains IDEs?

AI assistance in the editor

Streamline your development process with AI-powered features integrated directly into your editor. Write code faster, more accurately, and with less effort.

Smart code completion

Autocomplete single lines and entire blocks of code, ensuring adherence to your coding style and naming conventions. Powered by Mellum, the JetBrains LLM optimized for coding, AI Assistant offers faster, more accurate suggestions across a range of programming languages.

Code generation

Generate functional code snippets by typing your request in natural language right in the editor or invoking the Generate Code action. AI Assistant will recognize your request and generate relevant suggestions.

Rename refactorings

Simplify the renaming process with context-aware name suggestions for your declarations to ensure consistency and clarity throughout your codebase.

Cross-language development

Convert your code into a different programming language with a single click.

Inline documentation generation

Let AI write the documentation for a declaration right in the editor. AI Assistant will automatically detect the correct unit to analyze and document it.

Unit test creation

Automatically create well-structured unit tests by leveraging insights from your code and its documentation. This ensures comprehensive test coverage across various input scenarios and edge cases.

AI quick-fixes

JetBrains IDE inspections detect pre-compilation errors and offer quick-fix suggestions directly in the editor. With AI Assistant, these fixes become smarter, leveraging context awareness to deliver more precise and tailored solutions specific to your code.

Context-aware AI chat

Chat with your codebase, ask programming questions, search for files and usages, and get insights and documentation, including relevant web sources, to deepen your understanding.

Select from top-tier LLMs in the chat

Take control of your chat experience by selecting your preferred AI model. Choose from cloud providers like Google Gemini, OpenAI, and Anthropic.

Connect local AI models

Leverage tools such as Ollama or LM Studio to integrate your locally hosted models into the AI chat. This allows you to work entirely offline, without relying on cloud processing.

Beta

Multi-file changes in chat’s edit mode

Use edit mode to make changes across multiple files at once. The AI suggests necessary changes and uses retrieval-augmented generation (RAG) to locate the most relevant files to apply them to.

Manage chat context

Take full control of your AI’s context within the chat interface. Add or remove files, symbols, and commits to tailor responses to your specific needs. Use @mentions to quickly reference components of your codebase.

Apply snippets from chat

The Smart Apply button automatically finds the optimal place to insert newly generated code – no manual copy-pasting is needed.

Documentation-based answers

Get instant answers about IDE features and settings directly in AI chat with the /docs command. Simply ask AI Assistant about a feature, and it will provide interactive step-by-step guidance.

Web search from the chat

Surf the web directly from the chat using the /web command. Whether you need technical documentation, troubleshooting tips, or other resources, AI Assistant will search the web and provide accurate answers.

Connect external data sources

Beta

Make AI Assistant more aware of your project by connecting external sources like databases, file systems, or APIs by using the Model Context Protocol (MCP). Use AI Chat to interact with your connected tools and get precise, context-rich responses.

AI-enhanced IDE workflows

Generate commit messages

AI Assistant can automatically summarize changes made to your code. By analyzing diffs and code context, it generates concise commit messages as well as clear titles and descriptions for pull and merge requests, making it easier to understand and track modifications in your project.

Merge VCS conflicts with AI

The Conflicts dialog for Git conflict resolution features AI capabilities to assist with merging changes, greatly speeding up the resolution process for conflicting changesets

Explain runtime errors

Analyze and suggest fixes for runtime errors, which can be inserted directly into your files.

Security and customization

Stay in control of your AI experience every step of the way. Choose when to accept suggestions, adjust built-in prompts, or create your own. Use AI in offline mode, or disable it entirely – the choice is yours.

Choose local or cloud AI

AI Assistant gives you the flexibility to work in offline mode or leverage cloud-based AI processing, depending on your preferences and security requirements.

Exclude files from AI context

You can prevent AI Assistant from accessing specific files or folders by configuring an .aiignore file. This ensures restricted files are not processed when AI gathers project context.

Zero data retention

Data processed through the JetBrains AI platform – whether by JetBrains-hosted models or third-party providers – is not persisted on our servers or by any of our subcontractors.

Proven compliance and security

JetBrains AI Assistant adheres to industry-leading security standards, including SOC 2 certification, ensuring your organization's data is protected and our products are compliant with global regulations.

Prompt library

Access a collection of pre-written prompts as quick actions directly within your editor. Refine how the AI handles tasks like generating tests, creating documentation, or improving chat responses. You can also create your own custom prompts.

Proven compliance and security

JetBrains AI Assistant adheres to industry-leading security standards, including SOC 2 certification, ensuring your organization's data is protected and our products are compliant with global regulations.

JetBrains IDEs go AI

Less routine, more coding joy.
All refined JetBrains AI tools – right in your IDE, for free.

Coding Agent
Coding Agent
Unlimited Code Completion
Unlimited Code Completion
Offline Mode
Offline Mode
Latest AI Models
Latest AI Models
Codebase Context
Codebase Context
Multi-File Edits
Multi-File Edits
VCS Assistance
VCS Assistance