Switching between modes

Learn how to switch between modes in IBM® Bob Premium Package for Z.

Modes are specialized configurations of Bob that optimize its behavior, tools, and instructions for a specific type of task. Each mode has:

  • A role definition - how Bob thinks and responds.
  • A set of available tools - only the tools relevant to that mode are accessible.
  • A when to use description - so Bob (and you) know when to switch.

Modes in IBM Bob Premium Package for Z

IBM Bob Premium Package for Z offers the following modes to optimize mainframe development workflows:

Z Code mode
  • Supports code explanation, change planning, and implementation of changes across mainframe applications.
  • Used for day‑to‑day engineering tasks
  • Ideal for developers working directly with programs
Z Architect mode
  • Focused on architecture and design activities
  • Enables impact analysis, implementation planning, system analysis, and technical documentation
  • Ideal for architects and technical leads

How to switch modes

You can switch between modes using any of the following methods:

  • Use the Modes drop-down list at the bottom of the chat window.
  • Type / in the chat to see mode commands (/z-architect, /z-code).
  • Bob can also switch modes automatically using the switch_mode tool when the task context changes.