···9999By default (i.e. if no reporter is specified), Vitest will display summary of running tests and their status at the bottom. Once a suite passes, its status will be reported on top of the summary.
100100101101::: tip
102102-When Vitest detects it is running inside an AI coding agent, the [`agent`](#agent-reporter) reporter is used instead to reduce output and minimize token usage. You can override this by explicitly configuring the [`reporters`](/config/reporters) option.
102102+When Vitest detects it is running inside an AI coding agent, the [`minimal`](#minimal-reporter) reporter is used instead to reduce output and minimize token usage. You can override this by explicitly configuring the [`reporters`](/config/reporters) option.
103103:::
104104105105You can disable the summary by configuring the reporter:
···655655})
656656```
657657658658-### Agent Reporter
658658+### Minimal Reporter
659659660660-Outputs a minimal report optimized for AI coding assistants and LLM-based workflows. Only failed tests and their error messages are displayed. Console logs from passing tests and the summary section are suppressed to reduce token usage.
660660+- **Alias:** `agent`
661661662662-This reporter is automatically enabled when no `reporters` option is configured and Vitest detects it is running inside an AI coding agent. If you configure custom reporters, you can explicitly add `agent`:
662662+Outputs a minimal report containing only failed tests and their error messages. Console logs from passing tests and the summary section are also suppressed.
663663+664664+::: tip Agent Reporter
665665+This reporter is well optimized for AI coding assistants and LLM-based workflows to reduce token usage. It is automatically enabled when no `reporters` option is configured and Vitest detects it is running inside an AI coding agent. If you configure custom reporters, you can explicitly add `minimal` or `agent`:
663666664667:::code-group
665668```bash [CLI]
666666-npx vitest --reporter=agent
669669+npx vitest --reporter=minimal
667670```
668671669672```ts [vitest.config.ts]
670673export default defineConfig({
671674 test: {
672672- reporters: ['agent']
675675+ reporters: ['minimal']
673676 },
674677})
675678```