﻿# JetBrains AI selectors: choosing a model and choosing an agent

In JetBrains AI Chat, model selection chooses the inference component while Chat or Agent selection chooses the workflow; evaluate the full configuration and observed artifact.

Author: Retrivium editorial team
Updated: 2026-11-03
Canonical URL: https://retrivium.ai/journal/learn-jetbrains-model-agent-selector/
Language: en

Selecting an AI model and selecting an interaction mode answer different questions. JetBrains AI Chat exposes both choices: what processes the request and how the surrounding development workflow operates. Understanding the distinction helps explain why a capable model can return a suggestion in one mode while an agent coordinates a broader repository task.

## A model supplies the inference capability

The model selector chooses the model used to process the request within the supported configuration. The chat-mode documentation describes service-provided, configured third-party and local model options. Imagine asking for an explanation of a parser branch: model selection affects the inference component, but the task still needs the relevant code context. Choosing a model with suitable capabilities does not independently establish which files were included or whether any proposed command was actually executed in the project.

## Interaction mode organizes the work around inference

The AI Chat documentation distinguishes Chat from Agents. Chat mode produces responses and suggestions that the developer can review and apply; agents support more complex development activity. For the parser example, an explanation can be useful without automatic file modification. A requested implementation spans a different workflow, including edits and relevant checks. The model’s name alone cannot tell the developer whether a visible snippet is an applied patch or merely a suggestion waiting to be processed.

## Context and rules remain another configuration layer

An agent or chat request still depends on the project material and applicable guidance. The documentation explains adding context, while the Junie CLI guide illustrates a separately documented instruction-discovery surface. These should not be merged into a single universal setting called AI intelligence. In a hypothetical migration, an excellent model given an outdated interface can propose an incompatible change. Diagnose mode, context and rules alongside model selection rather than treating every unsuitable result as proof that the inference model is incapable.

## Describe a tested combination instead of one label

A useful evaluation record names the interaction mode, chosen model and relevant task context, then records the observed result. For the parser explanation, inspect whether the answer correctly follows the supplied code. For an agent change, inspect the actual diff and its verification. This is an engineering evaluation approach rather than a claim of a fixed recommendation for every developer. Recommendations can evolve, while the configuration and evidence of a particular completed task remain the basis for understanding its outcome.

## Primary sources

- [JetBrains AI chat mode](https://www.jetbrains.com/help/ai-assistant/chat-mode.html).

- [JetBrains AI Chat](https://www.jetbrains.com/help/ai-assistant/ai-chat.html).

- [Junie CLI guidelines and memory](https://junie.jetbrains.com/docs/guidelines-and-memory.html).

Related engineering context: [Choosing an AI development stack](/journal/local-ai-app-stack-selection/); [Git state and undo](/journal/aider-git-dirty-tree-undo/).
