NB! It seems this console command is not compatible with CS2.
Command Profile

AI_DISABLE

CS:GO

Causes NPCs (bots) to bypass their logic programming and instead just perform their idle animations.

Syntax
ai_disable

Description

Causes NPCs (bots) to bypass their logic programming and instead just perform their idle animations.

How To Use ai_disable

  1. Enable the developer console in Counter-Strike settings.
  2. Open the console with the tilde key (~).
  3. Enter ai_disable, replacing bracketed arguments with the value you want, then press Enter.

This legacy command is not currently listed as compatible with Counter-Strike 2.

Syntax And Arguments

ai_disable